Collection of API tools for Palo Alto Networks firewalls
- This uses https://github.com/kevinsteves/pan-python for the python scripts. It comes with command line tools and is a great starting point.
- You can use incorporate that python library into python scripts, or call the pre-written python scripts from shell scripts
- dns2dag Adds IP from hostname lookup to Dynamic Address Group
- cvs2dag Adds multiple IPs from csv file to Dynamic Address Group
- Threat Vault exporter - Export all threats and descriptions from the threat vault running on a firewall. Ref: https://live.paloaltonetworks.com/t5/Featured-Articles/Tips-amp-Tricks-Export-threat-vault-using-XML-API/ta-p/71171