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

Re-enable vulnix scan for CDX vulns #135

Merged
merged 1 commit into from
Nov 7, 2024
Merged

Conversation

henrirosten
Copy link
Collaborator

PR #133 removed the vulnix scan from CDX sbom, because it introduced NaNs in bom-ref for findings in vulnerabilities section. This PR re-enables the vulnix scan for the CDX sbom, removing the NaN bom-refs by doing an 'inner' instead of 'left' join between the vulnerabilities and the sbom package names and versions.

@henrirosten henrirosten marked this pull request as ready for review November 6, 2024 11:55
@henrirosten henrirosten requested a review from a team November 6, 2024 11:55
@henrirosten
Copy link
Collaborator Author

@andrew-myer: any thoughts about this?

@andrew-myer
Copy link
Contributor

This looks good! The inner join would remove the NaNs from the left join but still include vulnix findings that match the packages in the sbom

@henrirosten henrirosten merged commit eec92a9 into main Nov 7, 2024
3 checks passed
@henrirosten henrirosten deleted the enable-vulnix-cdx-vulns branch November 18, 2024 06:35
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