Cloud Custodian vs Tirith
Cloud Custodian
cloudcustodian.ioTirith
github.comSide by side
| Figure | Cloud Custodian | Tirith |
|---|---|---|
| Price from | Free | Free |
| Free plan | Yes | Yes |
| Free trial | — | — |
| Open source | — | — |
| Windows | Yes | — |
| macOS | Yes | — |
| Linux | Yes | Yes |
| Self-hosted | Yes | — |
| Plans published | 1 | 1 |
| Spec score · Infrastructure Policy as Code Tools | 8.1 (#10) | 7.1 (#19) |
| Purpose | Cloud Custodian manages cloud resources by filtering and tagging them, then applying actions through policies written in a YAML domain specific language. | Tirith evaluates infrastructure documents against declarative JSON policies and reports which rules passed or failed, including the affected resource and value. |
Plans
In their own words
Cloud Custodian
Cloud Custodian manages cloud resources through policies written in YAML. Each policy names a resource type, filters for selecting resources, and actions to apply to matches. It supports security policy enforcement, compliance, tag policies, cleanup of unused resources, and cost management for AWS, Azure, and Google Cloud Platform resources. Policies can respond to provider events through serverless features or run on a cron schedule. Users can validate policies and preview matching resources in dry-run mode before actions execute. Runs can produce policy metrics, structured resource records, and logs for cloud metrics, storage, and logging services. Documented event connections include AWS CloudWatch Events and Config Rules, Azure EventGrid, and GCP AuditLog and Pub/Sub. Installation is documented for Linux, macOS, and Windows, with Docker and Kubernetes operation also described. Kubernetes, Tencent Cloud, and OpenStack support are in beta; Terraform integration is in alpha. Cloud Custodian is free at free and open source under Apache 2.0. An AWS constraint is that event-triggered policies run only in the same region and account, while periodic policies may run elsewhere.
Tirith
Tirith is a free, open-source Linux command-line tool that evaluates infrastructure documents against declarative JSON policies. It reports passed and failed rules together with the affected resource and value. Its pipeline gate checks Terraform plan output and can return a nonzero exit code when a policy violation appears, before infrastructure changes are applied. Documented inputs include Terraform plans and state, Kubernetes manifests, Infracost breakdowns, and other JSON documents. Policies can use providers and evaluators such as ContainedIn, Equals, and RegexMatch, while the provider architecture can be extended for other formats. Local evaluation runs on the user’s runner, and the project says policies and documents are not sent elsewhere. Optional organization mode checks plans against StackGuardian policies and uploads a masked document. Tirith documents GitHub Actions, GitLab CLI use, Bitbucket Pipelines, other CI, and local execution. OpenTofu plans work like Terraform plans for the documented gate.