Opa-Envoy & gRPC parsing #226
Replies: 2 comments 5 replies
-
OPA implements Envoy's external authz API. You would probably have to check how Envoy (ie,. Istio proxy) handles calls from your services. I would imagine the |
Beta Was this translation helpful? Give feedback.
-
I've interpreted this question as being about gRPC payloads. To have opa-envoy-plugin parse these and provide them as input to your policies, some extra configuration is needed. The used protobuf definitions need to be compiled and provided via opa-envoy-plugin's config, see here:
👉 Also see examples/grpc for a working example |
Beta Was this translation helpful? Give feedback.
-
Hello all,
Would anyone be able to help with my current problem please?
I have setup Opa-Envoy in my cluster with the following template (with some small modifications) from the docs https://github.com/open-policy-agent/opa-envoy-plugin/blob/main/examples/istio/quick_start.yaml
I have a mix of REST and gRPC services and I need to be able to parse both types in Envoy so I can write the correct rego policies.
From the REST side, this all works fine, however i'm having issues getting any information in the Envoy logs regarding the gRPC call.
Does anyone know if there is additional configuration that I would need to setup or any documentation to look at?
Beta Was this translation helpful? Give feedback.
All reactions