Configure the Access Control Policy
Use SAP API Management’s Access Control policy to enforce IP allowlisting at the API-proxy layer as an additional defense-in-depth control.
-
You need proxy-level control/auditing per API.
-
Compliance requires layered enforcement beyond WAF/firewall.
-
Temporary, API-specific allowlists are needed without changing perimeter rules.
Follow the steps below to apply the AccessControl policy in your API Proxy:
- Select API proxy and click Policies.
- Click Edit.
- Select ProxyEndpoint.
- Select PreFlow.
- Under Traffic Management Policies, choose Access Control.
- Click on the + button to add the policy.
- Enter the Policy Name, set the Stream as Incoming Request and click Add.
- Click Save.
- Deploy this revision
- Test from allowed vs. non-allowed IPs to confirm behavior.
-
Enforcement is per-proxy; perimeter/WAF rules still apply first.
-
Use
/32
for exact IPs; use CIDRs (e.g.,/24
) only when justified. -
Ensure Cloud Connector/API Gateway preserves the client IP (e.g.,
X-Forwarded-For
) so the policy matches the real source. -
Keep proxy allowlists in sync with perimeter rules to avoid drift.