Scan with SARIF output
Output scan results in SARIF format for CI/IDE integration
trivy image --format sarif --output results.sarif myimage:tag
- tool
- trivy15 commands
More trivy commands
-
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
-
trivy fs --severity HIGH,CRITICAL .Scan a local directory for vulnerabilities and misconfigs