trivy
trivy copied to clipboard
Why report format do not show standard content?
/contrib # trivy image --format template --template "/contrib/html.tpl" -o report.html golang:1.12-alpine
2022-11-16T09:38:37.916Z INFO Vulnerability scanning is enabled
2022-11-16T09:38:37.916Z INFO Secret scanning is enabled
2022-11-16T09:38:37.916Z INFO If your scanning is slow, please try '--security-checks vuln' to disable secret scanning
2022-11-16T09:38:37.916Z INFO Please see also https://aquasecurity.github.io/trivy/v0.34/docs/secret/scanning/#recommendation for faster secret detection
2022-11-16T09:38:40.871Z INFO Detected OS: alpine
2022-11-16T09:38:40.871Z INFO Detecting Alpine vulnerabilities...
2022-11-16T09:38:40.873Z INFO Number of language-specific files: 0
2022-11-16T09:38:40.878Z WARN This OS version is no longer supported by the distribution: alpine 3.11.3
2022-11-16T09:38:40.878Z WARN The vulnerability detection may be insufficient because security updates are not provided
/contrib # l
/bin/sh: l: not found
/contrib # ls
asff.tpl gitlab-codequality.tpl gitlab.tpl html.tpl junit.tpl report.html
/contrib # cat report.html
/contrib/html.tpl/contrib #
When I scaned image with report format html, file outpput do not show syntax html format?
@ladung try to use @ for template
flag: --template @"/contrib/html.tpl"
This issue is stale because it has been labeled with inactivity.