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

Lookup Vulnerabilities by CPE #667

Merged
merged 3 commits into from
Apr 26, 2022
Merged

Conversation

TG1999
Copy link
Contributor

@TG1999 TG1999 commented Apr 6, 2022

Signed-off-by: Tushar Goel tushar.goel.dav@gmail.com

@TG1999 TG1999 marked this pull request as draft April 6, 2022 18:30
Copy link
Member

@pombredanne pombredanne left a comment

Choose a reason for hiding this comment

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

Can you add a Reference: https... URL to the issue this about?
Also is this really a helper? or would this be rather a method on advisories where a CPE get you vulnerabilities back first? and a second method could build on this and get CVEs from a vulnerabilities query set?

vulnerabilities/helpers.py Outdated Show resolved Hide resolved
@TG1999 TG1999 changed the title Extract CVEs from CPE Extract Vulnerabilities from CPE Apr 8, 2022
@pombredanne pombredanne changed the title Extract Vulnerabilities from CPE Lookup Vulnerabilities by CPE Apr 12, 2022
@TG1999 TG1999 force-pushed the cves_from_cpe branch 3 times, most recently from 19ff442 to 7528fc2 Compare April 22, 2022 12:01
@TG1999 TG1999 marked this pull request as ready for review April 22, 2022 12:02
Copy link
Member

@pombredanne pombredanne left a comment

Choose a reason for hiding this comment

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

LGTM!

TG1999 added 3 commits April 26, 2022 13:56
Signed-off-by: Tushar Goel <tushar.goel.dav@gmail.com>
Change models and add migrations for same, do some minor nit picks in nvd importer

Signed-off-by: Tushar Goel <tushar.goel.dav@gmail.com>
Signed-off-by: Tushar Goel <tushar.goel.dav@gmail.com>
@TG1999 TG1999 linked an issue Apr 26, 2022 that may be closed by this pull request
@TG1999 TG1999 merged commit 67dda33 into aboutcode-org:main Apr 26, 2022
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.

Extend the API to allow queries by CPE
2 participants