transformation.proto

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

Types:

Source File: github.com/solo-io/gloo/projects/gloo/api/external/envoy/extensions/transformation_ee/transformation.proto

FilterTransformations

"transformations": []envoy.config.filter.http.transformation_ee.v2.TransformationRule

Field Type Description
transformations []envoy.config.filter.http.transformation_ee.v2.TransformationRule 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.

TransformationRule

"match": .solo.io.envoy.api.v2.route.RouteMatch
"routeTransformations": .envoy.config.filter.http.transformation_ee.v2.RouteTransformations

Field Type Description
match .solo.io.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.

RouteTransformations

"requestTransformation": .envoy.config.filter.http.transformation_ee.v2.Transformation
"clearRouteCache": bool
"responseTransformation": .envoy.config.filter.http.transformation_ee.v2.Transformation
"onStreamCompletionTransformation": .envoy.config.filter.http.transformation_ee.v2.Transformation

Field Type 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 (for modifying headers and dynamic metadata for access logs).

Transformation

"dlpTransformation": .envoy.config.filter.http.transformation_ee.v2.DlpTransformation

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

DlpTransformation

"actions": []envoy.config.filter.http.transformation_ee.v2.Action
"enableHeaderTransformation": bool
"enableDynamicMetadataTransformation": bool

Field Type Description
actions []envoy.config.filter.http.transformation_ee.v2.Action list of actions to apply.
enableHeaderTransformation bool If true, headers will be transformed. Should only be true 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.

Action

"name": string
"regex": []string
"shadow": bool
"percent": .solo.io.envoy.type.Percent
"maskChar": string

Field Type 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 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 .solo.io.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”.