Open Policy Agent (OPA) is the foundation for enforcing Policy‑as‑Code across modern systems. It gives you a unified way to define, test, and deploy policies so they’re consistent everywhere—services, APIs, Kubernetes, CI/CD pipelines, and more.
OPA uses Rego, a purpose‑built policy language. Rego is