mirror of
https://github.com/valitydev/Cortex-Analyzers.git
synced 2024-11-06 17:15:21 +00:00
.. | ||
Block_port.py | ||
PaloAltoNGFW_block_internal_port.json | ||
README.md |
Block external IP address for Palo Alto NGFW
Response module for block external IP address for Palo Alto NGFW
Installation
need install:
- pan-os-python
- thehive4py
ToDo
to work, you need to create Address_Group in PaloAltoNGFW and create security polites and name them in "name_internal_Service_Group".
First: you need add field "port" and "protocol" to "Observable types management" in the hive. or you can change script and call your field names
principle of operation:
- the value is selected from the alert the hive.
- ioc compare against already added Service_Group.
- if ioc not in Service_Group, will add field port and protocol
- if ioc in Service_Group, next step
- checks if there is already a blocking list, if not, ioc will add