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

schemas version 2 wishlist #266

Open
3 tasks
westonsteimel opened this issue Aug 23, 2023 · 3 comments
Open
3 tasks

schemas version 2 wishlist #266

westonsteimel opened this issue Aug 23, 2023 · 3 comments
Labels
enhancement New feature or request

Comments

@westonsteimel
Copy link
Contributor

westonsteimel commented Aug 23, 2023

The original vunnel schemas were very heavily influenced by the existing results format from Anchore Enterprise since we were trying to rip that out with as little disruption as possible. Now we would like to begin evaluating what a future iteration of these schemas could look like.

  • The OS schema should not emit FixedIn entries but rather actual constraints. This way each provider can tailor the constraint creation logic to its needs, and grype-db does not have to figure out how to interpret multiple FixedIn entries.
  • Needs to allow capture of upstream lifecycle dates (published, modified, withdrawn, etc) where available
  • Needs to allow override of the severity at a per-package level (example 🪄 Schema version 6 wishlist grype-db#108 (comment))
@willmurphyscode
Copy link
Contributor

@westonsteimel how would overriding the severity at a per-package level here help if grype db schema v5 can only have one severity per (VulnID, Namespace) tuple? Or is the ask here just to make the severity-per-package available to grype-db, and then grype-db can fix its own schema later?

@westonsteimel
Copy link
Contributor Author

westonsteimel commented Dec 7, 2023

Or is the ask here just to make the severity-per-package available to grype-db, and then grype-db can fix its own schema later?

Yes

@westonsteimel
Copy link
Contributor Author

westonsteimel commented Dec 7, 2023

I think adding a column to the vulnerability table in the current grype-db schema could be done without a breaking change, so we should get vunnel supporting it first and then update grype-db when we're ready to consume it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants