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 name | Type | Field Value | Required/Optional | Description |
|---|---|---|---|---|
| Processing Adapter | String | com.mashery.proxy.customer.generic.ipwhitelist.processorV2 | Required | Adapter used to allowlist API requests according to the configured Subnet, IP list, or IP range. |
| Perform Pre-processing | Boolean | Enabled | Required | When 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 | — | Optional | Specifies the input data made available for pre-processing. |
| String |
| Optional | Specify comma-separated IP ranges in the format n.n.n.0-n.n.n.128. | |
| String |
| Optional | Specify comma-separated list of IPs or IPs in CIDR format. (for example, a.b.c.d/x) | |
| Boolean |
| Optional | Default 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:
- Configuring Call Transformations in Policy UI (Recommended — supports policy picker with inline help and auto-population)
- Configuring Call Transformation in Legacy UI