Skip to content

aquasecurity/trivy-plugin-count

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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