Snyk
What it does in Varman
Section titled “What it does in Varman”| Check | Passes when | Evidence task |
|---|---|---|
| Projects are monitored by Snyk | The organization has at least one project | Secure Code |
| No high or critical vulnerabilities open | The project has zero open High and zero open Critical issues | Secure Code |
The vulnerability check gives each project its own result. A project with critical issues fails with severity critical, one with only high issues with severity high.
What you need
Section titled “What you need”- A Snyk account with access to the organization you want checked.
- The organization ID (a UUID) from the Snyk organization settings.
- Access to the Snyk API. Check Snyk’s API authentication page for which plans and token types can call it.
Permissions requested
Section titled “Permissions requested”Varman sends the token as Authorization: token <token> to the Snyk v1 API and calls one read
endpoint, GET https://snyk.io/api/v1/org/<org_id>/projects. Checks run only against the
organization ID you enter.
Connect
Section titled “Connect”-
In Snyk, open Account settings > General and copy your Auth Token (KEY). See Authentication for API.
-
Open your organization’s settings and copy the Organization ID.
-
In Varman, open Integrations, find Snyk and click Set up.
-
Paste API Token and Organization ID, then click Connect account.
What gets synced and how often
Section titled “What gets synced and how often”Only check results and per-project critical and high counts. Checks run on the daily schedule described in the overview, or when you click Run now.
Disconnect
Section titled “Disconnect”Open Integrations > Snyk, click Settings, then Disconnect. Then revoke or regenerate the token in Snyk. See Disconnecting.
Troubleshooting
Section titled “Troubleshooting”- Log says
No Snyk organization id configured. The organization ID was empty. - Log says
No Snyk projects to evaluate. The organization has no projects. Import a repository into Snyk. HTTP 401orHTTP 403. The token is wrong, or its user has no access to the organization.HTTP 404. The organization ID is wrong. Use the UUID, not the organization name.