Snyk Broker

FEATURE AVAILABILITY Snyk Broker is available with Enterprise plans. See pricing plans for more details.

Introduction to Snyk Broker

Snyk Broker is an open-source tool that acts as a proxy between Snyk and special integrations, allowing snyk.io access to your code for scanning and returning results to you. SCM integrations with Broker support Snyk Open Source, Snyk Code, Snyk Container (Dockerfile), and Snyk IaC. Supported integrations with Broker include the following:

You can also use Snyk Broker to enable a secure connection with your on-premise Jira installation or JFrog Artifactory installation.

How Snyk Broker works

Snyk Broker is designed to connect Snyk products to self-hosted integrations that are not publicly accessible from the internet. Snyk Broker also allows you to do the following:

  • Control Snyk's access to your network by limiting the files to which Snyk has access and the actions that Snyk can perform.

  • Manage a fixed private IP for your integration, targeting the Broker.

Snyk Broker includes a Server and a Client, basic components that are the same across all integrations. The Broker Server runs on the Snyk SaaS backend and is provided by Snyk; no installation is required. The Broker Client is a Docker image deployed in your infrastructure. For more information, see Components of Snyk Broker and Connections with Snyk Broker.

See Prepare Snyk Broker for deployment for information about prerequisites, choosing components, network configuration, and credentials.

How to download and install Snyk Broker

The Snyk Broker project is hosted on GitHub and published as a set of Docker images for specific integrations. Snyk provides a Helm Chart to deploy the Snyk Broker. To deploy Broker, you must install and configure an integration.

NOTE This documentation provides detailed instructions for using Helm and Docker. Snyk recommends using Helm as the simplest way to deploy Snyk Broker. You can also use Docker to run the Snyk Broker Client or run npm install snyk-broker.

Integrations with Snyk Broker

Install each type of integration and configure using environment variables as explained on these pages:

Snyk Broker currently integrates with the Git repository systems listed here, with links to the Docker instructions where you will find the environment variables defined:

In addition, Snyk Broker integrates with JFrog Artifactory, Nexus Repository Manager, and Jira Server/Jira Data Center. You will find installation and configuration instructions for Docker, with definitions of the environment variables, on these pages:

With the Container Registry Agent, Snyk Broker also connects to all Snyk-supported container registries.

You can also use derived Docker images for each integration and the Container Registry Agent.

For information about advanced configuration as needed for your installation, see Advanced configuration for Snyk Broker Docker installation and Advanced setup for Helm Chart installation.

Using Snyk Broker to scan your code

To use Snyk Open Source with Snyk Broker, you need only the Broker Server and Broker Client components. The Broker Client is published as a set of Docker images, each configured for a specific Git service. Configure each type of integration using environment variables as explained in the Snyk Broker-Client integration setups. The environment variable definitions are the same for an installation using Helm.

To scan other types of code with Snyk Broker, you must add a component or configurations and add parameters to the Broker Client setup:

  • Snyk Code – add the Code Agent component to enable Snyk Code analysis of repositories in SCMs that are integrated through Snyk Broker. You can also grant Broker access to perform a Git clone of your repository by adding an environment variable: ACCEPT_CODE=true.

  • Snyk Container – add the Container Registry Agent to enable the connection to network-restricted container registries and the analysis of container images. There are instructions for installing with Docker and installing with Helm.

  • Snyk Infrastructure as Code – configure the accept.json file with additional parameters to detect and analyze Terraform, CloudFormation, and Kubernetes configuration files through Snyk Broker.

Common questions about Snyk Broker

How often is Snyk Broker updated? Snyk Broker is updated each time new features become available and when there are fixes.

How often is Snyk Broker checked for vulnerabilities? The Snyk Broker application and images are tested daily for vulnerabilities.

What is the SLA to fix vulnerabilities? There is a 14-day SLA for fixing high vulnerabilities and a five-day SLA for fixing critical vulnerabilities in public images.

Additional information for users

If you need to upgrade, see Upgrade the Snyk Broker Client.

Troubleshooting information is provided on the Troubleshooting Broker page.

You can view the license, Apache License, Version 2.0.

To submit pull requests, see Contributing.

See Security for specific information about Broker.

Last updated

Was this helpful?

#4580: CLI: help, Ignore - support ticket 49463-add Iac examples

Change request updated