I'm experiencing an issue with panxapi where it returns a success code (19), but the result is actually not being received. I'm using the -x and -g options to try and pull back the pre-rulebase on my panorama for a specific device group.
The xpath works in the API browser, but when I apply the same to the panxapi command I get nothing back.
Here is that xpath:
panxapi <hostname and key hidden to protect the innocent> -x -g /config/devices/entry[@name='localhost.localdomain']/device-group/entry[@name='device group name']/pre-rulebase/rules
Any help is appreciated... here's the output I get at the CLI:
<response status="success" code="19"><result/></response>
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!