
Un plugin Trivy che analizza le immagini di una risorsa Kubernetes
Scopri gli strumenti più utilizzati dalla nostra community.
Nessun dato di popolarità ancora.
Un plugin Trivy che esegue la scansione delle immagini di una risorsa kubernetes
$ trivy plugin install github.com/aquasecurity/trivy-plugin-kubectl
$ trivy kubectl -h
Usage: trivy kubectl [-h,--help] TYPE NAME [TRIVY OPTION]
A Trivy plugin that scans the images of a kubernetes resource.
Options:
-h, --help Show usage.
Examples:
# Scan a Pod
trivy kubectl pod mypod
# Scan a Deployment
trivy kubectl deployment mydeployment -n mynamespace
# Scan a Job and filter by severity
trivy kubectl job myjob -n mynamespace -- --severity CRITICAL
Le opzioni di Trivy devono essere passate dopo --.
# Scan a Pod
$ trivy kubectl pod mypod
# Scan a Deployment
$ trivy kubectl deployment mydeployment -n mynamespace
# Scan a Job and filter by severity
$ trivy kubectl job myjob -n mynamespace -- --severity CRITICAL