Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Nexus repository manager for NuGet

How to connect Snyk to a Nexus Repository Manager for NuGet

Snyk is rolling out a new navigation. The steps on this page describe the classic interface. If your view looks different, visit Navigate the Snyk Web UI to map these options to the new interface.

Nexus repository manager for NuGet

Feature availability Package repository integrations are available only with Enterprise plans. For more information, see plans and pricing.

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:

  1. In the Snyk web UI, navigate to Settings > Languages > .NET > Brokered package registries.

  2. Select Nexus for the Registry type.

  3. Enter the Registry URL for the NuGet feed. The URL must be complete and refer to the index.json file 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?