Translate Netgate firewall rules to spreadsheet for review.
Project description
Netgate Firewall Converter
The netgate-xml-to-xlsx
converts a standard Netgate firewall .xml configuration file to an .xlsx spreadsheet with multiple tabs.
- Supports Python 3.10+.
- This is an alpha version tested on a limited number of firewall files.
- The specific spreadsheet tabs implemented address our (ASI's) immediate firewall review needs.
- Tested only on Netgate firewall version 21.x files.
Installation
Recommend installing this in a virtual environment.
python -m pip install netgate-xml-to-xlsx
Once installed, the netgate-xml-to-xlsx
command is available on your path.
Usage
- By default, output is sent to the current directory.
- Use the
--output-dir
parameter to set a specific output directory. - The output filename is based on the
hostname
anddomain
elements of the XMLsystem
element.
# Display help
netgate-xml-to-xlsx --help
# Convert a Netgate firewall configuration file.
netgate-xml-to-xlsx firewall-config.xml
Notes
Using flakeheaven
The large collection of flakeheaven plugins is a bit overboard while I continue to find the best mixture of plugins that work best for my projects.
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
File details
Details for the file netgate-xml-to-xlsx-0.9.2a2.tar.gz
.
File metadata
- Download URL: netgate-xml-to-xlsx-0.9.2a2.tar.gz
- Upload date:
- Size: 10.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.13 CPython/3.10.2 Darwin/21.3.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b638cb1d9442ebfe94b8bb7b1308bc11712506146d897e499d7d183a994f1ff9 |
|
MD5 | be45f14efbcaef4cbfaced644a6536f6 |
|
BLAKE2b-256 | 8484d25536561c86d19462ad67e4dcec277e3aea3653a38de24c44d96522af56 |
File details
Details for the file netgate_xml_to_xlsx-0.9.2a2-py3-none-any.whl
.
File metadata
- Download URL: netgate_xml_to_xlsx-0.9.2a2-py3-none-any.whl
- Upload date:
- Size: 11.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.13 CPython/3.10.2 Darwin/21.3.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 56bb55809bc350a29649c2e02bd5bd844a7e47ef925ed74c5bb3eed04e560ddb |
|
MD5 | 1d4e81e6a6cf8643b8084f98324e0f2c |
|
BLAKE2b-256 | 3e232264298f64659ebf340ed416ffcb6cc2b12d755a18d56d5397ef8eeaf4fe |