Interview Prep/DevSecOps/Security Gates & Vulnerability Management

Should IaC misconfiguration findings block Terraform applies?

IntermediateProductionSecurity Gates & Vulnerability Management
Answer

Yes, for a short list of high-impact controls; no for the long tail. We block on public storage, public databases, 0.0.0.0/0 on admin ports, missing encryption on data stores, IAM wildcards on * resources, and disabled logging. Lower-severity checks (tagging, descriptions) warn only.

checkov -d . --framework terraform --check CKV_AWS_20,CKV_AWS_19,CKV_AWS_24,CKV_AWS_17 --compact

Plan-time policy (Conftest/OPA or Sentinel on terraform show -json) is the strongest gate because it sees resolved values.

All DevSecOps questions Roadmap: Security in the pipeline

More on Security Gates & Vulnerability Management