Skip to content

IaC Rules

IaC rules detect insecure infrastructure configuration in code and build artifacts.
Sttor supports the full Checkov ruleset and a broad range of Infrastructure-as-Code formats.

Supported IaC Formats

  • Terraform (.tf)
  • OpenTofu (.tf)
  • AWS CDK (as applicable in the pipeline)
  • Kubernetes manifests (.yaml, .yml)
  • Dockerfile
  • Helm templates (when rendered or available in scan inputs)
  • Other IaC formats supported through Checkov inputs

IaC Rule Identity

Because Sttor supports the complete Checkov ruleset, IaC findings can be represented in two forms:

  1. Native Sttor Rule IDs (IAC-####)
    Used for standardized reporting, governance, and consistency across scans.

  2. Mapped Source Rule IDs
    Underlying rule identifiers (for example, Checkov rule references) are preserved as metadata or tags for traceability.

IaC Rule Table (Example)

IDTitleDescriptionRemediationTags
IAC-0001Publicly exposed resource configurationDetects IaC patterns that expose services or resources publicly without explicit justification.Restrict exposure; use private networking; enforce least-privilege access controls.iac, terraform, networking
IAC-0002Weak encryption / missing encryptionDetects storage or resources missing encryption at rest or using weak cryptographic configuration.Enable encryption at rest; use managed keys or KMS as required.iac, terraform, encryption
IAC-0003Kubernetes workload missing security hardeningDetects missing securityContext or risky default settings in Kubernetes manifests.Add least-privilege pod and container security settings.iac, kubernetes, workload-security