ext_authz: add an option to allow buffering requests on per-route filer (#30571)

Signed-off-by: Rohit Agrawal <rohit.agrawal@databricks.com>

Mirrored from https://github.com/envoyproxy/envoy @ 767e32a87118a9fd9cbb2c6813c6461883e7b2e7
main
update-envoy[bot] 2 years ago
parent 59b9cf82d5
commit 208a734d41
  1. 15
      envoy/extensions/filters/http/ext_authz/v3/ext_authz.proto

@ -401,6 +401,19 @@ message CheckSettings {
map<string, string> context_extensions = 1 [(udpa.annotations.sensitive) = true];
// When set to true, disable the configured :ref:`with_request_body
// <envoy_v3_api_field_extensions.filters.http.ext_authz.v3.ExtAuthz.with_request_body>` for a route.
// <envoy_v3_api_field_extensions.filters.http.ext_authz.v3.ExtAuthz.with_request_body>` for a specific route.
//
// Please note that only one of *disable_request_body_buffering* or
// :ref:`with_request_body <envoy_v3_api_field_extensions.filters.http.ext_authz.v3.CheckSettings.with_request_body>`
// may be specified.
bool disable_request_body_buffering = 2;
// Enable or override request body buffering, which is configured using the
// :ref:`with_request_body <envoy_v3_api_field_extensions.filters.http.ext_authz.v3.ExtAuthz.with_request_body>`
// option for a specific route.
//
// Please note that only only one of *with_request_body* or
// :ref:`disable_request_body_buffering <envoy_v3_api_field_extensions.filters.http.ext_authz.v3.CheckSettings.disable_request_body_buffering>`
// may be specified.
BufferSettings with_request_body = 3;
}

Loading…
Cancel
Save