grype/templates/README.md
James Neate c47304b7a2
feat: add community template folder and new table template (#1343)
Signed-off-by: James Neate <jamesmneate@gmail.com>
2023-06-09 11:33:20 -04:00

583 B

Grype Templates

This folder contains a set of "helper" go templates you can use for your own reports.

Please feel free to extend and/or update the templates for your needs, be sure to contribute back into this folder any new templates!

Current templates:

.
├── README.md
└── table.tmpl

Table

This template mimics the "default" table output of Grype, there are some drawbacks using the template vs the native output such as:

  • unsorted
  • duplicate rows
  • no (wont-fix) logic

As you can see from the above list, it's not perfect but it's a start.