Artifactory repository manager for Go
How to connect Snyk to an Artifactory repository manager for Go
Artifactory repository manager for Go
Snyk integrates with JFrog Artifactory so it can resolve your private Go modules and transitive dependencies during Open Source (SCA) scans.
You configure an Artifactory Go module proxy from a single page (Settings > Languages > Go) using one of two boxes, depending on how your Artifactory instance is reachable. The configuration steps are identical for both:
Private package registries for an Artifactory instance that is publicly reachable and protected by credentials. Snyk connects to it directly. Prerequisite: configure your Artifactory integration first.
Brokered package registries for an Artifactory instance that is not publicly reachable. Prerequisite: configure the Snyk Universal Broker first and then enable it for Open Source.
Configure an Artifactory Go registry
First, set up the Artifactory integration: go to Organization Settings > Add Integration > Artifactory > Edit Settings.
Then, on the Settings > Languages > Go page:
In the relevant box, Private package registries or Brokered package registries, select Artifactory as the registry type.
In the Registry URL field, enter the full URL of your Artifactory Go remote or virtual repository, using the Artifactory Go API path.
Save the integration.
Snyk authenticates to the registry using the credentials stored in your Artifactory integration and you should not enter credentials here.
Registry URL format
The URL must point at the Go API endpoint for the repository. For an Artifactory Go repository, the URL has the form:
Example:
This is the same base URL you set as GOPROXY when fetching modules locally, for example:
Last updated
Was this helpful?

