OPA/Rego

The Open Policy Agent and its Rego policy language, a general-purpose policy-as-code engine that evaluates governance rules in CI/CD and at runtime admission; the canonical example of executable policy-as-code.

Developed in
ch. 06, Policy-as-code and gates
Chapters
ch. 04, The Stack · ch. 05, Patterns · ch. 06, The Role
Contrast with
Cedar
Source
Defined by this Body of Knowledge: the section it is developed in is the source

Where it is used

4 chapters of the Body of Knowledge use the term. Each link opens the first section that does.

Patterns that use this term

One pattern page uses the term.

Sources

No external source: the term is coined or used in a specific sense by this Body of Knowledge, and the section linked under "Developed in" is its source.

Definitions of legal terms paraphrase the cited text, which governs. Dated statements are as of .

Cite this term

García Aibar, J. (2026). OPA/Rego. In AI Governance Engineering: The Thesis & Body of Knowledge (v0.5.0), Glossary. https://doi.org/10.5281/zenodo.22956197. https://aigovernanceengineer.com/glossary/opa-rego. CC BY 4.0

BibTeX

@misc{aige2026oparego,
  author  = {Jorge García Aibar},
  title   = {{OPA/Rego}},
  note    = {Glossary, AI Governance Engineering: The Thesis \& Body of Knowledge, version 0.5.0},
  year    = {2026},
  doi     = {10.5281/zenodo.22956197},
  url     = {https://aigovernanceengineer.com/glossary/opa-rego}
}