Forum Discussion
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 }
- Glen_Pekarcsik_Nimbostratus
thank you. this worked for me.
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com