Skip to content
SPECIFICTION
Get listed

c7n-left vs Conftest

c7n-left

cloudcustodian.io

Conftest

conftest.dev

Side by side

Figurec7n-leftConftest
Price from—Free
Free plan—Yes
Free trial——
Open source——
WindowsYesYes
macOSYesYes
LinuxYesYes
Self-hostedYes—
Plans published01
Spec score · Infrastructure as Code Security Software7.7 (#17)8.4 (#7)
CI integrationIts GitHub output mode reports annotations directly into pull requests.The project documents integrations with CircleCI, GitHub Actions and Tekton Pipelines.
Policy languagePolicies support standard Custodian filters, multiple resource types, taggable-resource filtering, and multi-hop resource graph traversal.Conftest uses the Open Policy Agent Rego language for writing policies.
Policy testingc7n-left supports tests that match policy findings against assertions in plan files.The `conftest verify` command executes policy unit tests and reports their results.
Purposec7n-left evaluates Cloud Custodian policies directly against infrastructure-as-code source assets.Conftest is a utility for writing tests against structured configuration data.

Plans

c7n-left

No plans published.

c7n-left pricing →

Conftest

  • Open-source ConftestFree

Conftest pricing →

In their own words

c7n-left

c7n-left has no write-up on Specifiction yet; its figures are above.

Visit cloudcustodian.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