Nexus repository manager for NuGet
How to connect Snyk to a Nexus Repository Manager for NuGet
Nexus repository manager for NuGet
If you use a brokered Nexus connection, you must use the Universal Broker.
This configuration applies only to Snyk Web UI integrations. The Snyk CLI supports private NuGet repositories automatically.
Snyk can use Nexus Repository Manager with NuGet packages. Snyk uses this integration to scan. When Snyk runs dotnet restore, NuGet uses the feed to resolve your private packages and their transitive dependencies. Fix pull requests update package versions in your project files and do not use the integration.
Configure the URL where your private Nexus Repository Manager hosts NuGet packages. Use the same URL as the matching package source in your nuget.config file.
Configure .NET language settings
If you use a brokered connection and have not configured the Universal Broker, configure it first and then enable it for Open Source.
To configure a brokered NuGet registry:
In the Snyk web UI, navigate to Settings > Languages > .NET > Brokered package registries.
Select Nexus for the Registry type.
Enter the Registry URL for the NuGet feed. The URL must be complete and refer to the
index.jsonfile for the feed. Specifically, it must end with/index.json. For example:https://nexus.example.com/repository/nuget-hosted/index.json
Last updated
Was this helpful?

