-
-
Notifications
You must be signed in to change notification settings - Fork 259
Fix OSV to handle affected_packages correctly & add support to collect commits #2080
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
base: main
Are you sure you want to change the base?
Conversation
91b89f3 to
ab084af
Compare
|
OSV Logs , importers:
|
Add support to collect commits Signed-off-by: ziad hany <ziadhany2016@gmail.com>
Use parse_advisory_data_v3 for GitHub OSV. Signed-off-by: ziad hany <ziadhany2016@gmail.com>
Update the function docs osv_v2 Signed-off-by: ziad hany <ziadhany2016@gmail.com>
Fix CVSSv4 vector length issue Signed-off-by: ziad hany <ziadhany2016@gmail.com>
Signed-off-by: ziad hany <ziadhany2016@gmail.com>
Signed-off-by: ziad hany <ziadhany2016@gmail.com>
…es to keep ranges consistent. Signed-off-by: ziad hany <ziadhany2016@gmail.com>
ebaee7d to
b6bf165
Compare
| { | ||
| "reference_id": "", | ||
| "reference_type": "", | ||
| "url": "http://git.fedorahosted.org/cgit/freeipa.git/commit/?id=a1991aeac19c3fec1fdd0d184c6760c90c9f9fc9" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we classify them as commit type ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The problem is that this is passed as part of the reference URLs, so it’s not easy to detect whether it’s a commit URL or just an article. We have already classified some of these as reference_type=commit because they were passed as a Git range.
I think one option is to improve our capabilities to parse different commit URLs in the packageurl-python library and rely on improvers like pipelines/v2_improvers/collect_commits.py to handle this case.
Issue: