Skip to content

ghas-results/prisma-sase-sdk-python

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PyPI PyPI - Python Version Downloads PyPI - License GitHub issues

Palo Alto Networks Prisma SASE Python SDK v6.3.2b1

Python3 SDK for the Prisma SASE AppFabric

Synopsis

Intended to be a small, lightweight SDK wrapper around the Prisma SASE API for easy use. Initial version requires knowledge of JSON/Dict objects for POST/PUT/PATCH operations.

Requirements

Code Example

Comes with example.py that shows usage to get a JSON list of sites.

Super-simplified example code (rewrite of example.py in ~4 lines of code):

# Import the Prisma SASE SDK API constructor and JSON response pretty printer
from prisma_sase import API, jd

# Instantiate the Prisma SASEx API constructor
sdk = API()

# Call Prisma SASE API login using the Interactive helpers (Handle SAML2.0 login and MSP functions too!).
sdk.interactive.login_secret(client_id='[email protected]', 
                             client_secret='xxxxxx', 
                             tsg_id=1111111111)

# Print a dump of the list of sites for your selected account
jd(sdk.get.sites())

License

MIT

Version

Version Build Changes
6.3.2 b1 Support for February 2023 Controller release.
6.3.1 b1 Support for November 2023 Controller release.
6.2.3 b1 Support for August 2023 Controller release.
6.2.2 b1 Support for June 2023 Controller release.
6.2.1 b1 Support for April 2023 Controller release.
6.1.2 b1 Support for January 2023 Controller release.
6.1.1 b1 Support for November 2022 Controller release.
6.0.1 b1 Support for May 2022 Controller release.

For more info

Packages

No packages published

Languages

  • Python 100.0%