Hello, and thanks for whatever help you can provide.
I am trying to create a script that will modify one rule from enable to disable and back again via wget. I created a admin user on the panorama box, created a hash based on that user and password. when I run the script I get the following:
<response status="error" code="13"><msg><line>Could not find schema node for xpath /config/devices/entry[@name='local.localdomain']/vsys/entry[@name='vsys1']/rulebase/security/rules/entry[@name='Dana Test']</line></msg></response>
the wget is below:
wget --no-check-certificate "https://184.108.40.206/api/?type=config&action=set&key=<hash>=&xpath=/config/devices/entry[@name='localhost.localdomain']/vsys/entry[@name='vsys1']/rulebase/security/rule
s/entry[@name='Dana Test']&element=<disabled>yes</disabled>" --no-http-keep-alive -O output
wget --no-check-certificate "https://220.127.116.11/api/?type=commit&action=all&cmd=<commit-all><shared-policy><device-group>"Edge Firewall"</device-group></shared-policy></commit-all>&key=<hash>=" --no-http-keep-alive -O output