.. _envoy_api_file_envoy/config/filter/http/ip_tagging/v2/ip_tagging.proto: IP tagging ========== IP tagging :ref:`configuration overview `. .. _envoy_api_msg_config.filter.http.ip_tagging.v2.IPTagging: config.filter.http.ip_tagging.v2.IPTagging ------------------------------------------ `[config.filter.http.ip_tagging.v2.IPTagging proto] `_ .. code-block:: json { "request_type": "...", "ip_tags": [] } .. _envoy_api_field_config.filter.http.ip_tagging.v2.IPTagging.request_type: request_type (:ref:`config.filter.http.ip_tagging.v2.IPTagging.RequestType `) The type of request the filter should apply to. .. _envoy_api_field_config.filter.http.ip_tagging.v2.IPTagging.ip_tags: ip_tags (:ref:`config.filter.http.ip_tagging.v2.IPTagging.IPTag `, *REQUIRED*) The set of IP tags for the filter. .. _envoy_api_msg_config.filter.http.ip_tagging.v2.IPTagging.IPTag: config.filter.http.ip_tagging.v2.IPTagging.IPTag ------------------------------------------------ `[config.filter.http.ip_tagging.v2.IPTagging.IPTag proto] `_ Supplies the IP tag name and the IP address subnets. .. code-block:: json { "ip_tag_name": "...", "ip_list": [] } .. _envoy_api_field_config.filter.http.ip_tagging.v2.IPTagging.IPTag.ip_tag_name: ip_tag_name (`string `_) Specifies the IP tag name to apply. .. _envoy_api_field_config.filter.http.ip_tagging.v2.IPTagging.IPTag.ip_list: ip_list (:ref:`core.CidrRange `) A list of IP address subnets that will be tagged with ip_tag_name. Both IPv4 and IPv6 are supported. .. _envoy_api_enum_config.filter.http.ip_tagging.v2.IPTagging.RequestType: Enum config.filter.http.ip_tagging.v2.IPTagging.RequestType ----------------------------------------------------------- `[config.filter.http.ip_tagging.v2.IPTagging.RequestType proto] `_ The type of requests the filter should apply to. The supported types are internal, external or both. The :ref:`x-forwarded-for` header is used to determine if a request is internal and will result in :ref:`x-envoy-internal` being set. The filter defaults to both, and it will apply to all request types. .. _envoy_api_enum_value_config.filter.http.ip_tagging.v2.IPTagging.RequestType.BOTH: BOTH *(DEFAULT)* ⁣Both external and internal requests will be tagged. This is the default value. .. _envoy_api_enum_value_config.filter.http.ip_tagging.v2.IPTagging.RequestType.INTERNAL: INTERNAL ⁣Only internal requests will be tagged. .. _envoy_api_enum_value_config.filter.http.ip_tagging.v2.IPTagging.RequestType.EXTERNAL: EXTERNAL ⁣Only external requests will be tagged.