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

Add ignored_vulnerabilities field on the Project configuration #1271 #1281

Merged
merged 2 commits into from
Jun 21, 2024

Conversation

tdruez
Copy link
Contributor

@tdruez tdruez commented Jun 21, 2024

This PR extends the scancode-config.yml file to selectively ignore vulnerabilities.
The new ignored_vulnerabilities field is a list of ignored vulnerabilities, one per line.
This can be a a VCID, CVE or any vulnerability alias supported by VulnerableCode.

For example:

    ignored_vulnerabilities:
     - VCID-q4q6-yfng-aaag
     - CVE-2024-27351
     - GHSA-vm8q-m57g-pff3

For now, the behavior is to ignore these entirely when doing a vulnerability scan.
In the future, this will be enhanced to provide extra details such as a reason why this is
ignored and serve as a proper input to a vulnerability disclosure or VEX report.

@tdruez tdruez requested a review from pombredanne June 21, 2024 06:28
Copy link
Member

@pombredanne pombredanne left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks great! thank you ++

Signed-off-by: tdruez <tdruez@nexb.com>
@tdruez tdruez merged commit 0db9401 into main Jun 21, 2024
9 checks passed
@tdruez tdruez deleted the 1271-ignored-vulnerabilities branch June 21, 2024 11:10
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