Skip to content

Added support for severity#41

Open
hmlugo wants to merge 2 commits intoRetireJS:masterfrom
hmlugo:master
Open

Added support for severity#41
hmlugo wants to merge 2 commits intoRetireJS:masterfrom
hmlugo:master

Conversation

@hmlugo
Copy link
Copy Markdown

@hmlugo hmlugo commented Apr 24, 2020

Usage:

On Gruntfile add severity in retire configuration to indicate the minimum severity that will cause grunt task to fail. Note that all vulnerabilities are still displayed for reference.

Not passing the severity value will trigger default of 'all' which keeps the task behaving as it is now; i.e., any vulnerability found will cause grunt to fail regardless of the severity.

On the other hand, severity of 'none' will cause grunt task to always pass.

…pecified dont cause grunt task to fail. Not passing a severity in configuration keeps the former behavior of the task (i.e., any vulnerability triggers failure).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants