Save Processing Response from external processor (proto)
This extension has the qualified name envoy.http.ext_proc.response_processors.save_processing_response
Note
This extension is work-in-progress. Functionality is incomplete and it is not intended for production use.
This extension has an unknown security posture and should only be used in deployments where both the downstream and upstream are trusted.
Tip
This extension extends and can be used with the following extension category:
Warning
This API feature is currently work-in-progress. API features marked as work-in-progress are not considered stable, are not covered by the threat model, are not supported by the security team, and are subject to breaking changes. Do not use this feature without understanding each of the previous points.
extensions.http.ext_proc.response_processors.save_processing_response.v3.SaveProcessingResponse
Extension to save the
ProcessingResponse from the
external processor as filter state with name
envoy.http.ext_proc.response_processors.save_processing_response. If
filter_state_name_suffix
is defined, it is appended to this name.
This extension supports saving of request and response headers, request and response trailers, and immediate response.
Note
Response processors are currently in alpha.
{
"filter_state_name_suffix": ...,
"save_request_headers": {...},
"save_response_headers": {...},
"save_request_trailers": {...},
"save_response_trailers": {...},
"save_immediate_response": {...}
}
- filter_state_name_suffix
(string) The default filter state name is
envoy.http.ext_proc.response_processors.save_processing_response. If defined,filter_state_name_suffixis appended to this name.For example, setting
filter_state_name_suffixtoxyzwill set the filter state name toenvoy.http.ext_proc.response_processors.save_processing_response.xyz.
- save_request_headers
(extensions.http.ext_proc.response_processors.save_processing_response.v3.SaveProcessingResponse.SaveOptions) Save the response to filter state when request_headers is set.
- save_response_headers
(extensions.http.ext_proc.response_processors.save_processing_response.v3.SaveProcessingResponse.SaveOptions) Save the response to filter state when response_headers is set.
- save_request_trailers
(extensions.http.ext_proc.response_processors.save_processing_response.v3.SaveProcessingResponse.SaveOptions) Save the response to filter state when request_trailers is set.
- save_response_trailers
(extensions.http.ext_proc.response_processors.save_processing_response.v3.SaveProcessingResponse.SaveOptions) Save the response to filter state when response_trailers is set.
- save_immediate_response
(extensions.http.ext_proc.response_processors.save_processing_response.v3.SaveProcessingResponse.SaveOptions) Save the response to filter state when immediate_response is set.
extensions.http.ext_proc.response_processors.save_processing_response.v3.SaveProcessingResponse.SaveOptions
Options for saving the processing response.
{
"save_response": ...,
"save_on_error": ...
}
- save_response
(bool) When set to
true, saves the response for the corresponding response type.Defaults to
false.
- save_on_error
(bool) When set to
true, saves the response if there was an error when processing the response from the external processor.Defaults to
false.