TopGit tracks open-policy-agent/opa-envoy-plugin on GitHub. The project has 360 stars. A plugin to enforce OPA policies with Envoy
Snapshot summary built from the project's own GitHub metadata — there's no written TopGit review yet. The page will update automatically when a full review is published.
WHY NO REVIEW YET
TopGit writes full reviews for the most-starred, most-requested repositories. This page is a snapshot until then — see the READ ME tab for the original README in full.
This repository contains an extended version of OPA (OPA-Envoy) that allows you to enforce OPA policies with Envoy.
Note about the repository size: ~1 GB due to historical vendored WebAssembly binaries. For faster clones, use git clone --depth 1. See partial clone options.
Issue Management
Use GitHub Issues to request features or file bugs.
Examples with Envoy-based service meshes
The OPA-Envoy plugin can be deployed with Envoy-based service meshes such as:
Istio
Gloo Edge
Overview
OPA-Envoy extends OPA with a gRPC server that implements the Envoy External
Authorization
API.
You can use this version of OPA to enforce fine-grained, context-aware access
control policies with Envoy without modifying your microservice.
More information about the OPA-Envoy plugin including performance benchmarks, debugging tips, detailed usage examples
can be found in the OPA documentation.
Quick Start
This section assumes you are testing with Envoy v1.10.0 or later.
The quick_start.yaml manifest defines the following resources:
A ConfigMap containing an Envoy configuration with an External Authorization Filter to direct authorization checks to the OPA-Envoy sidecar.
See kubectl get configmap proxy-config for details.
OPA configuration file, and an OPA policy into ConfigMaps in the namespace where the app will be deployed, e.g., default.
A Deployment consisting an example Go application with OPA-Envoy and Envoy sidecars. The sample app provides information
about employees in a company and exposes APIs to get and create employees. More information about the app
can be found here. The deployment also includes an init container that
installs iptables rules to redirect all container traffic through the Envoy proxy sidecar. More information can be
found here.
Make the application accessible outside the cluster.
In the Quick Start section an OPA policy is loaded via a volume-mounted ConfigMap. For production
deployments, we recommend serving policy Bundles from a remote HTTP server.
Using the configuration shown below, OPA will download a sample bundle from https://www.openpolicyagent.org.
The sample bundle contains the exact same policy that was loaded into OPA via the volume-mounted ConfigMap.
You can download the bundle and inspect it yourself:
mkdir example && cd example
curl -s -L https://www.openpolicyagent.org/bundles/envoy/authz | tar xzv
In this way OPA can periodically download bundles of policy from an external server and hence loading the policy via a
volume-mounted ConfigMap would not be required. The readinessProbe to GET /health?bundles ensures that the opa-envoy
container becomes ready after the bundles are activated.
Dependencies
Dependencies are managed with Modules.
If you need to add or update dependencies, modify the go.mod file or
use go get. More information is available here.
Finally commit all changes to the repository.
Maintainers
Please see the MAINTAINERS.md file for maintainer details.
How active is development on open-policy-agent/opa-envoy-plugin?
The most recent commit recorded on open-policy-agent/opa-envoy-plugin was 9 days ago, based on the GitHub push timestamp. The repository has 128 forks — one of the better signals of community interest.
How many stars does open-policy-agent/opa-envoy-plugin have?
open-policy-agent/opa-envoy-plugin has 360 GitHub stars — refresh the page for the live number, or check github.com/open-policy-agent/opa-envoy-plugin. TopGit mirrors GitHub's count but does not claim minute-by-minute accuracy.
Is open-policy-agent/opa-envoy-plugin open source?
Yes — open-policy-agent/opa-envoy-plugin ships under the Apache-2.0 license, which makes its source code freely readable (and, depending on license terms, forkable and reusable). Source: github.com/open-policy-agent/opa-envoy-plugin.
What is open-policy-agent/opa-envoy-plugin?
open-policy-agent/opa-envoy-plugin (open-policy-agent/opa-envoy-plugin) is a Go project on GitHub. From the project's own README: A plugin to enforce OPA policies with Envoy
Where do I read more about open-policy-agent/opa-envoy-plugin?
This TopGit page is a snapshot — the READ ME tab shows the project's own README content (links stripped, images preserved). The GitHub repository at github.com/open-policy-agent/opa-envoy-plugin is the definitive source.
Read full README in the tab above.
Curious whether opa-envoy-plugin is right for you?
Let ChatGPT, Claude, or Perplexity look into it — click below and see what AI actually says about opa-envoy-plugin.