-
-
Notifications
You must be signed in to change notification settings - Fork 257
Migrate Importer to Advisory v2 & Collect Existing Fix Commits for Project KB #1987
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
keshav-space
left a comment
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.
Thanks @ziadhany, see some suggestions.
vulnerabilities/pipelines/v2_improvers/collect_commits_project_kb.py
Outdated
Show resolved
Hide resolved
vulnerabilities/pipelines/v2_improvers/collect_commits_project_kb.py
Outdated
Show resolved
Hide resolved
Signed-off-by: ziad hany <ziadhany2016@gmail.com>
Add a test for the ProjectKB importer and collect fix commits pipeline. Signed-off-by: ziad hany <ziadhany2016@gmail.com>
Fix CI falling test Resolve merge conflict and Update migration file Remove duplication and create append_patch_classifications function Update the project-kb test Signed-off-by: ziad hany <ziadhany2016@gmail.com>
|
ProjectKBPipeline logs: |
TG1999
left a comment
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.
LGTM!
keshav-space
left a comment
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.
Thanks @ziadhany, see comments below.
|
|
||
| note_texts = [] | ||
| for note_entry in yaml_data.get("notes", []): | ||
| text_content = note_entry.get("text") |
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.
Notes section may also contain list of links which should be collected and stored as references see example https://github.com/SAP/project-kb/blob/730d2192bfa9b909246e02bc051e4fad2958a6d9/statements/CVE-2018-16406/statement.yaml
Update Project-KB importer Signed-off-by: ziad hany <ziadhany2016@gmail.com>
Signed-off-by: ziad hany <ziadhany2016@gmail.com>
|
@keshav-space I updated the logs for this Project KB and fixed the logic for handling the affected packages. Please have a look when you have time. |
Issues: