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.4.tar.gz (5.0 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.4-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ezpanos-0.1.4.tar.gz
  • Upload date:
  • Size: 5.0 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.4.tar.gz
Algorithm Hash digest
SHA256 5c019e8dc1136c9cb9d5f2cf4c40eeb5348b9dc9c4db1a970d3f7974837d1df2
MD5 89ded36857971530a06ebb0b3f318e83
BLAKE2b-256 46114ebc31a8f0bbf5a16448ebc73e0d492d08a6ffed1719a379291af495ad99

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ezpanos-0.1.4-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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 19edb8d5f34447e16ea2a3d575236ff8ee416371bb7830e6fa3ead52a7e408ee
MD5 a7a4b7cc26ac0fdba1a96e52824fc720
BLAKE2b-256 32d6d352d054367491b3894e1583824ae103fda77c30daa9c403addd8d162c30

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