β About
Grype
recently released a very interesting version : v0.42.0
, which includes a very (very) interesting feature (and resource within the issue itself) :
Templates for Grype output. HTML template
Issue #724
:
Templates for grype output. HTML template #724
Hi! Does someone have templates for grype? I need to scan my images to human-readable format HTML.
I think will be great if we can have a directory with templates for grype project.
βοΈ This post is dedicated to this feature and to a contribution project I did create for our needs.
ποΈ Always stay aware of Grype
updates
Find below how I stay up-to-date with Grype
:
π‘ The "grype-contribs" idea
I wanted to summarize at a single place a community driven set of resources and practices around Grype
as it is now part of our culture at opt-nc
.
In this first version I wanted to
- π Perform nice looking charts in the terminal
- π Be able to export nice looking scan reports
π Let's see what we got it this very early versions.
πΏ Demo time
π grype-contribs
repo
opt-nc / grype-contribs
A set of resources around Anchore's grype tool
β About
The aim of this repo is to summarize some resources around Grype to take the best ouf this great tool.
π Discover grype-contribs
To learn more about this project, take a glance at :
π§° Prerequisites
For an optimal usage of these resources, you'll need :
git
-
brew
installed -
python3
andpip
Install tools
brew tap anchore/grype
brew install grype
We'll use termgraph
, "A command-line tool that draws basic graphs in the terminal," :
python3 -m pip install termgraph
Finally clone this repo :
gh repo clone opt-nc/grype-contribs
cd grype-contribs
π You are ready.
π Templating
Since v0.42.0
, and
its issue #724
it is possible to transform analysis report with templates.
This feature makes it possible to build nicely useable and highly customizable reports.
Top comments (1)