Skip to content

feat(grype): generate types for grype output from json-schema #20

@axel7083

Description

@axel7083

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

  1. https://raw.githubusercontent.com/anchore/grype/a3efbaa0e946bfbefa567d255f7ffb0bf0445f96/schema/grype/document/json/schema-latest.json

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions