Skip to content
SPECIFICTION
Get listed

Google Cloud Organization Policy vs Tirith

Google Cloud Organization Policy

cloud.google.com

Tirith

github.com

Side by side

FigureGoogle Cloud Organization PolicyTirith
Price fromFreeFree
Free planYesYes
Free trial——
Open source——
WebYes—
WindowsYes—
macOSYes—
LinuxYesYes
APIYes—
Plans published11
Spec score · Infrastructure Policy as Code Tools8.8 (#3)7.1 (#19)
Intended usersThe documentation describes organization policy administrators as configuring organization-wide constraints and project owners and teams as benefiting from compliance guardrails.The project names DevSecOps engineers, infrastructure architects, cloud administrators, and others who manage or enforce infrastructure guardrails.
Notable limitationMost organization policy enforcement is not retroactive, so a restriction on an existing action or state does not stop that existing behavior automatically.The maker says there is no GitLab-native action equivalent, so GitLab users invoke the CLI directly.
PurposeThe service gives administrators centralized and programmatic control over Google Cloud resources by configuring constraints across a resource hierarchy.Tirith evaluates infrastructure documents against declarative JSON policies and reports which rules passed or failed, including the affected resource and value.

Plans

Google Cloud Organization Policy

  • Organization Policy Service APIFree

Google Cloud Organization Policy pricing →

Tirith

  • Tirith (Apache-2.0)Free

Tirith pricing →

In their own words

Google Cloud Organization Policy

Google Cloud Organization Policy lets administrators set constraints on Google Cloud resources across organizations, folders, and projects. Descendant resources inherit policies by default, so teams can establish restrictions across a resource hierarchy. Examples include limiting resource sharing by domain, restricting IAM service account use, and limiting where new resources may be created. Organizations can define custom constraints for resource creation and updates. Policies can be managed in the Google Cloud console, CLI, or REST API; the API exposes policy and constraint resources at organization, folder, and project levels. Dry-run policies record violations in audit logs without blocking the action, while Policy Intelligence tools can test proposed changes, identify non-compliant resources, monitor workflow impact, and show policy coverage. The service is free, with the Organization Policy Service API listed at free. Policies use YAML and JSON. Changes can take up to 15 minutes to take effect, and most enforcement is not retroactive. Basic Support is included for Google Cloud customers; paid technical support tiers are also available.

Visit cloud.google.com

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.

Visit github.com