Nugetauditsuppress ((better))
To use NuGetAuditSuppress , your development environment must meet these minimum requirements:
<PropertyGroup> <NuGetAuditSuppress>$(NuGetAuditSuppress);Package.Id:ADV-1234-5678</NuGetAuditSuppress> </PropertyGroup> nugetauditsuppress
Or list vulnerabilities regardless of suppression: To use NuGetAuditSuppress
| Property | Default | Effect | |----------|---------|--------| | NuGetAudit | true | Enable/disable the audit feature | | NuGetAuditLevel | low | Minimum severity to report (low, moderate, high, critical) | | NuGetAuditSuppress | false | Suppress all audit warnings | nugetauditsuppress
: For large solutions, define suppressions in a central Directory.Build.props file to maintain organization-wide control.