Skip to content
Palo Alto Networks Utility Scripts
Python Makefile
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github
.vscode
docs
panw_utils
tests
.bumpversion.cfg
.editorconfig
.gitignore
.travis.yml
AUTHORS.rst
CONTRIBUTING.rst
HISTORY.rst
LICENSE
MANIFEST.in
Makefile
README.md
README.rst
requirements_dev.txt
setup.cfg
setup.py
tox.ini

README.md

panw-utils

Palo Alto Networks Utility Scripts

Features

panw-utils

  • Returns a list of available commands

get-panw-api-key

  • Returns the current API key, suitable for piping to pbcopy (macOS) or clip.exe (Windows)
  • Command line options
  • Platform independent
  • Save default user and firewall
  • Update saved settings
  • Receives pipeline input (stdin)
  • Uses a default firewall if one not provided
  • Prompts for required parameters if none provided
  • Multi-threaded

get-panw-firewalls

  • Returns a list of firewalls including management address and serial number
  • Output can be pasted directly into Excel
  • Terse output option for piping to other commands
  • Command line options
  • Platform independent
  • Save API key and default Panorama host
  • Update saved settings
  • Override/supply API key on the command line

get-panw-interfaces

  • Returns a list of firewalls interfaces
  • Output can be pasted directly into Excel
  • Terse output option for piping to other commands
  • Command line options
  • Platform independent
  • Save API key and default firewall
  • Update saved settings
  • Override/supply API key on the command line
  • Filter on interface properties
  • Multi-threaded

get-panw-config

  • Returns the firewall configuration
  • Command line options
  • Platform independent
  • Save key based auth preference, default user and default firewall
  • Update saved settings
  • Multi-threaded

run-panw-cmd

  • Executes arbitrary CLI commands
  • Command line options
  • Platform independent
  • Save key based auth preference, default user and default firewall
  • Update saved settings
  • Multi-threaded


Installation

$ pip install panw-utils

Upgrade

$ pip install --upgrade panw-utils

You can’t perform that action at this time.