Skip to content
SPECIFICTION
Get listed

Checkov vs Conftest

Checkov

checkov.io

Conftest

conftest.dev

Side by side

FigureCheckovConftest
Price fromFreeFree
Free planYesYes
Free trial——
Open source——
Windows—Yes
macOSYesYes
LinuxYesYes
Plans published11
Spec score · Infrastructure Testing Tools8.0 (#10)8.4 (#4)
Spec score · Infrastructure Policy as Code Tools7.9 (#12)8.5 (#5)
Spec score · Infrastructure as Code Security Software7.8 (#15)8.4 (#7)
PurposeCheckov scans infrastructure-as-code files for misconfigurations that can cause security or compliance problems.Conftest is a utility for writing tests against structured configuration data.
SupportThe project directs users to its documentation for tutorials and examples and identifies Prisma Cloud as the maintainer.Questions and discussions are directed to the Open Policy Agent Slack channel `#opa-conftest`.

Plans

Checkov

  • CheckovFree

Checkov pricing →

Conftest

  • Open-source ConftestFree

Conftest pricing →

In their own words

Checkov

Checkov is a free tool for scanning infrastructure-as-code files for configuration problems that could affect security or compliance. Its documented targets include Terraform, CloudFormation, ARM, Serverless, Helm, Kubernetes, and Docker. The policy library contains more than 750 predefined checks, including checks for standards such as CIS and the AWS Foundations Benchmark. Checkov can also identify common credentials in IaC files, including AWS access keys, Azure service credentials, and private keys. Teams can create custom attribute policies in Python or YAML and composite policies in YAML. Documented continuous-integration integrations include Jenkins, Bitbucket Cloud Pipelines, GitHub Actions, and GitLab CI. Add-ons for Visual Studio Code and JetBrains provide real-time scanning and inline fixes. Installation is documented through pip and Homebrew, with Homebrew specified for macOS or Linux. The project supports Python 3.9 through 3.13 and is distributed under the Apache-2.0 license. Prisma Cloud extends Checkov with runtime scanning, visibility, native VCS integrations, drift detection, and pull request annotations. Alpine is not officially tested or supported; it requires Python 3.11 or later.

Visit checkov.io

Conftest

Conftest is a free utility for testing structured configuration data, designed for use in CI environments. It uses the Open Policy Agent Rego language to express policies, then evaluates deny, violation, and warning rules within namespaces. Configuration can be read from individual files, directories, multiple files, or standard input. Supported inputs include Kubernetes-style YAML, JSON, HCL and HCL2, Dockerfiles, Terraform-related data, JSONnet, TOML, and XML. Results can be output as plaintext, JSON, TAP, table, JUnit, GitHub, Azure DevOps, or SARIF; the GitHub outputter can annotate test results in workflows. The `conftest verify` command runs policy unit tests. Policies can be pulled from HTTPS URLs, Git repositories, and OCI registries, or pushed to compatible OCI registries. Plugins extend the CLI, with downloads available from sources including OCI, Git, HTTP/HTTPS, Mercurial, and cloud storage. Pre-commit hooks support policy workflows, and integrations are documented for CircleCI, GitHub Actions, and Tekton. Conftest is available for Linux, macOS, and Windows.

Visit conftest.dev