NetBox Security Plugin
Netbox plugin for Security and NAT related objects documentation.
Features
This plugin provides following Models:
- CustomPrefix
- Addresses
- Address Sets
- Address Lists
- Security Zones
- Security Zone Policies
- NAT Pools
- NAT Pool Members
- NAT Rule-sets
- NAT Rules
- Firewall Filters
- Firewall Filter Rules
- Firewall Policers
Compatibility
| NetBox Version | NetBox Security Version |
|---|---|
| NetBox 4.2 | >= 1.0.2 |
| NetBox 4.3 | >= 1.1.0 |
| NetBox 4.4 | >= 1.3.0 |
| NetBox 4.5 | >= 1.4.0 |
| NetBox 4.6 | >= 1.5.0 |
| NetBox 4.7 | >= 1.6.0 |
Installation
The plugin is available as a Python package in pypi and can be installed with pip
pip install netbox-security
Enable the plugin in /opt/netbox/netbox/netbox/configuration.py:
PLUGINS = ['netbox_security']
Restart NetBox and add netbox-security to your local_requirements.txt
Perform database migrations:
cd /opt/netbox
source venv/bin/activate
python ./netbox/manage.py migrate netbox_security
python ./netbox/manage.py reindex netbox_security
Full documentation on using plugins with NetBox: Using Plugins - NetBox Documentation
Configuration
The following options are available:
virtual_ext_page: String (default left) Virtual Machine related objects table position. The following values are available:
left, right, full_width. Set empty value for disable.interface_ext_page: String (default full_width) Interface related objects table position. The following values are available:
left, right, full_width. Set empty value for disable.address_ext_page: String (default right) Address/Address Set related objects table position. The following values are available:
left, right, full_width. Set empty value for disable.top_level_menu: Boolean (default True) Display plugin menu at the top level. The following values are available: True, False.assignments_menu: Boolean (default False) Display assignments within the plugin menu. The following values are available: True, False.
Contribute
Contributions are always welcome! Please see the Contribution Guidelines
Documentation
For further information, please refer to the full documentation: Using NetBox Security
Credits
- Thanks to Peter Eckel for providing some lovely examples which I've happily borrowed, and for providing excellent guidance.
- Thanks to Dan Sheppard for the abstracted field generation stuff which I also used.
- Thanks to Kris Beevers and Mark Coleman at Netbox Labs for encouragement and engagement.
Release files for netbox-security 1.6.1
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_security-1.6.1.tar.gz | 87.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| netbox_security-1.6.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 297.3 kB
Release files / netbox_security-1.6.1.tar.gz
| Download URL | netbox_security-1.6.1.tar.gz |
|---|---|
| Size | 87.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a3e8bc4c9a68fd975690aeaf6ee5e38d51db90ec69ec3a850163795df377b316
|
|
BLAKE2b-256 checksum How to use checksums |
c57c972f05114ec95ca38678837abaa62cfed270f55ca6d82f2d90cb676104d9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 3, 2026.
Transparency logRelease files / netbox_security-1.6.1-py3-none-any.whl
| Download URL | netbox_security-1.6.1-py3-none-any.whl |
|---|---|
| Size | 210.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fd608793ce379dd73ae18a6e1717102f09a69babd16eafcdb4f0595bae477939
|
|
BLAKE2b-256 checksum How to use checksums |
44693429de85c79c3a1d8d4c14c7e323f7d176e2133088cd8b34740d1f8af965
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 3, 2026.
Transparency log