Skip to content

Update NuGet audit CVE handling#72

Open
boblangley wants to merge 1 commit into
mainfrom
nuget-audit-cve-output-gating
Open

Update NuGet audit CVE handling#72
boblangley wants to merge 1 commit into
mainfrom
nuget-audit-cve-output-gating

Conversation

@boblangley
Copy link
Copy Markdown
Member

Summary

  • Replicate the sandboxed NuGet audit workflow behavior from InternalAutomationSandbox
  • Capture dotnet restore output to a log, count NU1901-NU1904 warnings with awk, and expose the count as a cvecount step output
  • Gate result upload and artifact archival on the cvecount output instead of the restore step failure state
  • Update the NuGet audit documentation to describe the new CVE detection flow

Validation

  • Parsed .github/workflows/nuget-audit.yml with Ruby YAML
  • Ran git diff --check with CRLF-aware whitespace settings

@tamararivera
Copy link
Copy Markdown
Member

I take this https://github.com/Particular/InternalAutomationSandbox/actions/runs/26898126213 as proof that it is working as expected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants