---
title: "Governance-as-code"
description: "Governance rules expressed as executable code that evaluates pull requests, deployments and runtime calls and returns a decision; the umbrella term of which policy-as-code is the CI/CD subset."
canonical: https://aigovernanceengineer.com/glossary/governance-as-code
author: "Jorge García Aibar"
license: "CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/)"
doi: https://doi.org/10.5281/zenodo.22956197
version: "0.5.0"
updated: 2026-09-24
---

# Governance-as-code

Governance rules expressed as executable code that evaluates pull requests, deployments and runtime calls and returns a decision; the umbrella term of which policy-as-code is the CI/CD subset.

- Developed in: [ch. 04, Layer 01: Govern-as-Code](https://aigovernanceengineer.com/bok/the-stack#layer-01-govern-as-code)
- Chapters: [ch. 03, Values & Principles](https://aigovernanceengineer.com/bok/values-and-principles) · [ch. 04, The Stack](https://aigovernanceengineer.com/bok/the-stack)
- Contrast with: [Policy-as-code](https://aigovernanceengineer.com/glossary/policy-as-code)
- In the glossary chapter: https://aigovernanceengineer.com/bok/glossary#t-governance-as-code

## Sources

Defined by this Body of Knowledge: the section it is developed in is the source.
