Skip to main content

Public API for "Ignore issues using Snyk CLI or the .snyk file" setting

Improved

The What: You can now control, through the Snyk API, where ignores are accepted from: the Snyk app and API only, or also the CLI and .snyk files. This settings mirrors (and reflects) the UI setting under Settings → General, now available programmatically. Snyk Code .snyk exclusions are unaffected.

The Why: CLI and .snyk ignores sit outside the app’s controls. Limiting ignores to the app and API puts them in one place to attribute for review and audit. With this enhancement, audit and enforcement across many orgs no longer means changing each one by hand.

The How: Admins can read and update the setting with the Org Settings API. When updating, include the org’s current Requesting Access value so it stays as is. No action is needed if you don’t use the API.

For additional information and usage - check Snyk documentation here