Snyk Integration Setup Instructions
Purpose of Integration
This integration allows you to:
-
Automatically collect evidence of Snyk code monitoring, open source dependencies and a sample of fixed vulnerabilities
API access to Snyk is restricted to Snyk Business and Enterprise plans. See Snyk Pricing for more information.
Document Outline
The Snyk Integration Setup Instructions document walks you through this integration. This document contains three parts:
Part 1: Create a Service Account or User API Token from Snyk
-
Choose one of the following methods to create an API Token from Snyk:
- Create a Service Account API Token from Snyk (Recommended)
- Create a User API Token from Snyk
Create a Service Account API Token from Snyk (Recommended)
-
Go to the Snyk login page (snyk.io).
-
Log in to the Snyk portal (if required).
-
Click the Organization Selector drop-down (in the top menu) and select the organization or group you will collect evidence from.
-
Select Settings (in the top right corner) and select Service accounts (in the left menu).
-
Enter a Name for your service account.
-
For Group Service Accounts, select the role Viewer. (Note: This is not applicable for organizations).
-
Click Create.
-
Copy the resulting API token for future use.
Create a User API Token from Snyk
-
Go to the Snyk login page (snyk.io).
-
Log in to the Snyk portal (if required).
-
Click the User Icon (in the top right corner) and select Account settings.
-
Under API Token, navigate to the KEY field and click to show the API Token.
-
Copy the API Token for future use.
-
Under Preferred Organization, ensure the selected Organization has sufficient licensing to enable API access.
-
Click Update Preferred Org.
Part 2: Installation Instructions
-
Open the Integrations Setup page in the platform.
-
Select Snyk.
-
Click the plus to add a new account.
-
Enter the Account Name.
-
Enter the Description (optional).
-
Click Save and Continue.
-
Enter the API Token (created in Part 1: Create a Service Account or User API Token from Snyk).
-
Click Save Credentials.
Part 3: Configuration Instructions
-
Click the plus to configure a service.
-
Select a service.
-
Click Configure Settings.
-
Select the Collection Interval for the service.
-
Use the drop-down menu to select the Projects in Snyk to collect evidence from.
-
Choose an Evidence Collection Location.
-
Click Save & Sync.
-
Choose one of the following options:
-
Click the plus to add another service.
-
Click Sync All Services to immediately sync the configured services.
-
Exit the integration.
-