Exposed secrets are not reported when using the html template #3628
Labels
good first issue
Denotes an issue ready for a new contributor, according to the "help wanted" guidelines.
help wanted
Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.
kind/feature
Categorizes issue or PR as related to a new feature.
priority/backlog
Higher priority than priority/awaiting-more-evidence.
Description
Scanning one of our images with parameters
--format template --template "@contrib/html.tpl"
,--severity HIGH,CRITICAL
, and--exit-code 1
causes Trivy to exit with exit code 1, but the generated report is shows that there were 0 vulnerabilities. After removing the format parameters, the report inlcudesTotal: 1 (HIGH: 1, CRITICAL: 0) HIGH: AsymmetricPrivateKey (private-key)
What did you expect to happen?
An html report, that contains the exposed secret vulnerability.
What happened instead?
The report contained no vulnerabilities.
Output of run with
-debug
:Output of
trivy -v
:Additional details (base image name, container registry info...):
The text was updated successfully, but these errors were encountered: