Giter VIP home page Giter VIP logo

pan-os-php's Introduction

pan-os-php

PAN-OS-PHP is a PHP library aimed at making PANOS config changes easy (and XML free ;), maintainable and allowing complex scenarios like rule merging, unused object tracking, conversion of checkpoint exclusion groups, massive rule editing, AppID conversion โ€ฆ . It will work seamlessly on PAN-OS local xml config file or PAN-OS API.

INSTALLATION

The recommended installation of PAN-OS-PHP is via Docker. Please install Docker Desktop if needed.

README docker

WIKI docker

Old detailed information

Homepage : latest sources on GitHub.

Requirements :

  • PHP 8.1 with curl module [ tested with PHP 5.5 / 5.6 / 7.3 / 7.4 / 8.0 / 8.1 / 8.2 ]
  • php-curl php-dom php-mbstring php-bcmath

Usage: include the file lib/pan_php_framework.php in your own script to load the necessary classes.

    require_once "lib/pan_php_framework.php";

File tree:

  • /lib/ contains library files source code
  • /utils/ contains ready to run scripts, more information in utils/README
  • /doc/index.html has all classes documentations
  • /example-xxx.php are examples about using this library

SUPPORT

This tool is provided "AS IS" and is community supported. Please also check the LICENSE file.

For help, it is always possible to open a GIT issue for this repository, or reaching out to Palo Alto Networks LIVE community page.

Usage (create custom Scripts)

With less than 20 lines of code, you should be able to solve most of your needs. Brief overview:

README customScripting

UTIL (predefined Scripts)

You hate scripting ?

Use around 50 different predefined entry parts [e.g. address / service / tag / rule / ...] with 100 of actions and filters to easily improve your Palo Alto Networks Firewall and Panorama configuration

README util

Docker build

There are Dockerfiles available with OS: Ubuntu20/22 and CentOS 7/8

README docker

WIKI docker

pan-os-php's People

Contributors

swaschkut avatar ntwrkguru avatar nexusops avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.