-
-
Notifications
You must be signed in to change notification settings - Fork 267
Migrate Alpine importer to advisory V2 #2111
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
Signed-off-by: ziad hany <ziadhany2016@gmail.com>
|
…aseImporterPipelineV2 Signed-off-by: ziad hany <ziadhany2016@gmail.com>
|
@TG1999 @pombredanne I have a question about Alpine migration. We are fetching one URL and processing the data without grouping by CVE. The problem is that each URL reports a package version along with its fixed CVEs. How can we obtain a unique identifier for this importer? Is it a good idea to restructure the data and create a large mapping, using the CVE as the unique identifier? Proposed structure: Example: Sources: |
Signed-off-by: ziad hany <ziadhany2016@gmail.com>
| ) | ||
|
|
||
| for cve in aliases: | ||
| advisory_id = f"{pkg_infos['name']}/{qualifiers['distroversion']}/{cve}" |
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.
ex:
apache2/v3.20/2.4.26-r0/CVE-2017-7668
Fix duplication on advisory_id Signed-off-by: ziad hany <ziadhany2016@gmail.com>
Issue: