trivy commands
15 commands, each with a one-line explanation. Click a command to copy it, or its title for details.
Commands 15 shown
-
trivy fs --severity HIGH,CRITICAL .Scan a local directory for vulnerabilities and misconfigs
-
trivy k8s --report summary clusterSecurity audit of the whole cluster: images, configs, RBAC
-
trivy k8s --namespace production --report summary allScan workloads only in a specific namespace
-
trivy config ./my-chartCheck Helm chart templates for security misconfigurations
-
trivy image --format json -o results.json img:tagMachine-readable vulnerability scan results
-
trivy config --severity MEDIUM,HIGH,CRITICAL ./terraformFind misconfigurations in Terraform/Kubernetes/Helm code
-
trivy image --ignore-unfixed --severity HIGH,CRITICAL img:tagSkip vulnerabilities that have no fix available yet
-
trivy image --download-db-onlyPre-download the latest vulnerability database
-
trivy fs .Scan the current directory for vulnerabilities
-
trivy k8s --report summary clusterScan the entire Kubernetes cluster for vulnerabilities and misconfigs
-
trivy image --format sarif --output results.sarif myimage:tagOutput scan results in SARIF format for CI/IDE integration
-
trivy config .Scan IaC config files for misconfigurations
-
trivy image --severity HIGH,CRITICAL myimage:tagShow only HIGH and CRITICAL vulnerabilities
-
trivy image --ignore-unfixed myimage:tagSkip vulnerabilities that have no fix available
-
trivy sbom ./sbom.jsonScan a Software Bill of Materials file for vulnerabilities
no commands match — try a different search