Skip to content
New issue

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

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

Already on GitHub? # to your account

wip: add vulners plugin #47

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft

wip: add vulners plugin #47

wants to merge 1 commit into from

Conversation

antongolub
Copy link
Owner

Resolves #43

Changes

{
  plugin: [['npm-registry-firewall/vulners', [{
      relevance: 95,  // Optional. Lower bound on the search result (lucene score 0...100) for associating the found CVEs with the target package. Defautls to 90
      cond: 'or',     // Optional. Defaults to `and`
      policy: 'warn',
      'cvss.score': 60,
      'cvss3.cvssV3.availabilityImpact': 'MEDIUM'
    }, {
      policy: 'deny',
      'cvss.score': 95,
      'cvss3.cvssV3.availabilityImpact': 'CRITICAL'
    }],
  ]]
}
  • New code is covered by tests
  • All the changes are mentioned in docs (readme.md)

@antongolub antongolub marked this pull request as draft May 2, 2022 18:54
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add vulners.com plugin
1 participant