Hi @fabrice-mejean,
Good point, it would not have PackageStatus. So let's jus say we add that in, like this:
Azure.Core-1.35.0 (Deprecated)
Compliance : Compliant
License : MIT
Vulnerabilities : None
Obviously the API would return it in a structure manner, and it could also show downloads etc.
However, all this data (including package status) means we need a feed in context. So the command would have to look like:
pgutil packages audit --project=c:\projects\MyProject.csproj --feed myFeed
I'm not sure how I feel about that. Packages can be in multiple feeds, and often times users build from multiple feeds.
Anyway.... I have a new idea... what do you think about this:
pgutil packages metadata --feed=myNugetFeed --package=myNugetPackage --version=1.2.3
That could return the normal metadata, but also server-side metadata (package status, downloads, etc).
I guess it would require multiple API calls, though I doubt that's going to cause any more performance overhead than a "bulk" kind of API call that just "looped" over packages and looked them up in the same manner.
Let me know your thoughts.
Thanks,
Steve