Skip to content

Commit 7ea61f7

Browse files
Copilotzivkan
andauthored
docs: add data.nuget.org guidance to VS audit sources options
Agent-Logs-Url: https://github.com/NuGet/docs.microsoft.com-nuget/sessions/9a8aed72-cad5-45e7-8c7e-3d228c6a871d Co-authored-by: zivkan <[email protected]>
1 parent 1829394 commit 7ea61f7

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

docs/consume-packages/nuget-visual-studio-options.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,10 @@ Audit sources provide vulnerability data during restore without acting as packag
111111
If no audit sources are configured, NuGet Audit uses package sources.
112112
[Learn more about audit sources](/nuget/reference/nuget-config-file#auditsources)
113113

114+
> [!TIP]
115+
> If your organization blocks access to `api.nuget.org`, ask your network administrator to allow `https://data.nuget.org/v3/index.json`.
116+
> You can then add that endpoint as an audit source to keep NuGet Audit vulnerability checks enabled without allowing package downloads from `api.nuget.org`.
117+
114118
![Audit Sources section with checkbox "Use separate sources for vulnerability audit"](media/vsoptions/audit-sources-1.png)
115119

116120
Configure an audit source by selecting the checkbox, "Use separate sources for vulnerability audit".

0 commit comments

Comments
 (0)