- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
01-09-2023 06:22 AM
Hi,
I would like to know if there is a method to delete multiple rules associated to a single ip address from panorama ?? That single ip is permitted on several firewalls for communication and the server holding that ip was decommissioned and so the rules relating to it need to be cleaned up from all the existing firewalls.
I am able to get bulk list of firewall rules from Global search from panorama, but removing that particular ip from each of the listed firewall rules by looking int to each rule seems to be painful task, hence checking if there is any shortcut way to get this done faster .
Please advise if any..
Thanks !!
01-11-2023 01:42 AM
You may try the solution inder :
https://live.paloaltonetworks.com/t5/general-topics/delete-objects-from-many-policies/td-p/357092
Maybe if you added a tag under all rules that have the ip addrees this would have been easier as shown in https://docs.paloaltonetworks.com/pan-os/11-0/pan-os-admin/policy/use-tags-to-group-and-visually-dis... but maybe this is not the case or if you used a shared object ip address type then the rules can be used without deletion by just adding or removing the ip addresses in this object https://docs.paloaltonetworks.com/pan-os/9-1/pan-os-admin/virtual-systems/virtual-systems-overview/s... .
Also automations with Ansible or Terraform or Palo Alto XSOAR are possible but you will need to script this.
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!