Checkov

No Change
adopt
First Added:June 15, 2026 Updated: June 22, 2026

Checkov is a static analysis tool for infrastructure as code, CI workflows, and container images. It ships 1,000+ built-in policies for AWS, Azure, and Google Cloud misconfigurations. We adopt it as the default Code Scanner gate on **Pull Request**s for Terraform, Kubernetes, and pipeline YAML. Use Conftest when custom OPA rules must also enforce in-cluster admission.

Blurb

Checkov is a static code analysis tool for infrastructure as code (IaC) and also a software composition analysis (SCA) tool for images and open source packages.

Summary

Role: CLI and CI gate that scans Terraform, CloudFormation, Kubernetes, Helm, Dockerfile, GitHub Actions, and other IaC or pipeline files before deploy. Graph-based scanning adds context across resources. Output formats include JSON, JUnit, SARIF, and CycloneDX.

LensCheckovConftestRegula
Policy modelBuilt-in + custom Python/YAMLRego (OPA)Built-in Rego bundles
SurfacesIaC, CI workflows, SCA/CVEsStructured config via OPAIaC focus (AWS/Azure/GCP/K8s)
Best fitDefault IaC and CI PR gateCross-stack custom governanceTerraform-centric Rego without OPA ops

When to use (default): any repo with IaC or CI workflow files; CIS, SOC2, or cloud-provider hardening on every Pull Request; teams want local scans that match Bridgecrew or Prisma Cloud policy packs.

When to skip: policy logic must live in OPA and run at admission time (Policy as Code + Conftest); only application source linting matters; Regula already covers the full IaC stack with less policy maintenance.

Pairs with: terraform plan JSON scanning, pre-commit hooks, GitHub Actions or Jenkins gates, Prisma Cloud for centralized policy management.

Details

TopicNotes
Installpip install checkov (Python 3.9-3.12); Docker image bridgecrew/checkov
IaC inputsTerraform, Terraform plan/JSON, CloudFormation, SAM, Bicep, ARM, OpenTofu, Ansible, Serverless
K8s inputsKubernetes manifests, Helm charts (rendered), Kustomize
CI inputsGitHub Actions, GitLab CI, Azure Pipelines, CircleCI, Bitbucket Pipelines, Argo Workflows
SCAOpen source package and image CVE scanning (separate from IaC checks)
Custom policiesPython attribute policies; YAML attribute and composite policies
SuppressionsInline skip comments and CLI global skips for accepted risk
UpstreamOpen source by Bridgecrew; maintained under Prisma Cloud

References