Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 584 Bytes

README.md

File metadata and controls

31 lines (22 loc) · 584 Bytes

trivy-plugin-count

Example of Trivy output plugin

Installation

trivy plugin install github.com/aquasecurity/trivy-plugin-count

Usage

trivy <target> --format json --output plugin=count [--output-plugin-arg plugin_flags] <target_name>

OR

trivy <target> -f json <target_name> | trivy count [plugin_flags]

Examples

trivy image -f json -o plugin=count --output-plugin-arg "--published-after=2023-11-01" debian:12

is equivalent to:

trivy image -f json debian:12 | trivy count --published-after=2023-11-01