Glen_Pekarcsik_
Nov 15, 2018Nimbostratus
ASM IP Address Exception API Question
I am trying to automate the adding of an ip address to the IP Address Exception in an ASM Policy. In the JSON data, I can't out how to get the "Block this IP Address" field to say "Never Block this IP". I think the JSON field is neverBlockRequests. Does anyone know what the correct format for the JSON would be to get the "Block this IP Address" field to say "Never Block this IP"?
{ "ignoreIpReputation": false, "ignoreAnomalies": false, "neverLogRequests": false, "ipAddress": "{{ ipaddressvar }}", "description": "{{ descriptionvar }}", "neverLearnRequests": false, "ipMask": "255.255.255.255", "trustedByPolicyBuilder": true, "neverBlockRequests": false }