- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
05-06-2024 08:17 AM
I'm working on an integration to segment access to the Panorama feature to review audit comment messages and partial config diffs for policies. In Panorama, if you navigate to Policies -> <select a policy> -> Audit Comment Archive, there are three panels available there; Audit Comments, Config Logs (between commits) and Rule Changes. I've been able to find the applicable XML API's for the first two panels but I am striking out on the last panel (Rule Changes). That panel allows you to select two config versions and it will display the diff between those two. I've been using the browser dev tools to get some clues along the way, and in the case of the Rule Changes panel, the browser is sending a request to the server with an xPath and a version for both the left and right configurations and the "method" it's calling is PoliciesDirect.getConfigForObjectDiff. Anyone out there know what the XML API call would be to do the same? TIA.
05-10-2024 03:46 PM
Hi @quadtecms ,
Do you know the CLI syntax? if so, you could use the 'debug cli on' command to view the xpath. https://docs.paloaltonetworks.com/pan-os/11-0/pan-os-panorama-api/get-started-with-the-pan-os-xml-ap...
Sorry! That's all I got.
Thanks,
Tom
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!