Git Product home page Git Product logo

pan-php's Introduction

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"
    }
}

pan-php's People

Contributors

lucas1 avatar

Watchers

 avatar Rafael Galleani 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.