Skip to the content
Know your tech before you buy it. Makers: get listed from $49/mo

c7n-left

cloudcustodian.io

  • Free plan
  • Windows
  • macOS
  • Linux
  • Self-hosted
7.4 Club score Visit cloudcustodian.io

What c7n-left is

c7n-left evaluates Cloud Custodian policies against Terraform infrastructure-as-code assets. It is intended for checks in CI systems, where policy findings can appear as GitHub pull-request annotations. Policies use standard Custodian filters, can cover multiple resource types, filter taggable resources, and traverse resource relationships across multiple hops. The taggable-resource filter includes Terraform resources from AWS, Azure, GCP, OCI, and Tencent Cloud. Command-line filters narrow checks by policy or resource name, category, minimum severity, resource type, or ID. Policy tests pair Terraform files with YAML or JSON assertion plans. Matching policies normally make a run exit with code 1, while `--warn-on` can turn selected matches into warnings. Install it with `pip install c7n-left`. Python versions above 3.10 are supported on macOS and Linux; Docker images are recommended for Windows. Remote Terraform modules must be fetched first. Signed Wolfi-based Docker images and cosign verification are documented.

Who it suits

It suits cloud and platform teams that want Terraform policy checks in CI or pull requests. Users should be comfortable with Cloud Custodian policies, Terraform, and command-line tooling.

Good to know, and what to watch

  • Checks Terraform root modules
  • Adds findings to GitHub pull requests
  • Supports multi-hop resource traversal
  • Includes policy testing with assertion plans
  • Free under Apache 2.0
  • Remote modules must be fetched first
  • Windows use is via recommended Docker images
  • CLI behavior may change

The verdict

c7n-left brings Cloud Custodian policy evaluation into Terraform workflows, with filtering, tests, and pull-request reporting. Its free open-source license and broad provider coverage suit teams building policy checks into CI.

What the maker publishes

CI integration
Its GitHub output mode reports annotations directly into pull requests. source
CLI stability
The documentation warns that the command-line interface is subject to change. source
Container security
The project provides signed Docker images built on Chainguard's Wolfi Linux and documents verification with cosign. source
Default failure behavior
Policy matches cause the run to exit with code 1 by default, while `--warn-on` can make selected matches log as warnings instead. source
Docker security
The project provides signed Docker images based on Chainguard’s Wolfi Linux, and documents signature verification with cosign. source
IaC input
c7n-left evaluates Terraform root modules, and remote module dependencies must be fetched with Terraform before running it. source
Install
The package can be installed with `pip install c7n-left`. source
Install platforms
The package supports Python above 3.10 on macOS and Linux, and recommends Docker images for Windows. source
Intended users
The documentation says c7n-left is typically run in CI systems. source
Known limitation
Remote Terraform module dependencies must be fetched with Terraform before c7n-left runs. source
License and price
Cloud Custodian is open source, free for everyone to use, and distributed under the Apache 2.0 license. source
Policy checks
Policies can check Terraform resources using Custodian filters, including tag checks and multi-hop resource traversal. source
Policy controls
Command-line filters can select policies and resources by name, category, minimum severity, resource type, or ID. source
Policy language
Policies support standard Custodian filters, multiple resource types, taggable-resource filtering, and multi-hop resource graph traversal. source
Policy testing
c7n-left supports tests that match policy findings against assertions in plan files. source
Policy tests
c7n-left supports policy tests using Terraform files and YAML or JSON assertion plans. source
Project and audience
Cloud Custodian is an open-source rules engine for managing public cloud accounts and resources, with policies for security, compliance, tagging, and cost management. source
Project scope
Cloud Custodian supports AWS, Azure, and GCP, with Kubernetes, Tencent Cloud, and OpenStack support described as beta on its homepage. source
Provider coverage
The taggable filter supports Terraform resources from AWS, Azure, GCP, OCI, and Tencent Cloud providers. source
Purpose
c7n-left evaluates Cloud Custodian policies directly against infrastructure-as-code source assets. source
Supported environments
The package supports Python versions above 3.10 on macOS and Linux; the documentation recommends Docker images for Windows. source

Checked against the maker's pages on 3 Oct 2026.