Hi @DINESH_J
Whenever the IP from which we will test the url is not whitelisted in policies, currently I’m getting the response as:
HTTP/1.1 403 Forbidden
SOAPAction: “register”
X-Forwarded-For: 1.1.1.1.
Host: hostname:1234
Accept-Encoding: gzip,deflate
Content-Type: text/xml; charset=UTF-8
Strict-Transport-Security: max-age=16070400; includeSubDomains
<?xml version='1.0' encoding='UTF-8'?>ns2:ReceiverAPI Gateway encountered an error. Error Message: Unauthorized application request. Request Details: Service - servicename, Operation - register, Invocation Time:12:34:09 PM, Date:Oct 18, 2023, Client IP - 1.1.1.1, User - Default and Application:sys:defaultApplication
Here, I want to mask the IP ADDRESS to some ******** value.
I have configured the data masking policy in both response processing and Error handling with JSON as $[‘x._source.applicationIp’] with masking TYPE to MASK and set the value as ******** but it is not working.
#API-Gateway#API-Management#webMethods