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

Add KEV transformer + processor #507

Merged
merged 5 commits into from
Feb 21, 2025
Merged

Add KEV transformer + processor #507

merged 5 commits into from
Feb 21, 2025

Conversation

wagoodman
Copy link
Contributor

@wagoodman wagoodman commented Feb 19, 2025

Allows for processing and writing KEV entries to a v6 DB.

Partially addresses anchore/grype#1511

Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>
@wagoodman wagoodman self-assigned this Feb 19, 2025
@wagoodman wagoodman requested a review from a team February 19, 2025 22:48
Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>
Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>
Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>
case grypeDB.AffectedPackageHandle:
entry.Related = append(entry.Related, m)
case grypeDB.AffectedCPEHandle:
entry.Related = append(entry.Related, m)
case grypeDB.KnownExploitedVulnerabilityHandle:
entry.Related = append(entry.Related, m)
case grypeDB.Provider:
Copy link
Contributor

Choose a reason for hiding this comment

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

I think adding Provider isn't part of this PR, but was just missed before? Or am I missing something?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

it is part of this PR -- related to #507 (comment)

Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>
@wagoodman wagoodman marked this pull request as ready for review February 21, 2025 20:48
@wagoodman wagoodman enabled auto-merge (squash) February 21, 2025 20:48
@wagoodman wagoodman merged commit d264e6d into main Feb 21, 2025
9 of 10 checks passed
@wagoodman wagoodman deleted the add-kev branch February 21, 2025 21:12
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