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.
More on Security Gates & Vulnerability Management
How do you design security gate thresholds that protect production without blocking delivery?IntermediateSketch where security gates sit in a delivery pipeline.BeginnerWhat are typical vulnerability remediation SLAs in production?BeginnerHow do you run a vulnerability exception (risk acceptance) process?IntermediateHow do you prioritise vulnerabilities beyond CVSS?IntermediateWhy do you gate on "new findings only" and how is this implemented?Intermediate