Scan an SBOM
Scan a Software Bill of Materials (SBOM) file for vulnerabilities.
trivy sbom ./sbom.json
- tool
- trivy15 commands
More trivy commands
-
trivy fs --severity HIGH,CRITICAL .Scan the current directory and show only HIGH and CRITICAL findings.
-
trivy k8s --report summary clusterSecurity audit of the whole cluster: images, configs, RBAC
-
trivy k8s --namespace production --report summary allScan workloads only in the production namespace.
-
trivy config ./my-chartCheck Helm chart templates for insecure settings.
-
trivy image --format json -o results.json img:tagSave image scan results to a JSON file for scripts and other tools.