.. _envoy_v3_api_file_envoy/extensions/geoip_providers/common/v3/common.proto: Common Geolocation Provider Configuration (proto) ================================================= Common geolocation provider :ref:`configuration overview `. Common configuration shared across geolocation providers. .. _envoy_v3_api_msg_extensions.geoip_providers.common.v3.CommonGeoipProviderConfig: extensions.geoip_providers.common.v3.CommonGeoipProviderConfig -------------------------------------------------------------- :repo:`[extensions.geoip_providers.common.v3.CommonGeoipProviderConfig proto] ` .. code-block:: json :force: { "geo_headers_to_add": {...} } .. _envoy_v3_api_field_extensions.geoip_providers.common.v3.CommonGeoipProviderConfig.geo_headers_to_add: geo_headers_to_add (:ref:`extensions.geoip_providers.common.v3.CommonGeoipProviderConfig.GeolocationHeadersToAdd `, *REQUIRED*) Configuration for geolocation headers to add to the request. .. _envoy_v3_api_msg_extensions.geoip_providers.common.v3.CommonGeoipProviderConfig.GeolocationHeadersToAdd: extensions.geoip_providers.common.v3.CommonGeoipProviderConfig.GeolocationHeadersToAdd -------------------------------------------------------------------------------------- :repo:`[extensions.geoip_providers.common.v3.CommonGeoipProviderConfig.GeolocationHeadersToAdd proto] ` The set of geolocation headers to add to the request. If any of the configured headers is present in the incoming request, it will be overridden by the :ref:`GeoIP filter `. .. code-block:: json :force: { "country": ..., "city": ..., "region": ..., "asn": ..., "is_anon": ..., "anon": ..., "anon_vpn": ..., "anon_hosting": ..., "anon_tor": ..., "anon_proxy": ..., "isp": ..., "apple_private_relay": ... } .. _envoy_v3_api_field_extensions.geoip_providers.common.v3.CommonGeoipProviderConfig.GeolocationHeadersToAdd.country: country (`string `_) If set, the header will be used to populate the country ISO code associated with the IP address. .. _envoy_v3_api_field_extensions.geoip_providers.common.v3.CommonGeoipProviderConfig.GeolocationHeadersToAdd.city: city (`string `_) If set, the header will be used to populate the city associated with the IP address. .. _envoy_v3_api_field_extensions.geoip_providers.common.v3.CommonGeoipProviderConfig.GeolocationHeadersToAdd.region: region (`string `_) If set, the header will be used to populate the region ISO code associated with the IP address. The least specific subdivision will be selected as the region value. .. _envoy_v3_api_field_extensions.geoip_providers.common.v3.CommonGeoipProviderConfig.GeolocationHeadersToAdd.asn: asn (`string `_) If set, the header will be used to populate the ASN associated with the IP address. .. _envoy_v3_api_field_extensions.geoip_providers.common.v3.CommonGeoipProviderConfig.GeolocationHeadersToAdd.is_anon: is_anon (`string `_) This field is deprecated; use ``anon`` instead. .. _envoy_v3_api_field_extensions.geoip_providers.common.v3.CommonGeoipProviderConfig.GeolocationHeadersToAdd.anon: anon (`string `_) If set, the IP address will be checked if it belongs to any type of anonymization network (e.g., VPN, public proxy). The header will be populated with the check result. Header value will be set to either ``true`` or ``false`` depending on the check result. .. _envoy_v3_api_field_extensions.geoip_providers.common.v3.CommonGeoipProviderConfig.GeolocationHeadersToAdd.anon_vpn: anon_vpn (`string `_) If set, the IP address will be checked if it belongs to a VPN and the header will be populated with the check result. Header value will be set to either ``true`` or ``false`` depending on the check result. .. _envoy_v3_api_field_extensions.geoip_providers.common.v3.CommonGeoipProviderConfig.GeolocationHeadersToAdd.anon_hosting: anon_hosting (`string `_) If set, the IP address will be checked if it belongs to a hosting provider and the header will be populated with the check result. Header value will be set to either ``true`` or ``false`` depending on the check result. .. _envoy_v3_api_field_extensions.geoip_providers.common.v3.CommonGeoipProviderConfig.GeolocationHeadersToAdd.anon_tor: anon_tor (`string `_) If set, the IP address will be checked if it belongs to a TOR exit node and the header will be populated with the check result. Header value will be set to either ``true`` or ``false`` depending on the check result. .. _envoy_v3_api_field_extensions.geoip_providers.common.v3.CommonGeoipProviderConfig.GeolocationHeadersToAdd.anon_proxy: anon_proxy (`string `_) If set, the IP address will be checked if it belongs to a public proxy and the header will be populated with the check result. Header value will be set to either ``true`` or ``false`` depending on the check result. .. _envoy_v3_api_field_extensions.geoip_providers.common.v3.CommonGeoipProviderConfig.GeolocationHeadersToAdd.isp: isp (`string `_) If set, the header will be used to populate the ISP associated with the IP address. .. _envoy_v3_api_field_extensions.geoip_providers.common.v3.CommonGeoipProviderConfig.GeolocationHeadersToAdd.apple_private_relay: apple_private_relay (`string `_) If set, the IP address will be checked if it belongs to the ISP named iCloud Private Relay and the header will be populated with the check result. Header value will be set to either ``true`` or ``false`` depending on the check result.