Interview Prep/CI/CD/Rapid-Fire Commands

Rapid-fire: syft and grype commands for SBOM generation and vulnerability matching.

IntermediateProductionRapid-Fire Commands
Answer
syft dir:. -o spdx-json=sbom.spdx.json
syft reg.example.com/api:$GIT_SHA -o cyclonedx-json=sbom.cdx.json
grype sbom:sbom.cdx.json --fail-on critical
grype reg.example.com/api:$GIT_SHA --only-fixed
All CI/CD questions

More on Rapid-Fire Commands