Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

Add option to ignore vulnerabilities by the id #4

Open
rtfpessoa opened this issue Oct 6, 2018 · 2 comments
Open

Add option to ignore vulnerabilities by the id #4

rtfpessoa opened this issue Oct 6, 2018 · 2 comments
Labels
Hacktoberfest Entry level issues for https://hacktoberfest.digitalocean.com/ help wanted

Comments

@rtfpessoa
Copy link
Owner

Add --ignore option to allow passing a comma separated list of ids to be ignored in the analysis.

@rtfpessoa rtfpessoa added help wanted Hacktoberfest Entry level issues for https://hacktoberfest.digitalocean.com/ labels Oct 6, 2018
@rtfpessoa rtfpessoa mentioned this issue Oct 6, 2018
@harman28
Copy link

harman28 commented Oct 6, 2018

What kind of IDs would these be? Package names in some form?
Could you give an example of the desired usage?

@rtfpessoa
Copy link
Owner Author

rtfpessoa commented Oct 6, 2018

In the output if you request -f json you should receive an id field for each vulnerability. e.g.: nodesecurity:npm:brace-expansion:2017-04-25

sundus-y added a commit to sundus-y/dependency_spy that referenced this issue Oct 29, 2018
* Add --ignore option to pass in list of vulnerability ids to ignore.
* --ignore is a comma separated list.
* Refactored the check method argumment to options hash. This was done
  to avoid listing all options one by one in the method argument and
  also RuboCop was failing for 'Avoid parameter lists longer than 5
  parameters.'
* Added rspec test around the --ignore option.
sundus-y added a commit to sundus-y/dependency_spy that referenced this issue Oct 29, 2018
sundus-y added a commit to sundus-y/dependency_spy that referenced this issue Oct 29, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Hacktoberfest Entry level issues for https://hacktoberfest.digitalocean.com/ help wanted
Projects
None yet
Development

No branches or pull requests

2 participants