Skip to main content

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 and domain elements of the XML system 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

netgate-xml-to-xlsx-0.9.2a1.tar.gz (10.6 kB view details)

Uploaded Source

Built Distribution

netgate_xml_to_xlsx-0.9.2a1-py3-none-any.whl (11.3 kB view details)

Uploaded Python 3

File details

Details for the file netgate-xml-to-xlsx-0.9.2a1.tar.gz.

File metadata

  • Download URL: netgate-xml-to-xlsx-0.9.2a1.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

Hashes for netgate-xml-to-xlsx-0.9.2a1.tar.gz
Algorithm Hash digest
SHA256 853b8326188fc47acbec74db1ca107847cf08a53bd672b2918ae70e43b00cd9e
MD5 dfb31d142a0dfc6cd8b6aaf089a62d1f
BLAKE2b-256 cf7664fbc9e8132966e0c46b5023968a0700edf7cfee6df7de984a3dbebfdc0d

See more details on using hashes here.

File details

Details for the file netgate_xml_to_xlsx-0.9.2a1-py3-none-any.whl.

File metadata

File hashes

Hashes for netgate_xml_to_xlsx-0.9.2a1-py3-none-any.whl
Algorithm Hash digest
SHA256 7ad861ebf9ae8f3c205d5280c7d5987e26477661bb7b119298232e93b36998da
MD5 318f54f0e4f8014837fd2405ab0cce57
BLAKE2b-256 cef3e21ad13fac72082e1593d24d0a219f0201c2164e75ef471aa1194a34eb19

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page