Update Build Audit Endpoint for pgutil builds audit
Created:
11/19/2024 4:26:02 AM by Alana Tripp
Status:
Awaiting Release on
Last pulled:
12/20/2024 10:01:30 PM
Description:
Return a JSON object with information in the header of `BuildOverviewPage` and `ListBuildPackagesPage`.
Note this is subjected to SCA API limits.
Implement command in `pgutil`
The command specs are here:
https://github.com/inedo/inedo-docs/blob/pgutil-builds-scan/Content/proget/reference-api/proget-api-sca/builds/proget-api-sca-builds-analyze.md
Suggested display is:
```
$> pgutil builds audit --project=myProject --build=1.2.3
Requesting audit of packages in myProject 1.2.3...
Created : 11/19/2024 4:22:35 PM
Status : Active
Release : -
Build stage : Build
Last Analysis : Noncompliant (Resolved) on 11/19/2024 5:06:11 PM
Total Packages : 1478
-= Packages =-
Azure.Core-1.35.0
Compliance : Compliant
License : MIT
Vulnerabilities : None
Microsoft.Extensions.Configuration.EnvironmentVariables 8.0.0
Compliance : Noncompliant
License : MIT, Apache-2.0
Vulnerabilities : PG-123456 (High)
the vulnerability title of this vulnerability goes here
```