IaC scanning
Infrastructure as Code security: checking infrastructure defined as code
IaC scanning checks infrastructure descriptions (Terraform, CloudFormation, Kubernetes manifests, Helm charts, Dockerfiles) for insecure settings before they reach the cloud or the cluster.
Most cloud incidents come from configuration errors rather than code hacks: a storage bucket open to the internet, a container running as root, a database port exposed publicly.
How it works
- Parse the configuration files and match them against secure configuration rules.
- Typical findings: public access to storage, missing encryption, privileged containers, overly broad network rules.
- Run in CI on every infrastructure change.
Tools
CheckovTrivyKICSkube-linter