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

Simplify v6 distribution material #2277

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Simplify v6 distribution material #2277

wants to merge 4 commits into from

Conversation

wagoodman
Copy link
Contributor

@wagoodman wagoodman commented Nov 21, 2024

This PR makes adjustments to the v6 schema + supporting code from previous PRs, specifically:

  • adjusts DB import to function with both today's and v6 schema automatically
  • add application config support to create v6 distribution client and installation curator config objects
  • removes the metadata.json file; now there is only the DB file in the distributed tarball
  • removes checksum from db.Distribution struct
  • makes the latest.json file flat (no nested objects)
  • adjusts the vulnerability blob such that "assigner" is plural (matches the type)
  • adds CHML severity scheme (will be used by the github provider)

This PR also introduces the ability to import both v6 and v5 schemas at once (since import now functions in both contexts) which requires disabling the static analysis check for cross-import of schemas.

@wagoodman wagoodman marked this pull request as ready for review November 21, 2024 18:11
Signed-off-by: Alex Goodman <[email protected]>
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