In a use-case where OPA is being used as authorization provider from Envoy, what is the format with which OPA receives input from Envoy?
From postman I am calling my endpoint by passing the header x-custom-header: foo. It is first routed to envoy sidecar which in turn calls OPA and forwards the request headers to OPA. What is the format/pattern in which OPA receives the Http request? Please advise.
Request example:
GET /api/v1/employees/departments
Accept: */*
x-custom-header : foo
In a use-case where OPA is being used as authorization provider from Envoy, what is the format with which OPA receives input from Envoy?
From postman I am calling my endpoint by passing the header
x-custom-header: foo. It is first routed to envoy sidecar which in turn calls OPA and forwards the request headers to OPA. What is the format/pattern in which OPA receives the Http request? Please advise.Request example: