Skip to content

nosportugal/pan-php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pacote Palo Alto Networks API em PHP

SINOPSE

<?php
use PAN\PaloAltoNetworks;

$pan = new PaloAltoNetworks([
    'clientId'     => '[email protected]',
    'clientSecret' => 'c51bd264-1943-4be8-8125-320f92bb5587',
    'tsgId'        => 123456789,
    'redis'        => [
        'schema' => 'tcp',
        'host'   => '127.0.0.1'
    ]''
]);

$search = [
    'limit'    => 50,
    'offset'   => 0,
    'position' => 'pre',
    'folder'   => 'Shared'
];

$securityRules = $pan->securityRules($search);

$list = $securityRules->list();

$success = $list->success(); // it is bool, return true or false
$code = $list->code(); // it is number, return 200, 400, 401 and ...
$body = $list->body(); // it is object with the body of message

DESCRIÇÃO

Esse pacote PHP tem o propósito de facilitar o acesso a API do Palo Alto Networks, atualmente conta com funcionalidades para manipular os endpoints: Addresses, SecurityRules, Services e Tags.

VERSÃO

1.1.3

INSTALAÇÃO

Composer

{
    "repositories": [
        {
            "type": "vcs",
            "url": "https://github.com/nosportugal/pan-php.git"
        }
    ],
    "require": {
        "nosportugal/pan-php": "1.1.3"
    }
}

About

Palo Alto Networks API PHP Package

Resources

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages