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

Do not fail when inflating DB records #2049

Merged
merged 1 commit into from
Aug 12, 2024
Merged

Conversation

wagoodman
Copy link
Contributor

Fixes #2048

Today when we are fetching a entry from the DB we will raise up failures when attempting to craft vulnerability objects all the way back up through the matcher. This is not correct behavior since there may have been matched we could have raised up but did not. Instead we should be logging warnings when this occurs (since it affects the results of the report, even if it's not actionable) and still allow for other matches to be made.

Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>
@wagoodman wagoodman force-pushed the fix-db-model-inflate-err branch from cd02bee to 8342083 Compare August 12, 2024 16:00
@wagoodman
Copy link
Contributor Author

rebasing to account for DB pin issue

@wagoodman wagoodman enabled auto-merge (squash) August 12, 2024 16:01
@wagoodman wagoodman merged commit 89c4190 into main Aug 12, 2024
10 checks passed
@wagoodman wagoodman deleted the fix-db-model-inflate-err branch August 12, 2024 16:20
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.

Failed to parse constraint of CVE-2024-6345 which fails the scan
2 participants