RedLock policy export
Version: 1.0 Author: Eddie Beuerlein
This script will create a csv file that contains the policy data from the RedLock UI.
Requirements and Dependencies
Python 2.7.10 or newer
OpenSSL 1.0.2 or newer
(if using on Mac OS, additional items may be nessessary.)
sudo easy_install pip
- Requests (Python library)
sudo pip install requests
- YAML (Python library)
sudo pip install pyyaml
Navigate to export_policies_csv/config/configs.yml
Fill out your RedLock username, password, and customer name - if you are the only customer in your account then leave this blank.
This template/solution is released under an as-is, best effort, support policy. These scripts should be seen as community supported and Palo Alto Networks will contribute our expertise as and when possible. We do not provide technical support or help in using or troubleshooting the components of the project through our normal support options such as Palo Alto Networks support teams, or ASC (Authorized Support Centers) partners and backline support options. The underlying product used (the VM-Series firewall) by the scripts or templates are still supported, but the support is only for the product functionality and not for help in deploying or using the template or script itself. Unless explicitly tagged, all projects or work posted in our GitHub repository (at https://github.com/PaloAltoNetworks) or sites other than our official Downloads page on https://support.paloaltonetworks.com are provided under the best effort policy.