{"id":13788036,"url":"https://github.com/open-policy-agent/opa-envoy-plugin","last_synced_at":"2026-03-09T13:00:56.077Z","repository":{"id":38091419,"uuid":"124440925","full_name":"open-policy-agent/opa-envoy-plugin","owner":"open-policy-agent","description":"A plugin to enforce OPA policies with Envoy","archived":false,"fork":false,"pushed_at":"2026-02-26T19:39:29.000Z","size":968054,"stargazers_count":353,"open_issues_count":18,"forks_count":124,"subscribers_count":18,"default_branch":"main","last_synced_at":"2026-02-27T01:33:50.981Z","etag":null,"topics":["authorization","cloud-native","compliance","envoy","istio-proxy","opa","opa-envoy","policy"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/open-policy-agent.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":"MAINTAINERS.md","copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2018-03-08T19:55:10.000Z","updated_at":"2026-02-26T19:37:20.000Z","dependencies_parsed_at":"2024-04-30T14:00:45.684Z","dependency_job_id":"2146c596-4ba5-4c30-9e08-688a87ae978a","html_url":"https://github.com/open-policy-agent/opa-envoy-plugin","commit_stats":{"total_commits":485,"total_committers":53,"mean_commits":9.150943396226415,"dds":0.6824742268041237,"last_synced_commit":"7dbefee35548114346aabcea31636119194d7d1f"},"previous_names":["open-policy-agent/opa-istio-plugin"],"tags_count":134,"template":false,"template_full_name":null,"purl":"pkg:github/open-policy-agent/opa-envoy-plugin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/open-policy-agent%2Fopa-envoy-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/open-policy-agent%2Fopa-envoy-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/open-policy-agent%2Fopa-envoy-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/open-policy-agent%2Fopa-envoy-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/open-policy-agent","download_url":"https://codeload.github.com/open-policy-agent/opa-envoy-plugin/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/open-policy-agent%2Fopa-envoy-plugin/sbom","scorecard":{"id":708485,"data":{"date":"2025-08-11","repo":{"name":"github.com/open-policy-agent/opa-envoy-plugin","commit":"33083d6edd82ef39fca92437b8e0beecd7eab887"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.5,"checks":[{"name":"Code-Review","score":9,"reason":"Found 14/15 approved changesets -- score normalized to 9","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":10,"reason":"30 commit(s) and 16 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/checks.yaml:1","Warn: no topLevel permission defined: .github/workflows/post-tag.yaml:1","Warn: no topLevel permission defined: .github/workflows/proxy_init-tag.yaml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact v1.7.1-envoy not signed: https://api.github.com/repos/open-policy-agent/opa-envoy-plugin/releases/236709111","Warn: release artifact v1.6.0-envoy-2 not signed: https://api.github.com/repos/open-policy-agent/opa-envoy-plugin/releases/229117790","Warn: release artifact v1.5.1-envoy not signed: https://api.github.com/repos/open-policy-agent/opa-envoy-plugin/releases/223143630","Warn: release artifact v1.5.0-envoy-4 not signed: https://api.github.com/repos/open-policy-agent/opa-envoy-plugin/releases/221897958","Warn: release artifact v1.4.2-envoy not signed: https://api.github.com/repos/open-policy-agent/opa-envoy-plugin/releases/216236224","Warn: release artifact v1.7.1-envoy does not have provenance: https://api.github.com/repos/open-policy-agent/opa-envoy-plugin/releases/236709111","Warn: release artifact v1.6.0-envoy-2 does not have provenance: https://api.github.com/repos/open-policy-agent/opa-envoy-plugin/releases/229117790","Warn: release artifact v1.5.1-envoy does not have provenance: https://api.github.com/repos/open-policy-agent/opa-envoy-plugin/releases/223143630","Warn: release artifact v1.5.0-envoy-4 does not have provenance: https://api.github.com/repos/open-policy-agent/opa-envoy-plugin/releases/221897958","Warn: release artifact v1.4.2-envoy does not have provenance: https://api.github.com/repos/open-policy-agent/opa-envoy-plugin/releases/216236224"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Binary-Artifacts","score":4,"reason":"binaries present in source code","details":["Warn: binary detected: vendor/github.com/bytecodealliance/wasmtime-go/v3/build/linux-aarch64/libwasmtime.a:1","Warn: binary detected: vendor/github.com/bytecodealliance/wasmtime-go/v3/build/linux-x86_64/libwasmtime.a:1","Warn: binary detected: vendor/github.com/bytecodealliance/wasmtime-go/v3/build/macos-aarch64/libwasmtime.a:1","Warn: binary detected: vendor/github.com/bytecodealliance/wasmtime-go/v3/build/macos-x86_64/libwasmtime.a:1","Warn: binary detected: vendor/github.com/bytecodealliance/wasmtime-go/v3/build/windows-x86_64/libwasmtime.a:1","Warn: binary detected: vendor/github.com/open-policy-agent/opa/internal/compiler/wasm/opa/opa.wasm:1"],"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 30 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":8,"reason":"2 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: OSV-2022-1155","Warn: Project is vulnerable to: OSV-2022-1172"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Pinned-Dependencies","score":1,"reason":"dependency not pinned by hash detected -- score normalized to 1","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/checks.yaml:28: update your workflow using https://app.stepsecurity.io/secureworkflow/open-policy-agent/opa-envoy-plugin/checks.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/checks.yaml:39: update your workflow using https://app.stepsecurity.io/secureworkflow/open-policy-agent/opa-envoy-plugin/checks.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/checks.yaml:51: update your workflow using https://app.stepsecurity.io/secureworkflow/open-policy-agent/opa-envoy-plugin/checks.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/checks.yaml:68: update your workflow using https://app.stepsecurity.io/secureworkflow/open-policy-agent/opa-envoy-plugin/checks.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/checks.yaml:97: update your workflow using https://app.stepsecurity.io/secureworkflow/open-policy-agent/opa-envoy-plugin/checks.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/checks.yaml:121: update your workflow using https://app.stepsecurity.io/secureworkflow/open-policy-agent/opa-envoy-plugin/checks.yaml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/checks.yaml:124: update your workflow using https://app.stepsecurity.io/secureworkflow/open-policy-agent/opa-envoy-plugin/checks.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/checks.yaml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/open-policy-agent/opa-envoy-plugin/checks.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/post-tag.yaml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/open-policy-agent/opa-envoy-plugin/post-tag.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/proxy_init-tag.yaml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/open-policy-agent/opa-envoy-plugin/proxy_init-tag.yaml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/proxy_init-tag.yaml:26: update your workflow using https://app.stepsecurity.io/secureworkflow/open-policy-agent/opa-envoy-plugin/proxy_init-tag.yaml/main?enable=pin","Warn: containerImage not pinned by hash: Dockerfile:7","Warn: containerImage not pinned by hash: examples/grpc/testsrv/Dockerfile:1: pin your Docker image by updating golang:1.18 to golang:1.18@sha256:50c889275d26f816b5314fc99f55425fa76b18fcaf16af255f5d57f09e1f48da","Warn: containerImage not pinned by hash: proxy_init/Dockerfile:1: pin your Docker image by updating ubuntu:focal to ubuntu:focal@sha256:8feb4d8ca5354def3d8fce243717141ce31e2c428701f6682bd2fafe15388214","Warn: downloadThenRun not pinned by hash: build/install-istio-with-kind.sh:28","Info:   0 out of   9 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   2 third-party GitHubAction dependencies pinned","Info:   0 out of   3 containerImage dependencies pinned","Info:   0 out of   1 downloadThenRun dependencies pinned","Info:   1 out of   1 goCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}}]},"last_synced_at":"2025-08-22T07:27:07.798Z","repository_id":38091419,"created_at":"2025-08-22T07:27:07.798Z","updated_at":"2025-08-22T07:27:07.798Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30297111,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-09T11:12:22.024Z","status":"ssl_error","status_checked_at":"2026-03-09T11:10:54.577Z","response_time":61,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["authorization","cloud-native","compliance","envoy","istio-proxy","opa","opa-envoy","policy"],"created_at":"2024-08-03T21:00:34.938Z","updated_at":"2026-03-09T13:00:56.061Z","avatar_url":"https://github.com/open-policy-agent.png","language":"Go","funding_links":[],"categories":["Kubernetes"],"sub_categories":["Service Mesh Authorization"],"readme":"# opa-envoy-plugin\n\n[![Build Status](https://github.com/open-policy-agent/opa-envoy-plugin/actions/workflows/checks.yaml/badge.svg?branch=main)](https://github.com/open-policy-agent/opa-envoy-plugin/actions) [![Go Report Card](https://goreportcard.com/badge/github.com/open-policy-agent/opa-envoy-plugin)](https://goreportcard.com/report/github.com/open-policy-agent/opa-envoy-plugin)\n\nThis repository contains an extended version of OPA (**OPA-Envoy**) that allows you to enforce OPA policies with Envoy.\n\n\u003e **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](https://github.blog/open-source/git/get-up-to-speed-with-partial-clone-and-shallow-clone/).\n\n## Issue Management\n\nUse [GitHub Issues](https://github.com/open-policy-agent/opa-envoy-plugin/issues) to request features or file bugs.\n\n## Examples with Envoy-based service meshes\n\nThe OPA-Envoy plugin can be deployed with Envoy-based service meshes such as:\n\n* [Istio](./examples/istio)\n* [Gloo Edge](./examples/gloo-edge)\n\n## Overview\n\nOPA-Envoy extends OPA with a gRPC server that implements the [Envoy External\nAuthorization\nAPI](https://www.envoyproxy.io/docs/envoy/latest/intro/arch_overview/security/ext_authz_filter.html).\nYou can use this version of OPA to enforce fine-grained, context-aware access\ncontrol policies with Envoy _without_ modifying your microservice.\n\nMore information about the OPA-Envoy plugin including performance benchmarks, debugging tips, detailed usage examples\ncan be found in the [OPA documentation](https://www.openpolicyagent.org/docs/envoy).\n\n## Quick Start\n\nThis section assumes you are testing with Envoy v1.10.0 or later.\n\n1. Start Minikube.\n\n    ```bash\n    minikube start\n    ```\n\n1. Install OPA-Envoy.\n\n    ```bash\n    kubectl apply -f https://raw.githubusercontent.com/open-policy-agent/opa-envoy-plugin/main/quick_start.yaml\n    ```\n\n    The `quick_start.yaml` manifest defines the following resources:\n\n    * A ConfigMap containing an Envoy configuration with an External Authorization Filter to direct authorization checks to the OPA-Envoy sidecar.\n    See `kubectl get configmap proxy-config` for details.\n\n    * OPA configuration file, and an OPA policy into ConfigMaps in the namespace where the app will be deployed, e.g., `default`.\n\n    * A Deployment consisting an example Go application with OPA-Envoy and Envoy sidecars. The sample app provides information\n    about employees in a company and exposes APIs to `get` and `create` employees. More information about the app\n    can be found [here](https://github.com/ashutosh-narkar/go-test-server). The deployment also includes an init container that\n    installs iptables rules to redirect all container traffic through the Envoy proxy sidecar. More information can be\n    found [here](https://github.com/open-policy-agent/contrib/tree/main/envoy_iptables).\n\n1. Make the application accessible outside the cluster.\n\n    ```bash\n    kubectl expose deployment example-app --type=NodePort --name=example-app-service --port=8080\n    ```\n\n1. Set the `SERVICE_URL` environment variable to the service’s IP/port.\n\n    **minikube**:\n\n    ```bash\n    export SERVICE_PORT=$(kubectl get service example-app-service -o jsonpath='{.spec.ports[?(@.port==8080)].nodePort}')\n    export SERVICE_HOST=$(minikube ip)\n    export SERVICE_URL=$SERVICE_HOST:$SERVICE_PORT\n    echo $SERVICE_URL\n    ```\n\n    **minikube (example)**:\n\n    ```bash\n    192.168.99.100:31380\n    ```\n\n1. Exercise the sample OPA policy.\n\n    For convenience, we’ll want to store Alice’s and Bob’s tokens in environment variables.\n\n    ```bash\n    export ALICE_TOKEN=\"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJyb2xlIjoiZ3Vlc3QiLCJzdWIiOiJZV3hwWTJVPSIsIm5iZiI6MTUxNDg1MTEzOSwiZXhwIjoxOTQxMDgxNTM5fQ.rN_hxMsoQzCjg6lav6mfzDlovKM9azaAjuwhjq3n9r8\"\n    export BOB_TOKEN=\"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJyb2xlIjoiYWRtaW4iLCJzdWIiOiJZbTlpIiwibmJmIjoxNTE0ODUxMTM5LCJleHAiOjE5NDEwODE1Mzl9.ek3jmNLPclafELVLTfyjtQNj0QKIEGrbhKqpwXmQ8EQ\"\n    ```\n\n    Check that `Alice` can get employees **but cannot** create one.\n\n    ```bash\n    curl -i -H \"Authorization: Bearer \"$ALICE_TOKEN\"\" http://$SERVICE_URL/people\n    curl -i -H \"Authorization: Bearer \"$ALICE_TOKEN\"\" -d '{\"firstname\":\"Charlie\", \"lastname\":\"OPA\"}' -H \"Content-Type: application/json\" -X POST http://$SERVICE_URL/people\n    ```\n\n   Check that `Bob` can get employees and also create one.\n\n   ```bash\n    curl -i -H \"Authorization: Bearer \"$BOB_TOKEN\"\" http://$SERVICE_URL/people\n    curl -i -H \"Authorization: Bearer \"$BOB_TOKEN\"\" -d '{\"firstname\":\"Charlie\", \"lastname\":\"Opa\"}' -H \"Content-Type: application/json\" -X POST http://$SERVICE_URL/people\n    ```\n\n   Check that `Bob` **cannot** create an employee with the same firstname as himself.\n\n   ```bash\n    curl -i  -H \"Authorization: Bearer \"$BOB_TOKEN\"\" -d '{\"firstname\":\"Bob\", \"lastname\":\"Rego\"}' -H \"Content-Type: application/json\" -X POST http://$SERVICE_URL/people\n    ```\n\n## Configuration\n\nTo deploy OPA-Envoy include the following container in your Kubernetes Deployments:\n\n```yaml\ncontainers:\n- image: openpolicyagent/opa:latest-envoy\n  imagePullPolicy: IfNotPresent\n  name: opa-envoy\n  volumeMounts:\n  - mountPath: /config\n    name: opa-envoy-config\n  args:\n  - run\n  - --server\n  - --addr=localhost:8181\n  - --diagnostic-addr=0.0.0.0:8282\n  - --config-file=/config/config.yaml\n  livenessProbe:\n    httpGet:\n      path: /health?plugins\n      port: 8282\n  readinessProbe:\n    httpGet:\n      path: /health?plugins\n      port: 8282\n```\n\nThe OPA-Envoy configuration file should be volume mounted into the container. Add the following volume to your Kubernetes Deployments:\n\n```yaml\nvolumes:\n- name: opa-envoy-config\n  configMap:\n    name: opa-envoy-config\n```\n\n### Example Bundle Configuration\n\nIn the [Quick Start](#quick-start) section an OPA policy is loaded via a volume-mounted ConfigMap. For production\ndeployments, we recommend serving policy [Bundles](https://www.openpolicyagent.org/docs/management-bundles) from a remote HTTP server.\n\nUsing the configuration shown below, OPA will download a sample bundle from [https://www.openpolicyagent.org](https://www.openpolicyagent.org).\nThe sample bundle contains the exact same policy that was loaded into OPA via the volume-mounted ConfigMap.\n\n**config.yaml**:\n\n```yaml\nservices:\n  - name: controller\n    url: https://www.openpolicyagent.org\nbundles:\n  envoy/authz:\n    service: controller\nplugins:\n  envoy_ext_authz_grpc:\n    addr: :9191 # default `:9191`\n    path: envoy/authz/allow # default: `envoy/authz/allow`\n    dry-run: false # default: false\n    enable-reflection: false # default: false\n    grpc-max-recv-msg-size: 40194304 # default: 1024 * 1024 * 4\n    grpc-max-send-msg-size: 2147483647 # default: max Int\n    skip-request-body-parse: false # default: false\n    enable-performance-metrics: false # default: false. Adds `grpc_request_duration_seconds` prometheus histogram metric \n```\n\nYou can download the bundle and inspect it yourself:\n\n```bash\nmkdir example \u0026\u0026 cd example\ncurl -s -L https://www.openpolicyagent.org/bundles/envoy/authz | tar xzv\n```\n\nIn this way OPA can periodically download bundles of policy from an external server and hence loading the policy via a\nvolume-mounted ConfigMap would not be required. The `readinessProbe` to `GET /health?bundles` ensures that the `opa-envoy`\ncontainer becomes ready after the bundles are activated.\n\n## Dependencies\n\nDependencies are managed with [Modules](https://github.com/golang/go/wiki/Modules).\nIf you need to add or update dependencies, modify the `go.mod` file or\nuse `go get`. More information is available [here](https://github.com/golang/go/wiki/Modules#how-to-upgrade-and-downgrade-dependencies).\nFinally commit all changes to the repository.\n\n## Maintainers\n\nPlease see the [MAINTAINERS.md](./MAINTAINERS.md) file for maintainer details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopen-policy-agent%2Fopa-envoy-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopen-policy-agent%2Fopa-envoy-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopen-policy-agent%2Fopa-envoy-plugin/lists"}