Checkov
$ checkov Official Low Riskcheckov statically analyzes Terraform, CloudFormation, Kubernetes YAML, Helm charts, and Dockerfiles against 1,000+ CIS/security policies before deployment. It runs read-only and emits structured -o json or -o sarif reports cleanly.
brew install checkov Offline IaC policy validation via checkov -d . -o json --quiet requires no cloud round-trips or MCP middleware.
Agent-Readiness Checklist
Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.
FCRS-1.0 6-Dimension Breakdown
Supports -o json, -o sarif, --quiet, --compact, --check/--skip-check, and --soft-fail.
- Native
-o json --quiet --compactoutput controls
Strictly read-only local static analysis; never modifies IaC files or cloud infrastructure.
- Pure static policy evaluation on local manifests
Available via brew, pip, uvx, and Docker, though Python startup and dependency tree are noticeably heavier than Go/Rust binaries.
- Python package distribution (
brew,pypi,uvx)
1,000+ built-in cloud/K8s policies catch IAM wildcards, public buckets, and privileged pods before terraform apply.
- Broad multi-framework IaC coverage
Actively maintained by Bridgecrew / Palo Alto Prisma Cloud under Apache-2.0.
- High release frequency under
bridgecrewio/checkov
Comprehensive policy index and CLI reference at checkov.io.
- Official docs and
--listpolicy introspection
Security, Auth & Guardrails
None required for built-in OSS IaC checks; optional --bc-api-key / BC_API_KEY for Prisma Cloud SaaS integration.
CLI is free and open-source (Apache-2.0); Prisma Cloud enterprise features are paid.
# Checkov Agent Rules - Always pass `-o json --quiet --compact` so hundreds of passed policy checks do not flood LLM context. - Use `--framework` (e.g., `terraform`, `kubernetes`, `dockerfile`) on polyglot repos to speed up scans.
Agent-Ready Command Recipes
Safe Read-Only Queries
checkov -d . -o json --quiet --compact
Audits Terraform, Kubernetes, and Dockerfiles read-only while omitting passed checks (--quiet).
checkov -f main.tf --framework terraform -o json --quiet
Focuses static policy evaluation on main.tf cleanly.
Strengths for Agents
- + Zero-auth static IaC security scanning across Terraform, K8s, Helm, and Dockerfiles.
- +
--quiet --compact -o jsonstrips passing noise and keeps findings concise.
Caveats & Pitfalls
- ! Slower Python cold start (~1–2s+) and large dependency footprint compared to Go/Rust CLIs.
- ! Returns exit code
1whenever any failed check is detected unless--soft-failis set.