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

feat: expand Ubuntu ecosystem to include more variants #2984

Merged
merged 2 commits into from
Dec 13, 2024

Conversation

hogo6002
Copy link
Contributor

@hogo6002 hogo6002 commented Dec 12, 2024

Related issue #2963

OSV-Scanner mismatches Ubuntu vulnerabilities due to variations in ecosystem naming (e.g., :LTS, :Pro).
Adds a function to expand the Ubuntu ecosystem list with all possible variants, ensuring accurate vulnerability matching.

TODO:

@hogo6002 hogo6002 requested a review from another-rex December 12, 2024 05:22
Copy link
Contributor

@another-rex another-rex left a comment

Choose a reason for hiding this comment

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

LGTM, though you might also need to update the API. This only allows the initial query to match successfully, but the API have additional checks within python to see if an affected field matches, and I'm not sure if that only checks version, or also checks ecosystem as well.

@hogo6002
Copy link
Contributor Author

LGTM, though you might also need to update the API. This only allows the initial query to match successfully, but the API have additional checks within python to see if an affected field matches, and I'm not sure if that only checks version, or also checks ecosystem as well.

Good catch, I will fix the API part in a followup PR after I re-put test instance Ubuntu records

@hogo6002 hogo6002 merged commit ef25c66 into google:master Dec 13, 2024
12 checks passed
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