trivy-plugin-report

command module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 13, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

README ยถ

๐Ÿ” trivy-plugin-report

็ฎ€ไฝ“ไธญๆ–‡

๐Ÿ“Š trivy-plugin-report is a plugin that can convert Trivy's output in JSON format into an EXCEL file.

๐Ÿค” Why is it needed?

Trivy can output reports in various formats, but these reports are more suitable for technical personnel to study and fix vulnerabilities.

In many business scenarios, we also need to present security risks in a more understandable way to non-technical personnel, making EXCEL files particularly important.

๐ŸŒŸ Features

  • Trivy Compatibility: Supports JSON format reports generated by Trivy.
  • Office Friendly: Converts to EXCEL format, suitable for non-technical personnel to read and report.

๐Ÿ› ๏ธ Installation

trivy plugin install github.com/y4ney/trivy-plugin-report

๐Ÿš€ Usage

trivy image --format json -d --output plugin=report [--output-plugin-arg plugin_flags] <image_name>

OR

trivy image -f json <image_name> | trivy report [plugin_flags]

๐Ÿ“ Common Usage

  1. Generate an EXCEL table and name it output.xlsx

    trivy image -f json debian:12 | trivy report --excel-file output.xlsx
    

    img.png img.png

  2. Use --beautify to beautify the EXCEL file, that is, fill in the background color according to the severity of the vulnerabilities.

    trivy image -f json debian:12 | trivy report --excel-file output-beautify.xlsx --beautify
    

    img.png

TODO

  • ๐Ÿ“ Export markdown file
  • ๐ŸŒ Localize the report to Chinese
  • ๐ŸŒ Add Alibaba vulnerability source
  • ๐Ÿš€ Add CNNVD vulnerability source
  • ๐Ÿ›ก๏ธ Support for misconfiguration, license, and secret

Documentation ยถ

The Go Gopher

There is no documentation for this package.

Directories ยถ

Path Synopsis
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL