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

Passthrough extauth return a 5xx when the connection to the passthrough server fails #6788

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.

Unable to apply failure_mode_allow to passthrough extauth when extauth is unable to connect to the passthrough server because extauth returns a 4xx and failure_mode_allow only applies to a 5xx

https://www.envoyproxy.io/docs/envoy/latest/api-v3/extensions/filters/http/ext_authz/v3/ext_authz.proto#extensions-filters-http-ext-authz-v3-extauthz

Describe the solution you'd like

When extauth is unable to connect to the passthrough server I'd like extauth to return a 5xx to envoy so failure_mode_allow applies

Describe alternatives you've considered

No response

Additional Context

No response

github-actions[bot] commented 4 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.