moshekaplan / palo_alto_firewall_analyzer

Python scripts for reviewing Palo Alto Firewall configurations
Creative Commons Zero v1.0 Universal
25 stars 8 forks source link

API reading code should create config dir for storing API key if it does not already exist #50

Closed moshekaplan closed 1 year ago

moshekaplan commented 1 year ago

API reading code should create config dir for storing API key if it does not already exist.

Only pan_analyzer creates it; the other scripts assume it exists, even if the config file does not. Also, the other scripts have redundant imports/code for reading the API_KEY; this should be fixed throughout.