Problem with report template "@contrib/html.tpl" #6851
-
QuestionWe are using Azure DevOps Pipelines, based on ubuntu-latest, to build a docker image which we want to scan. In the Pipeline trivy release 0.52.0 is getting installed by apt-get as documented here . Following the documentation we are trying to scan our docker image with Then scan fails with What do I miss? TargetContainer Image ScannerVulnerability Output FormatTemplate ModeStandalone Operating SystemNo response Version0.52.0 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
Hello @Joerg-L
Regards, Dmitriy |
Beta Was this translation helpful? Give feedback.
Hello @Joerg-L
Thanks for your interest to Trivy!
apt-get
installation doesn't includecontrib
folder.You need to download html.tpl file (e.g.
wget https://raw.githubusercontent.com/aquasecurity/trivy/main/contrib/html.tpl
) and use--template @<path/to/template>/html.tpl
flag.Regards, Dmitriy