- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
Enhanced Security Measures in Place: To ensure a safer experience, we’ve implemented additional, temporary security measures for all users.
06-15-2011 02:48 AM
Hi,
I'm using Panorama to manage PA-2020 device. I defined a shared policy (Pre rule) and pushed it into one of the vsys.
I've verifiedin the web interfacethat the rule appears correctly.
However, when pulling the configuration from the device managed by Panorama via rest api the rule did not appear at all. I used the following query to do it:
https://<IP>/esp/restapi.esp?type=config&action=show&key=<key>
When I'm using the same query url on the Panorama device I have the reverse problem:
I can only see rules that were defined in the Panorama manager and the ones defined on the device are absent.
Is there a way to get all rules defined on device and on Panorama thru the rest api?
Thanks,
Andrei
06-20-2011 03:13 AM
Anybody? Please help...
I need this badly as I'm getting all my configuration with the xml api and right now I'm missing major components of the configuration.
06-27-2011 01:31 AM
We found this query to help us get the information:
https://hostname/esp/restapi.esp?type=config&action=get&key=keyvalue&xpath=/config/panorama
To retrieve the device rules from panorama thru the restful api is not possible.
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!