Max Kabakov/Getty Images

Grype bonus: HTML Reports

vijay chandamala
2 min readMay 26, 2023

--

In the last article we saw how to install and use grype for scanning docker images or project directories for vulnerabilities.

This is a bonus article with a free responsive email report template that you can use to mail your weekly vulnerability reports.

TLDR;

Generate a html report of the vulnerabilities identified in your docker image or the project.

grype ubuntu -o template -t report.tmpl --file grype.html

# we're scanning the ubuntu image and writing the report to grype.html
# find the report.tmpl go template below 👇

The art:

The artist:

that’s some long as$ template and that’s because it’s compiled for being email friendly.

I had to sift through the docs to find the template variables for the vulnerability info. If you need more info, I’ll be a good person and let you do the digging yourself.

And finally

.

.

.

.

.

Ok, Bye!

--

--