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
Close
Hashes for netgate-xml-to-xlsx-0.9.2a2.post1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7e8ab383ca2a594f00c82c0e41466d3bbbbb90a6560c5c6a676989dbbec61742 |
|
MD5 | df1959e9239c8e13c286fbf188cde863 |
|
BLAKE2b-256 | 30e6f28bb5102c21a60565f2e6741dd75ec4f5387c8ce0576eee6cde8a69050e |
Close
Hashes for netgate_xml_to_xlsx-0.9.2a2.post1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a375eed0dcdf5e0ab3e0feff95d9bf052eeea487e47addccfc3fac19748ebfc5 |
|
MD5 | 311117ca595facf1547879e5b877e848 |
|
BLAKE2b-256 | 324dc6be782e5388860cedf9f03c757b91820650b3564db610af1c3808f4abd0 |