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)
Release files for netbox-paloalto 0.3.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| netbox-paloalto-0.3.2.tar.gz | 12.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| netbox_paloalto-0.3.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 27.4 kB
Release files / netbox-paloalto-0.3.2.tar.gz
| Download URL | netbox-paloalto-0.3.2.tar.gz |
|---|---|
| Size | 12.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4710af590c86d240160c6e5c43ca7f8ee0041e64a71c8265a0a7882db27ab9e1
|
|
BLAKE2b-256 checksum How to use checksums |
269c7757f774b4db68aa78042aecde5ee45af8b3381a85c257e0324a451bd280
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / netbox_paloalto-0.3.2-py3-none-any.whl
| Download URL | netbox_paloalto-0.3.2-py3-none-any.whl |
|---|---|
| Size | 14.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c53abdd4222a85e4f917db43fb4e52061d187992283c20f55aa3a64165255c50
|
|
BLAKE2b-256 checksum How to use checksums |
bbd782af8960fd0b2b158aad56a6b2a89dbf1cbe99b87836f1ac2debf7c234a4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|