We have a development what extract the configuration via rest api and analize this.
In a firewall with vsys and panoroma, i have this problem.
in PAN-OS 7.0.x extract the policy configuration for all vsys with this call
in PAN-OS 7.1.x if i utilice the same rest api url, the result is empty.
<response status="success"><result>No shared policy pushed to device</result></response>
Via cli, i can extract the config of each vsys whith this command. But this command is no available via rest api.
show config pushed-shared-policy vsys vsys1
<response status="error" code="17"><msg><line> show -> config -> pushed-shared-policy -> vsys is invalid</line></msg></response>
How i can extract the pushed-shared-policy for all of each vsys via rest api in 7.1.x ?
Marco Poffal Daza
Solved! Go to Solution.
Try using the following:
You have to have the "vsys1" surrounded by the <vsys></vsys> tags.
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 Live Community as a whole!
The Live Community thanks you for your participation!