Skip to content

Latest commit

 

History

History
29 lines (20 loc) · 1.35 KB

README.md

File metadata and controls

29 lines (20 loc) · 1.35 KB

prismaEDL

What is it?

A flask app for grabbing your Palo Alto Prisma Mobile External IPs and displaying them in various formats. Primarily so that you can share them with external vendors who may need to whitelist.

Out of the gate it supports Palo's EDL (External Dynamic List) and we hope to support future formats as well. Since Palo's format is also fairly human readable it is also the home view.

How to Use

PreReqs

To run locally:

  • Clone the repository and install the requirements pip install -r requirements.txt
  • Create an environment variable PRISMA_API_KEY and populate it with your Prisma Access API Key
  • Use flask to Run the app flask run prismaEDL/app.py

To run on a web server:

That's a complicated topic I won't address here. If you've ran flask apps in production before or any wsgi app it should work pretty straight forward. Maybe in the future I'll be able to provide specific instructions or feel free to contribute as well.

Contributing

Contributions are welcome - I ask simply that you aim to create tests for any of the code you write. Necessary development packages are found in requirements_dev.txt