List firewall rules from your Palo Alto firewall/Panorama using this NetBox plugin.
Project description
Palo Alto Networks firewall/Panorama NetBox plugin
This plugin enables you to list firewall rules defined on your Palo Alto Networks firewall or Panorama management server directly in NetBox. The URL <NETBOX>/plugins/paloalto/<object> will list all firewall rules associated with object (see limitations further down).
Preview
Compatibility
NetBox 2.8 and higher.
Tested on Panorama PAN-OS 9.1 and PA-220 PAN-OS 9.1.
Installation
Add netbox-paloalto to your local_requirements.txt.
Add netbox_paloalto to configuration.py like this:
PLUGINS = ['netbox_paloalto']
Run ./upgrade.sh which will download the package and run the necessary database migrations.
Add you firewall/Panorama (can have multiple) through the Admin GUI of NetBox.
Available settings
Assume a NetBox object with name Server01 and IP 1.2.3.4.
Available settings in PLUGINS_CONFIG is:
transform: True/False - Netbox object is transformed before the search in Panorama/firewall.
Additional search term will be Server01.3.4. Default: False
nesting: <int> - The number of levels of nesting within address groups to perform. Default: 1
Generate your Palo Alto firewall API key
See Palo Alto Networks documentation on generating your API key. As this plugin is only reading the configuration a read-only user is recommended.
Limitations
- Limited nesting for address groups as default
- Does not include "any" rules based on zones (can't tell the zone from the object name)
- Does not match with subnet rules (you can have a rule saying 10.0.0.0/8 is allowed, but your object with the address 10.1.1.1 is not listed)
- Does currently not support other rule types than security rules (no NAT/Decryption/etc)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file netbox-paloalto-0.3.2.tar.gz.
File metadata
- Download URL: netbox-paloalto-0.3.2.tar.gz
- Upload date:
- Size: 12.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4710af590c86d240160c6e5c43ca7f8ee0041e64a71c8265a0a7882db27ab9e1
|
|
| MD5 |
f7038398db9898ae179d4b47dc5b2eb8
|
|
| BLAKE2b-256 |
269c7757f774b4db68aa78042aecde5ee45af8b3381a85c257e0324a451bd280
|
File details
Details for the file netbox_paloalto-0.3.2-py3-none-any.whl.
File metadata
- Download URL: netbox_paloalto-0.3.2-py3-none-any.whl
- Upload date:
- Size: 14.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c53abdd4222a85e4f917db43fb4e52061d187992283c20f55aa3a64165255c50
|
|
| MD5 |
8f9feaf4a6f5cd835caf878ebeed7584
|
|
| BLAKE2b-256 |
bbd782af8960fd0b2b158aad56a6b2a89dbf1cbe99b87836f1ac2debf7c234a4
|