Interview Prep/DevSecOps/Supply Chain, SBOM, Signing and Image/IaC Scanning

What is IaC scanning and what do Checkov and tfsec check?

BeginnerConceptSupply Chain, SBOM, Signing and Image/IaC Scanning
Answer

IaC scanning statically analyses Terraform, CloudFormation, Kubernetes manifests, Helm and Dockerfiles for misconfigurations before deployment, such as unencrypted volumes, public security groups and missing logging.

checkov -d . --framework terraform --compact --quiet
tfsec .

tfsec's rules have been merged into Trivy (trivy config .), which is now the recommended path; Checkov remains popular with a large policy library and custom Python or YAML policies.

All DevSecOps questions Roadmap: Supply chain, secrets & identity

More on Supply Chain, SBOM, Signing and Image/IaC Scanning