Set app control or ips in firewall via API does not work 7.2.12
The below code works for both a get or put and I get back status 200. the issue I have is that nothing in application-list or ips-sensor gets created on post or updated on put.
If I create the policy then add the IPS and APP through the webui to something... and then run the put it doesnt update the values. In all cases I get a status 200.
{ "policyid": "{{ rule_id }}", "status": "enable", "name": "{{ rule_name }}", "srcintf": [ {% for iface in srcintf %} { "name": "{{ iface.name }}" }{% if not loop.last %},{% endif %} {% endfor %} ], "dstintf": [ {% for iface in dstintf %} { "name": "{{ iface.name }}" }{% if not loop.last %},{% endif %} {% endfor %} ], "action": "accept", "srcaddr": [ { "name": "100.119.64.0_24" } ], "dstaddr": [ {% for addr in ip_address %} { "name": "{{ addr.name }}" }{% if not loop.last %},{% endif %} {% endfor %} ], "service": [ {% for svc in service %} { "name": "{{ svc.name }}" }{% if not loop.last %},{% endif %} {% endfor %} ], "http-policy-redirect": "disable", "ssh-policy-redirect": "disable", "ztna-policy-redirect": "disable", "profile-type": "single", "profile-protocol-options": "default", "ssl-ssh-profile": "certificate-inspection", "ips-sensor": "g-default", "application-list": "g-CF_APP_CONTROL", "logtraffic": "utm", "np-acceleration": "enable", "nat": "disable", "schedule": "always" }