Homebrew
RecommendedHomebrewbrew install checkov
Policy scanning for Terraform, Kubernetes and cloud config
Checkov parses infrastructure-as-code and run-time configuration against policy checks before anything reaches production. It runs in a repository hook, in CI, or against a plan file, and its findings are plain rules you can read in the project source.
Because the checks are declarative, it fits the same role as a linter: the value is in the pull-request signal, not in a quarterly report.
Supported platforms
5
Documented install or usage guidance
Learning curve
beginner
Difficulty of becoming productive, not of the underlying theory
Tags
iac, terraform, kubernetes, ci, policy
Dataset entry
checkov.ts
Reviewed 2026-01-02
Grouped by platform. Elevation requirements are marked per method.
brew install checkov
pipx install checkov
checkov --version
docker run -v $(pwd):/t --rm bridgecrew/checkov -d /t
Package availability follows your distribution and enabled repositories. Entry revised 2 Jan 2026 — confirm the current release on the project's own download page.
Every command carries its purpose, an example where useful, and the limitations that change how you should read the output.
Auto-detects frameworks and reports failing checks with file and line references.
checkov -d .
Plan-file scanning sees defaults and module output that static source does not.
terraform plan -out=tf.plan && terraform show -json tf.plan > tf.json && checkov -f tf.json
Writes a baseline of currently failing checks so CI fails only on regressions.
checkov -d . --create-baseline && checkov -d . --soft-fail false
JUnit XML or JSON in the format your pipeline already publishes.
checkov -d . -o junitxml > checkov-results.xml
Notes
Symptoms you will actually hit, with the cause and the legitimate fix.
Possible causes
Usual fix
Start with `--framework terraform` and `--check HIGH`, triage the top block, then widen. A noisy first run is how policy tooling gets switched off.
Possible causes
Usual fix
Scan the rendered plan (`-f tf.json`) — that is what the framework actually provisions.
Not documented yet: tfsec, terrascan. Request an entry and it will link up automatically.Request a tool
Side-by-side
Where to verify anything on this page. External links open in a new tab.
Trivy cover adjacent parts of the same job.