Open Policy Agent vs Open Policy Agent Gatekeeper
Open Policy Agent
openpolicyagent.orgOpen Policy Agent Gatekeeper
open-policy-agent.github.ioSide by side
| Figure | Open Policy Agent | Open Policy Agent Gatekeeper |
|---|---|---|
| Price from | Free | Free |
| Free plan | Yes | Yes |
| Free trial | — | — |
| Open source | — | Yes |
| Web | Yes | — |
| Windows | Yes | — |
| macOS | Yes | — |
| Linux | Yes | Yes |
| API | Yes | Yes |
| Self-hosted | Yes | Yes |
| Plans published | 1 | 2 |
| Spec score · Infrastructure Policy as Code Tools | 8.2 (#8) | 8.2 (#9) |
| Community support | The official site links to an OPA Slack community for users to talk with other users and maintainers. | The project site links to a Gatekeeper Slack channel and community meetings. |
| Policy engine | OPA is an open source, general-purpose policy engine that separates policy decision-making from policy enforcement. | Gatekeeper uses Open Policy Agent and the Rego policy language for portable, flexible policy evaluation. |
| Purpose | OPA is an open-source, general-purpose policy engine that unifies policy enforcement across software systems. | Gatekeeper is a validating and mutating Kubernetes webhook that enforces CRD-based policies evaluated by Open Policy Agent. |
| Security reporting | The project asks security reporters to email its security team and says it aims to acknowledge reports and keep reporters informed about remediation. | Security reports are requested by email, with acknowledgement and follow-up after investigation. |
Plans
Open Policy Agent Gatekeeper
- GatekeeperFree
- Open-source GatekeeperFree
In their own words
Open Policy Agent
Open Policy Agent (OPA) is a free, open-source policy engine that separates policy decisions from the systems that enforce them. It evaluates policies against structured input and can return structured data, making it applicable to microservices, Kubernetes, CI/CD pipelines, and API gateways. Policies use Rego, a declarative language for complex hierarchical data. Applications can request evaluations through a REST API, Go API, WebAssembly runtimes, or custom evaluators using OPA's intermediate representation. Bundles distribute policy and data to OPA instances, while discovery bundles carry configuration. Management interfaces support policy distribution, health and status checks, and decision logs. Listed integrations include Kubernetes, Terraform, Envoy, and code editors; the documentation recommends OPA Gatekeeper for Kubernetes admission control. Installation options cover macOS, Linux/Unix, Windows, and Docker. OPA's security guidance says API authentication and authorization are off by default and recommends configuring TLS, authentication, and authorization when securing the API. OPA is a graduated Cloud Native Computing Foundation project.
Open Policy Agent Gatekeeper
Open Policy Agent Gatekeeper is a free, open-source Kubernetes policy controller for Linux and self-hosted deployments. It runs as a validating and mutating webhook, enforcing CRD-based policies evaluated by Open Policy Agent. Validation constraints can deny requests, warn, run in dry-run mode or report violations without changing resources. Mutation policies can alter matching resources during admission before validation checks the final object. An audit function periodically evaluates existing cluster resources against constraints to identify pre-existing misconfigurations. The project includes an extensible policy library with parameterized examples, and provider connections to external data such as image registries and directory services. Named integrations or backed services include Azure Policy for Kubernetes, Google Kubernetes Engine Policy Controller, Rancher, AWS EKS Blueprints and Alibaba Cloud. Installation options include prebuilt, development or locally built images and Helm. Gatekeeper requires Kubernetes resources introduced in version 1.16 and cluster-admin permissions for installation. The gator CLI is documented as beta from version 3.11.