solo-io / gloo

The Feature-rich, Kubernetes-native, Next-Generation API Gateway Built on Envoy
https://docs.solo.io/
Apache License 2.0
4.08k stars 437 forks source link

Support option to send all request headers to extauth #6939

Open bdecoste opened 2 years ago

bdecoste commented 2 years ago

Version

1.11.x (latest stable)

Is your feature request related to a problem? Please describe.

Currently Gloo and Envoy only support options for sending headers to extauth based on an explicit list or a regex. We need to be able to send all request headers to extauth without the overhead of a regex or having to explicitly list all possible headers.

Describe the solution you'd like

Support a configuration option to send all headers in Envoy and Gloo (i.e. sendAllHeaders: boolean)

https://www.envoyproxy.io/docs/envoy/latest/api-v3/extensions/filters/http/ext_authz/v3/ext_authz.proto.html?highlight=allowed_upstream_headers#envoy-v3-api-msg-extensions-filters-http-ext-authz-v3-authorizationrequest

https://docs.solo.io/gloo-edge/latest/reference/api/github.com/solo-io/gloo/projects/gloo/api/v1/enterprise/options/extauth/v1/extauth.proto.sk/#request

Describe alternatives you've considered

No response

Additional Context

No response

github-actions[bot] commented 3 months ago

This issue has been marked as stale because of no activity in the last 180 days. It will be closed in the next 180 days unless it is tagged "no stalebot" or other activity occurs.