Description
The syft repository provide a json schema for the syft json output, but we don't have one for the grype json output.
I created an upstream PR anchore/grype#3269 adding the logic to generate the json-schema. Hopefully this will get merged, otherwise we can either use the one generated1 in the PR, or define ourself the type using a zod schema.
Description
The syft repository provide a json schema for the syft json output, but we don't have one for the grype json output.
I created an upstream PR anchore/grype#3269 adding the logic to generate the json-schema. Hopefully this will get merged, otherwise we can either use the one generated1 in the PR, or define ourself the type using a zod schema.
Footnotes
https://raw.githubusercontent.com/anchore/grype/a3efbaa0e946bfbefa567d255f7ffb0bf0445f96/schema/grype/document/json/schema-latest.json ↩