You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my opinion, this should be doable by using dotnet list package --vulnerable --source DIR where DIR is the path of an empty directory; --source should then override packageSources but not auditSources. However, according to the dotnet list package documentation, that doesn't work: --source requires either --outdated or --deprecated, and neither of those can be combined with --vulnerable.
Thanks for creating this issue! We believe this issue is related to NuGet tooling, which is maintained by the NuGet team. Thus, we closed this one and encourage you to raise this issue in the NuGet repository instead. Don’t forget to check out NuGet’s contributing guide before submitting an issue!
If you believe this issue was closed out of error, please comment to let us know.
I have
<auditSources>
defined in my NuGet.Config file as:When I run:
dotnet list package --vulnerable
, it fails because it still tries to contact my private package source defined inpackageSources
.Is there a way so that it only audits from the
auditSources
when runningdotnet list package --vulnerable
?The text was updated successfully, but these errors were encountered: