Panorama policies pushed into device not appearing in restful api when querying managed devicewhen

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements

Panorama policies pushed into device not appearing in restful api when querying managed devicewhen

Not applicable

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

2 REPLIES 2

Not applicable

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.

Not applicable

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.

  • 2958 Views
  • 2 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

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!