Scan a filesystem
Scan the current directory for vulnerabilities.
trivy fs .
- tool
- trivy15 commands
More trivy commands
-
trivy k8s --report summary clusterRun a security audit of the whole cluster (images, configs, RBAC) and show a summary.
-
trivy image --format sarif --output results.sarif myimage:tagSave scan results in SARIF format for CI and IDE integrations.
-
trivy config .Check IaC config files in the current directory for configuration mistakes.
-
trivy image --severity HIGH,CRITICAL myimage:tagShow only HIGH and CRITICAL vulnerabilities in an image.
-
trivy image --ignore-unfixed myimage:tagSkip vulnerabilities that have no fix yet.