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

Stabilize DB search output #2130

Open
wagoodman opened this issue Sep 17, 2024 · 1 comment
Open

Stabilize DB search output #2130

wagoodman opened this issue Sep 17, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@wagoodman
Copy link
Contributor

With DB v6 there will be substantial changes made to the DB structure. We'd like to have a way for users to have a common interface with stable output (not directly tied to the DB schema/shapes) across grype versions.

The search command should be expanded to:

  • Query a single CVE to get the NVD record (always one)
  • Query a single vulnerability ID to get the vulnerability record(s)

Are there more use cases we should capture?

This output should be available in:

  • table output
  • json output

All json output should have a JSON schema describing valid/expected shapes/values.

@wagoodman wagoodman added the enhancement New feature or request label Sep 17, 2024
@wagoodman wagoodman added this to the DB v6 milestone Sep 17, 2024
@wagoodman wagoodman moved this to Ready in OSS Sep 17, 2024
@TimBrown1611
Copy link

please notice to this kind of issue in grype db search - #2085
(can be solved in the same task)

@kzantow kzantow self-assigned this Nov 6, 2024
@kzantow kzantow moved this from Ready to In Progress in OSS Nov 6, 2024
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
Status: In Progress
Development

No branches or pull requests

4 participants