package envoy.config.common.mutation_rules.v3

Mouse Melon logoGet desktop application:
View/edit binary Protocol Buffers messages

message HeaderMutation

mutation_rules.proto:92

The HeaderMutation structure specifies an action that may be taken on HTTP headers.

Used in: extensions.filters.http.header_mutation.v3.Mutations, extensions.http.early_header_mutation.header_mutation.v3.HeaderMutation

message HeaderMutationRules

mutation_rules.proto:47

The HeaderMutationRules structure specifies what headers may be manipulated by a processing filter. This set of rules makes it possible to control which modifications a filter may make. By default, an external processing server may add, modify, or remove any header except for an "Envoy internal" header (which is typically denoted by an x-envoy prefix) or specific headers that may affect further filter processing: * ``host`` * ``:authority`` * ``:scheme`` * ``:method`` Every attempt to add, change, append, or remove a header will be tested against the rules here. Disallowed header mutations will be ignored unless ``disallow_is_error`` is set to true. Attempts to remove headers are further constrained -- regardless of the settings, system-defined headers (that start with ``:``) and the ``host`` header may never be removed. In addition, a counter will be incremented whenever a mutation is rejected. In the ext_proc filter, that counter is named ``rejected_header_mutations``. [#next-free-field: 8]

Used in: extensions.filters.http.ext_authz.v3.ExtAuthz, extensions.filters.http.ext_proc.v3.ExternalProcessor