Python SDK for Palo Alto Networks Strata Cloud Manager.
Project description
Strata Cloud Manager SDK
Python SDK for Palo Alto Networks Strata Cloud Manager. Provides OAuth2-authenticated CRUD operations on firewall configuration objects — addresses, security rules, NAT rules, and 80+ resource types — via a unified client interface.
Installation
pip install pan-scm-sdk
Requires Python 3.10+.
Quick Start
from scm.client import ScmClient
# Initialize with OAuth2 credentials
client = ScmClient(
client_id="your_client_id",
client_secret="your_client_secret",
tsg_id="your_tsg_id",
)
# Create an address object
client.address.create({
"name": "web-server",
"ip_netmask": "10.0.1.100/32",
"description": "Production web server",
"folder": "Texas",
})
# List all addresses in a folder
addresses = client.address.list(folder="Texas")
for addr in addresses:
print(f"{addr.name}: {addr.ip_netmask or addr.fqdn}")
Documentation
For comprehensive guides, API reference, and examples for all 80+ supported resources, visit the full documentation site:
https://cdot65.github.io/pan-scm-sdk/
Contributing
- Fork the repository
- Create a feature branch (
git checkout -b feature/your-feature) - Run quality checks (
make quality) and tests (make test) - Open a Pull Request
License
Apache 2.0 — see LICENSE for details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pan_scm_sdk-0.12.6.tar.gz.
File metadata
- Download URL: pan_scm_sdk-0.12.6.tar.gz
- Upload date:
- Size: 182.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4806285ff4135a27aeb49529615ed25536c61b5e58e22a820a0f06219dc69584
|
|
| MD5 |
bb0cb5c742cce994d8b03cda0bb29660
|
|
| BLAKE2b-256 |
93f692590db47d718663d8c70980edb10478e1d5fd46967fd44b8eb4a7f77e38
|
Provenance
The following attestation bundles were made for pan_scm_sdk-0.12.6.tar.gz:
Publisher:
publish.yml on cdot65/pan-scm-sdk
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pan_scm_sdk-0.12.6.tar.gz -
Subject digest:
4806285ff4135a27aeb49529615ed25536c61b5e58e22a820a0f06219dc69584 - Sigstore transparency entry: 1079999468
- Sigstore integration time:
-
Permalink:
cdot65/pan-scm-sdk@48dbd42e2f00e7942d1b14a4658a156365748628 -
Branch / Tag:
refs/tags/v0.12.6 - Owner: https://github.com/cdot65
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@48dbd42e2f00e7942d1b14a4658a156365748628 -
Trigger Event:
release
-
Statement type:
File details
Details for the file pan_scm_sdk-0.12.6-py3-none-any.whl.
File metadata
- Download URL: pan_scm_sdk-0.12.6-py3-none-any.whl
- Upload date:
- Size: 491.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a047fcd65d2875cf02dd8182622370ef4594a9e180e8b283c8c13b0e9da20372
|
|
| MD5 |
ebd76c020b70ae370e0adb070da904fe
|
|
| BLAKE2b-256 |
61e9734faeeb4288bd9f6fe22608ea6c250ccc782f0df216a64133200f2f13f4
|
Provenance
The following attestation bundles were made for pan_scm_sdk-0.12.6-py3-none-any.whl:
Publisher:
publish.yml on cdot65/pan-scm-sdk
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pan_scm_sdk-0.12.6-py3-none-any.whl -
Subject digest:
a047fcd65d2875cf02dd8182622370ef4594a9e180e8b283c8c13b0e9da20372 - Sigstore transparency entry: 1079999551
- Sigstore integration time:
-
Permalink:
cdot65/pan-scm-sdk@48dbd42e2f00e7942d1b14a4658a156365748628 -
Branch / Tag:
refs/tags/v0.12.6 - Owner: https://github.com/cdot65
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@48dbd42e2f00e7942d1b14a4658a156365748628 -
Trigger Event:
release
-
Statement type: