Skip to content

PAN Automation Examples

Curated automation examples for Palo Alto Networks products

License: MIT Python 3.11+ Terraform


67+ production-ready automation examples spanning five technologies, covering PAN-OS firewalls, Panorama, Strata Cloud Manager, Prisma AIRS, and cloud deployments on GCP and vCenter.


By Technology

  • Ansible


    27 playbooks for PAN-OS, Panorama, vCenter, event-driven automation, and custom execution environments.

    Ansible Examples

  • Python


    26 projects including CLI tools, API integrations, a LangGraph AI agent, MCP servers, and upgrade workflows.

    Python Examples

  • Terraform


    8 infrastructure-as-code modules for PAN-OS, Strata Cloud Manager, GCP VM-Series, and vCenter.

    Terraform Examples

  • Go


    High-performance CLI tools for commits, session analysis, and firewall operations using the pango SDK.

    Go Examples

  • Jenkins


    CI/CD pipelines running PAN-OS automation on Jenkins deployed to Kubernetes with dynamic agent pods.

    Jenkins Examples


Products Covered

Product What's Automated
PAN-OS Security policies, NAT, IPsec VPN, BGP, DNS, upgrades, log analysis, certificate management
Panorama Centralized config, device groups, templates, content updates, dynamic inventory, sync reports
Strata Cloud Manager Address objects, groups, tags, services, EDLs, security rules via Terraform modules
Prisma AIRS AI runtime security scanning, batch analysis, MCP server, stress testing
GCP / vCenter VM-Series firewall deployment and lifecycle management

Get Started

  • Repository Structure


    Understand how examples are organized by technology and target platform.

    Structure

  • Quick Start


    Clone, pick a project, and run your first automation in minutes.

    Overview

  • Source Code


    Browse the repository on GitHub.

    GitHub