Update vulnerability DB
Pre-download the latest vulnerability database
trivy image --download-db-only
- tool
- trivy15 commands
More trivy commands
-
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