snyk / gradle-plugin

Snyk Gradle Plugin - Scanning and monitoring your dependencies for security vulnerabilities from Gradle
Other
20 stars 19 forks source link

Severity "critical" not supported #38

Closed pablocoberly closed 1 month ago

pablocoberly commented 6 months ago

The snyk azure devops task supports a severity threshold of "critical", however this Gradle task seems to only support high, medium, low, or empty.

If you set:

    severity = 'critical'

You get a Gradle build error:

> Severity should either high|medium|low or empty

Is it possible to add "critical" as a supported severity threshold or was critical not included for a specific reason?

bmvermeer commented 1 month ago

Version 0.7.0 has this now https://github.com/snyk/gradle-plugin/commit/dac5df0f028bacfa1bfeb6c910b24767ec438057