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

fix: insert affected status for versions up to the fixed ones #1225

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dejanb
Copy link
Contributor

@dejanb dejanb commented Jan 31, 2025

This PR fixes two things:

  1. Adds "affected" purl status in the database for every CSAF "fixed" status up to the reported version. This corresponds to the behavior we see in the corresponding OSV converted files. As this might be Red Hat specific behavior, we do this only if cpe shows it's a red hat advisory
  2. Properly sets version range schema based on the purl type (e.g. rpm)

@dejanb dejanb requested a review from mrizzi January 31, 2025 18:03
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.

1 participant