Skip to content

Snyk

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.

  • 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.

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.

  1. In Snyk, open Account settings > General and copy your Auth Token (KEY). See Authentication for API.

  2. Open your organization’s settings and copy the Organization ID.

  3. In Varman, open Integrations, find Snyk and click Set up.

  4. Paste API Token and Organization ID, then click Connect account.

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.

Open Integrations > Snyk, click Settings, then Disconnect. Then revoke or regenerate the token in Snyk. See Disconnecting.

  • 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 401 or HTTP 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.