Quantcast
Channel: Active questions tagged nuget-package - Stack Overflow
Viewing all articles
Browse latest Browse all 3067

How can I fail a .NET build if a project references a NuGet package with known vulnerabilities

$
0
0

I can find most vulnerable packages using dotnet list package --vulnerable but to put that in a build step and fail the build would require some text parsing. Is there some easier way, such as a webservice that returns the same information in JSON where it would be easier to determine whether the returned data indicates a vulnerability?


Viewing all articles
Browse latest Browse all 3067

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>