HTML Report template is still exporting only JSON file #7774
-
QuestionHi, TargetContainer Image ScannerVulnerability Output FormatTemplate ModeStandalone Operating SystemLinux Version0.56.2 |
Beta Was this translation helpful? Give feedback.
Answered by
simar7
Oct 22, 2024
Replies: 1 comment 2 replies
-
Not seeing that behavior locally trivy image --exit-code 0 --format template --template "@contrib/html.tpl" --output "gl-container-scanning-report.html" "alpine" && ls -lrth gl-con*
2024-10-21T10:51:51-06:00 INFO [vuln] Vulnerability scanning is enabled
2024-10-21T10:51:51-06:00 INFO [secret] Secret scanning is enabled
2024-10-21T10:51:51-06:00 INFO [secret] If your scanning is slow, please try '--scanners vuln' to disable secret scanning
2024-10-21T10:51:51-06:00 INFO [secret] Please see also https://aquasecurity.github.io/trivy/v0.56/docs/scanner/secret#recommendation for faster secret detection
2024-10-21T10:51:52-06:00 INFO Detected OS family="alpine" version="3.20.3"
2024-10-21T10:51:52-06:00 INFO [alpine] Detecting vulnerabilities... os_version="3.20" repository="3.20" pkg_num=14
2024-10-21T10:51:52-06:00 INFO Number of language-specific files num=0
2024-10-21T10:51:52-06:00 WARN Using severities from other vendors for some vulnerabilities. Read https://aquasecurity.github.io/trivy/v0.56/docs/scanner/vulnerability#severity-selection for details.
-rw-r--r--@ 1 user staff 7.2K Oct 21 10:51 gl-container-scanning-report.html
➜ head -n 5 gl-container-scanning-report.html
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style> |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
OK - I don't think this is a Trivy issue then.