Checkov
An open-source scanner that checks infrastructure-as-code files, such as Terraform, against numbered security checks without deploying anything.
In more detail
Any failed check gives a non-zero exit code, which fails the pipeline job. Skips go inside the resource as #checkov:skip=ID:reason, and --create-baseline lets an old repository fail only on new findings.
Related terms
- Checkov check ID — The identifier of one Checkov check, such as CKV_AWS_24 for SSH open to 0.0.0.0/0.
- infrastructure as code — Describing servers, networks and other infrastructure in text files that a tool reads to create and change the real thing.
- linter — A tool that reads code or configuration without running it and flags likely mistakes and style problems.
- exit code — A number a process returns when it finishes: 0 means success, anything else means something went wrong.
Taught in
- Static IaC Scanning: Linting Terraform with Checkov — Cloud Security & DevSecOps Engineering
- Continuous IaC Drift Detection & State Protection — Cloud Security & DevSecOps Engineering