PAN-OS - Block IP

This playbook blocks IP addresses with 2 optional actions: - Block IP addresses using Static Address Groups in Palo Alto Networks Panorama or Firewall. The playbook receives malicious IP addresses and an address group name as inputs, verifies that the addresses are not already a part of the address group, adds them and commits the configuration. - Utilize the Dynamic Address Group (DAG) capability of PAN-OS. DAG enables analysts to create a rule one time, where the group is the source/destination, and adds IP addresses dynamically without the need to commit the configuration every time. The playbook checks if the given tag already exists. If the tag exists, then the IP address is added to the tag. If the tag does not exist, a new address group is created with the given tag and a matching rule, and the configuration is committed.

PAN-OS by Palo Alto Networks · 9 tasks · 1 input · 0 outputs

Inputs

  • MaliciousIPs — IP or list of IPs.

Commands used

pan-os-list-address-groups pan-os-list-tag

Flowchart

Do Nothing Static Tag IP yes yes Start Start List pan-os address groups - pan-os-list-address-groups List pan-os address groups pan-os-list-address-groups Block IP (Pan-OS) Block IP (Pan-OS) List pan-os tags - pan-os-list-tag List pan-os tags pan-os-list-tag Which action should be performed? Which action should be pe... PAN-OS - Block IP - Static Address Group - PAN-OS - Block IP - Static Address Group PAN-OS - Block IP - Stati... PAN-OS - Block IP - Static Ad... PAN-OS DAG Configuration - PAN-OS DAG Configuration PAN-OS DAG Configuration PAN-OS DAG Configuration Done Done Is Palo Alto Networks PAN-OS enabled? Is Palo Alto Networks PAN...