Python3 SDK for the Prisma SASE AppFabric by Palo Alto Networks. Provides full API access to Prisma SASE (formerly CloudGenix) controller endpoints. Current version 6.6.2b1 (beta), released Feb 2026. Actively maintained with frequent minor version bumps.
pip install prisma-saseVerified import paths — ran on the pinned version, not inferred.
Authenticate and list tenants. Set env vars PRISMA_CLIENT_ID, PRISMA_CLIENT_SECRET, PRISMA_CONTROLLER, PRISMA_TOKEN_URL.
Review Changelog for API major version changes and update your code accordingly.
Always use full URL starting with https:// (e.g., 'https://api.sase.paloaltonetworks.com').
Set token_url to the correct regional endpoint: Americas='https://auth.apps.paloaltonetworks.com/oauth2/access_token', Europe='https://auth-eu.apps.paloaltonetworks.com/oauth2/access_token'.