Skip to content

Commit 9f54078

Browse files
CopilotmarcpopMSFT
andcommitted
Enable NuGet Audit for security vulnerability scanning
Co-authored-by: marcpopMSFT <12663534+marcpopMSFT@users.noreply.github.com>
1 parent 72a0d21 commit 9f54078

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Directory.Build.props

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,11 @@
3939

4040
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
4141
<CentralPackageTransitivePinningEnabled>true</CentralPackageTransitivePinningEnabled>
42+
43+
<!-- Enable NuGet Audit to check for security vulnerabilities -->
44+
<NuGetAudit>true</NuGetAudit>
45+
<NuGetAuditLevel>low</NuGetAuditLevel>
46+
<NuGetAuditMode>all</NuGetAuditMode>
4247
</PropertyGroup>
4348

4449
<PropertyGroup Condition="'$(IsTestProject)' == 'true'">

0 commit comments

Comments
 (0)