Skip to main content

A lightweight PanOS (Palo Alto Netoworks) firewall Management utility.

Project description

EZPanos

An Ergonomic and lightweight PanOS Utility Tool

Installation

pip install ezpanos

Quick Start

from ezpanos.ezpanos import PanOS
import getpass

creds = {
    "username": input("Username: "),
    "password": getpass.getpass("Password: ")
}
endpoint = "<Management interface IP"
connection = PanOS(endpoint, username=creds["username"], password=creds["password"])
print(connection.execute("show system info"))

Using an API token

By default, the PanOS class will use username/password to generate an authentication token from PanOS. This can however, be overridden if you already have it.

from ezpanos.ezpanos import PanOS

endpoint = "<Management interface IP"
connection = PanOS(endpoint, api_key="xxxxxxxxxxxx")
print(connection.execute("show system info"))

Currently not feature rich but an ideal platform for executing arbitrary PanOS commands against firewalls and Panorama instances for a wide variety of use cases.

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

ezpanos-0.1.3.tar.gz (4.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ezpanos-0.1.3-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

Details for the file ezpanos-0.1.3.tar.gz.

File metadata

  • Download URL: ezpanos-0.1.3.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.2

File hashes

Hashes for ezpanos-0.1.3.tar.gz
Algorithm Hash digest
SHA256 b04deecfcab81be945821cf7d51d50159a9f66d680e1dab3a01a5a06642045b6
MD5 4142a5ce0b82fa19a928bf6bed91e863
BLAKE2b-256 42bcfab515afe15d7cd51a76615cf1686b5d9dfc90406e7125377d14d8d7f30f

See more details on using hashes here.

File details

Details for the file ezpanos-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: ezpanos-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 5.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.2

File hashes

Hashes for ezpanos-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 3a307b22aa2f465cb876b349b35a490b149a9ae43e6a9859f6ab87b15bcadb16
MD5 909bb7df67465d8956d9af06eef0266e
BLAKE2b-256 778c5f871324dbf448b290bb98ed38958fdc75b817a9fbb1775637721d580263

See more details on using hashes here.

Supported by

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