Interview Prep/CI/CD/Rapid-Fire Commands

Rapid-fire: Trivy commands for image, filesystem, IaC and SBOM scanning.

IntermediateProductionRapid-Fire Commands
Answer
trivy image --severity HIGH,CRITICAL --ignore-unfixed --exit-code 1 reg.example.com/api:$GIT_SHA
trivy fs --scanners vuln,secret,misconfig .
trivy config ./terraform
trivy image --format cyclonedx -o sbom.cdx.json reg.example.com/api:$GIT_SHA
trivy sbom sbom.cdx.json
All CI/CD questions

More on Rapid-Fire Commands