From 208a734d41dea507b10bf030e311875ec87af69a Mon Sep 17 00:00:00 2001 From: "update-envoy[bot]" <135279899+update-envoy[bot]@users.noreply.github.com> Date: Thu, 2 Nov 2023 15:31:30 +0000 Subject: [PATCH] ext_authz: add an option to allow buffering requests on per-route filer (#30571) Signed-off-by: Rohit Agrawal Mirrored from https://github.com/envoyproxy/envoy @ 767e32a87118a9fd9cbb2c6813c6461883e7b2e7 --- .../filters/http/ext_authz/v3/ext_authz.proto | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/envoy/extensions/filters/http/ext_authz/v3/ext_authz.proto b/envoy/extensions/filters/http/ext_authz/v3/ext_authz.proto index 9ea4703b..b4ffcddc 100644 --- a/envoy/extensions/filters/http/ext_authz/v3/ext_authz.proto +++ b/envoy/extensions/filters/http/ext_authz/v3/ext_authz.proto @@ -401,6 +401,19 @@ message CheckSettings { map context_extensions = 1 [(udpa.annotations.sensitive) = true]; // When set to true, disable the configured :ref:`with_request_body - // ` for a route. + // ` for a specific route. + // + // Please note that only one of *disable_request_body_buffering* or + // :ref:`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 ` + // option for a specific route. + // + // Please note that only only one of *with_request_body* or + // :ref:`disable_request_body_buffering ` + // may be specified. + BufferSettings with_request_body = 3; }