Severity thresholds for CLI tests
How to set severity thresholds for Snyk CLI tests
To improve control over your tests, you can use the --severity-threshold option for the snyk test command with one of the supported levels: low|medium|high|critical. With this option, only vulnerabilities of the specified level or higher are reported.
$ snyk test --severity-threshold=medium
Note: The --severity-threshold option is available with the snyk test, snyk code, snyk container, snyk iac test, and snyk aibom test commands. See the CLI commands help pages for each command for details.
Last updated
Was this helpful?

