Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added support for severity #41

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Added support for severity #41

wants to merge 2 commits into from

Conversation

hmlugo
Copy link

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

Hector M Lugo-Cordero added 2 commits April 23, 2020 20:49
…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.

2 participants