Skip to content

Provide the default template under the templates path #2171

@samueloph

Description

@samueloph

What would you like to be added:
I would love if the default template for the json output format was provided under the templates path: https://github.com/anchore/grype/tree/main/templates

Even better if all the other formats were provided there as examples too.

Why is this needed:
It makes it much easier to craft my own template as I can start from the json one and just remove the fields I don't want.

Additional context:

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Backlog

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions