Automation and global find

cancel
Showing results for 
Search instead for 
Did you mean: 

Automation and global find

L0 Member

Hello.

 

In the Palo Alto GUI you have the option of global find on an object and get a list of all references where said object is used.

I would like to automate removal of object and references when  a server get decommissioned, and thought of this function.

Using panorama and ansible you would have various device groups to pull and iterate through, and my understanding of this that whenever you create a new device group, you would have to update your ansible playbooks to reflect this.

I have tried to find a way to use this global find function by any of the automation options you have, but I haven't really found any.

I haven't seen it for CLI (yea there is config out put set with | match, but that is partial info, not the complete reference list), ansible or API.

 

Does anyone have a any idea if this function is possible in any other way than GUI?

Another way of making it fully automatic would be to list out device groups in Panorama, preferably by ansible. I haven't found any way of doing that either in the ansible modules from the Pan-OS collection.

 

0 REPLIES 0
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!