Enable nuget audit. (#3615)

This commit is contained in:
Tingluo Huang
2024-12-09 13:49:18 -05:00
committed by GitHub
parent 27f6ca8177
commit fde5227fbf
2 changed files with 11 additions and 0 deletions

View File

@@ -57,4 +57,13 @@
<PropertyGroup>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
</PropertyGroup>
<PropertyGroup>
<!-- Enable NuGet package auditing -->
<NuGetAudit>true</NuGetAudit>
<!-- Audit direct and transitive packages -->
<NuGetAuditMode>all</NuGetAuditMode>
<!-- Report low, moderate, high and critical advisories -->
<NuGetAuditLevel>moderate</NuGetAuditLevel>
</PropertyGroup>
</Project>