Directory Compare FCRS-1.0 /llms.txt
← Back to Directory

Checkov

$ checkov Official Low Risk
Bridgecrew / Prisma Cloud · Security & Secrets · Apache-2.0 · macos / linux / windows

checkov 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.

FCRS-1.0 Score
89 /100
Good
Medium Confidence
Zero-Friction Install
brew install checkov
CLI vs MCP Decision CLI Preferred vs MCP

Offline IaC policy validation via checkov -d . -o json --quiet requires no cloud round-trips or MCP middleware.

Agent-Readiness Checklist

✓ JSON Output
✓ Field Filtering
✓ Non-Interactive
— Dry-Run
✓ Read-Only Mode
— NO_COLOR Clean
— Self-Describing
— Official SKILL.md

Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.

FCRS-1.0 6-Dimension Breakdown

Agent-Readiness 23 / 25

Supports -o json, -o sarif, --quiet, --compact, --check/--skip-check, and --soft-fail.

  • Native -o json --quiet --compact output controls
Trust & Safety 24 / 25

Strictly read-only local static analysis; never modifies IaC files or cloud infrastructure.

  • Pure static policy evaluation on local manifests
Setup & Portability 12 / 15

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)
Utility & Efficiency 13 / 15

1,000+ built-in cloud/K8s policies catch IAM wildcards, public buckets, and privileged pods before terraform apply.

  • Broad multi-framework IaC coverage
Maintenance & Lineage 9 / 10

Actively maintained by Bridgecrew / Palo Alto Prisma Cloud under Apache-2.0.

  • High release frequency under bridgecrewio/checkov
Docs & Verifiability 8 / 10

Comprehensive policy index and CLI reference at checkov.io.

  • Official docs and --list policy introspection

Security, Auth & Guardrails

Auth Modes
No Auth Env API Key
Credential Storage

None required for built-in OSS IaC checks; optional --bc-api-key / BC_API_KEY for Prisma Cloud SaaS integration.

Side Effects
Read-Only
Cost & Quotas

CLI is free and open-source (Apache-2.0); Prisma Cloud enterprise features are paid.

Copyable Guardrail for CLAUDE.md / AGENTS.md
# 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

Scan an IaC directory and output compact JSON failures
checkov -d . -o json --quiet --compact

Audits Terraform, Kubernetes, and Dockerfiles read-only while omitting passed checks (--quiet).

Audit a single Terraform file for specific check IDs
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 json strips 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 1 whenever any failed check is detected unless --soft-fail is set.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI