transformation_ee_filter.proto

Package : envoy.config.filter.http.transformation_ee.v2

Top

transformation_ee_filter.proto

Table of Contents

Action

Field Type Label Description
name string Identifier for this action. Used mostly to help ID specific actions in logs. If left null will default to unknown
regex []string repeated List of regexes to apply to the response body to match data which should be masked They will be applied iteratively in the order which they are specified. This field may be deprecated in the future.
regexActions []envoy.config.filter.http.transformation_ee.v2.RegexAction repeated List of regexes to apply to the response body to match data which should be masked They will be applied iteratively in the order which they are specified.
shadow bool If specified, this rule will not actually be applied, but only logged.
percent envoy.type.Percent The percent of the string which should be masked. If not set, defaults to 75%
maskChar string The character which should overwrite the masked data If left empty, defaults to “X”

DlpTransformation

Field Type Label Description
actions []envoy.config.filter.http.transformation_ee.v2.Action repeated list of actions to apply
enableHeaderTransformation bool If true, headers will be transformed. Should only be used for the on_stream_complete_transformation route transformation type.
enableDynamicMetadataTransformation bool If true, dynamic metadata will be transformed. Should only be used for the on_stream_complete_transformation route transformation type.

FilterTransformations

Field Type Label Description
transformations []envoy.config.filter.http.transformation_ee.v2.TransformationRule repeated Specifies transformations based on the route matches. The first matched transformation will be applied. If there are overlapped match conditions, please put the most specific match first.

RegexAction

Field Type Label Description
regex string The regex to match for masking.
subgroup uint32 If provided and not 0, only this specific subgroup of the regex will be masked.

RouteTransformations

Field Type Label Description
requestTransformation envoy.config.filter.http.transformation_ee.v2.Transformation
clearRouteCache bool clear the route cache if the request transformation was applied
responseTransformation envoy.config.filter.http.transformation_ee.v2.Transformation
onStreamCompletionTransformation envoy.config.filter.http.transformation_ee.v2.Transformation Apply a transformation in the onStreamComplete callback

Transformation

Field Type Label Description
dlpTransformation envoy.config.filter.http.transformation_ee.v2.DlpTransformation

TransformationRule

Field Type Label Description
match envoy.api.v2.route.RouteMatch The route matching parameter. Only when the match is satisfied, the “requires” field will apply.
For example: following match will match all requests.
.. code-block:: yaml
match: prefix: /
routeTransformations envoy.config.filter.http.transformation_ee.v2.RouteTransformations transformation to perform