scan2html
scan2html copied to clipboard
A Trivy plugin that scans and outputs the results (vulnerabilities, misconfigurations, secrets, SBOM in containers, Kubernetes, code repositories, clouds and more) to an interactive html file.
scan2html
Before moving on, please consider giving us a GitHub star ⭐️. Thank you!
About scan2html
A Trivy plugin that scans and outputs the results (vulnerabilities, misconfigurations, secrets, SBOM in containers, Kubernetes, code repositories, clouds and more) to an interactive html file.
Install
trivy plugin install github.com/fatihtokus/scan2html
Uninstall
trivy plugin uninstall scan2html
Usage
Scan a local folder
trivy scan2html fs --scanners vuln,secret,misconfig . interactive_report.html
Result

Scan a k8s cluster
trivy scan2html k8s cluster interactive_report.html
Result

Scan a k8s cluster all
trivy scan2html k8s --report=all all interactive_report.html
Result

Scan a k8s cluster summary
trivy scan2html k8s --report summary cluster interactive_report.html
Result

Scan and generate SBOM(spdx) report
trivy scan2html image --format spdx alpine:3.15 interactive_report.html
Result

Help
$ trivy scan2html -h
Usage: trivy scan2html [-h,--help] command target filename
A Trivy plugin that scans and outputs the results to an interactive html file.
Options:
-h, --help Show usage.
Examples:
# Scan an image
trivy scan2html image alpine:latest interactive_report.html
# Scan a local folder
trivy scan2html fs --scanners vuln,secret,misconfig . interactive_report.html
# Scan a k8s cluster
trivy scan2html k8s cluster interactive_report.html
# Scan a k8s cluster all
trivy scan2html k8s --report=all all interactive_report.html
# Scan a k8s cluster summary
trivy scan2html k8s --report summary cluster interactive_report.html
# Scan and generate SBOM(spdx) report
trivy scan2html image --format spdx alpine:3.15 interactive_report.html