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

Test: assert namespaces populated before publishing a DB #178

Open
spiffcs opened this issue Sep 29, 2023 · 1 comment
Open

Test: assert namespaces populated before publishing a DB #178

spiffcs opened this issue Sep 29, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@spiffcs
Copy link
Contributor

spiffcs commented Sep 29, 2023

What would you like to be added:
An integration test or self validation should be added to grype-db that checks if the database being published includes all known namespaces (or has an extra one).

Why is this needed:
Previously grype-db have been published that were missing namespaces or had 0 entries in a namespace. This check will ensure that we publish complete DB with respect to known namespaces.

Additional context:
Tools team can provide more context via the Debian Post-Mortem document

@spiffcs spiffcs added the enhancement New feature or request label Sep 29, 2023
@spiffcs spiffcs changed the title Test: Test: assert namespaces populated before publishing a DB Sep 29, 2023
@wagoodman wagoodman self-assigned this Oct 23, 2023
@wagoodman wagoodman removed their assignment Oct 23, 2023
@wagoodman
Copy link
Contributor

I've got part of a solution in with #192 but am putting this back in the backlog until the namespaces can be sourced with a single source of truth (described in the PR description).

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: Ready
Development

No branches or pull requests

2 participants