Skip to main content
Feedback

IP Allowlisting Policy Configuration Values

Updated 

Configuration Values

The following configuration values can be defined while configuring the IP Allowlisting Policy on the Call Transformation page:

Field nameTypeField ValueRequired/OptionalDescription
Processing AdapterStringcom.mashery.proxy.customer.generic.ipwhitelist.processorV2RequiredAdapter used to allowlist API requests according to the configured Subnet, IP list, or IP range.
Perform Pre-processingBooleanEnabledRequiredWhen enabled, the policy fetches the allowlisted IPs and authenticates the requesting IP before the request is forwarded to the backend.
Data to make available for pre-processing (PreInput Value)Map—OptionalSpecifies the input data made available for pre-processing.
String

whitelisted_ip_range: <comma separated IP ranges>

OptionalSpecify comma-separated IP ranges in the format n.n.n.0-n.n.n.128.
String

whitelisted_ip_list: <comma separated value of IPs, CIDR format IPs>

OptionalSpecify comma-separated list of IPs or IPs in CIDR format. (for example, a.b.c.d/x)
Boolean

keep_client_ip_as_source: <true or false>

OptionalDefault is false. When set to true, this flag overrides default behavior to pick IP address of intermediaries like proxy server that is closest to Cloud API Management stack.

Examples

Data to make available for pre-processing

The following is an example value for the Data to make available for pre-processing field.

whitelisted_ip_range: 123.45.67.0-123.45.67.128
whitelisted_ip_list: 123.45.67.0, 123.45.67.1, 123.45.67.128
keep_client_ip_as_source: false

Configuration Steps

You can configure this policy as a Processor using either of the following UIs. Refer to the following for configuration steps:

On this Page