Skip to content

afdesk/scan2html

Repository files navigation

scan2html

A Trivy plugin that scans and outputs the results to a html file.

$ trivy scan2html image alpine:3.14.1 --html-result result.html

image image

scan2html supports --list-all-pkgs

$ trivy scan2html image alpine:3.14.1 --list-all-pkgs --html-result r.html

image image

Install

$ trivy plugin install github.com/afdesk/scan2html

$ trivy scan2html -h

Usage: trivy scan2html [-h,--help] command target filename
 A Trivy plugin that scans and outputs the results to a html file.
Options:
  -h, --help    Show usage.
Examples:
  # Scan  image
  trivy scan2html image alpine:latest --html-result result.html

  # Scan local folder
  trivy scan2html fs . --html-result result.html

Uninstall

  trivy plugin uninstall scan2html