Scan config files
Scan IaC config files for misconfigurations
trivy config .
- tool
- trivy15 commands
More trivy commands
-
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
-
trivy k8s --report summary clusterSecurity audit of the whole cluster: images, configs, RBAC