Trivy command to fail a build only on fixable critical vulnerabilities?
BeginnerProductionRapid-Fire Tool Questions
Answer
trivy image --severity CRITICAL --ignore-unfixed --exit-code 1 registry.example.com/app:1.4.2
--exit-code 1 makes the job fail when findings match the filters.
More on Rapid-Fire Tool Questions
Gitleaks command to scan only staged changes before a commit?BeginnerGenerate a CycloneDX SBOM for an image with Syft and scan it with Grype?BeginnerCosign keyless verify command that pins the GitHub Actions workflow identity?IntermediateRun Checkov against a Terraform plan instead of raw HCL?BeginnerSemgrep command to scan with OWASP rules and fail on findings?BeginnerHow do you list everything a service account can do in Kubernetes?Intermediate