Skip to Content
0
May 12 at 02:16 PM

Dynamically allow multiple IP ranges

120 Views

In API Management, my use case is to Allow multiple IP address range for each application. Implemented this by adding IP address as a custom attribute at application level. This is working just fine. However, next challenge is - how do I Allow multiple IP address ranges. Does SAP APIM has a built-in functionality to whitelist multi IP ranges by application (without hard coding the values inside policy).

One workaround option I am considering is to define multiple "Access Control" policy and put a condition if an application level attribute exists. How do I put a condition in a policy to validate if a custom attribute is defined for the application. In another words, how do I check if a variable exists in the policy condition statement.