Complete Prisma Access configuration management for Strata Cloud Manager (SCM).
This is the all-in-one version. Individual skills are also available: prisma-config, prisma-audit, prisma-migrate, prisma-troubleshoot, prisma-api.
Determine the user's intent from $ARGUMENTS and execute the corresponding workflow:
If no command is specified, ask the user what they need.
Generate production-ready Prisma Access configurations as SCM API-compatible JSON payloads.
Always output as SCM API-compatible JSON:
text
POST https://api.sase.paloaltonetworks.com/sse/config/v1/{resource}?folder={folder}
Include the JSON payload, API endpoint, required folder parameter, and any query parameters.
PA-SEC-, PA-NAT-)Audit Prisma Access configurations for security, compliance, and operational best practices.
any/any/any/allow), missing security profiles, missing logging, disabled/unused rules, port-based rulesFor each finding:
text
[SEVERITY] Category - Finding Title
Description: What was found
Location: Rule/object name and position
Risk: Why this is a problem
Recommendation: How to fix it
Severity: CRITICAL > HIGH > MEDIUM > LOW > INFO
Summary: health score (0-100), finding counts by severity, top 5 priorities, quick wins.
Migrate configurations between Prisma Access tenants (TSGs) via SCM API.
bash
# Source tenant
export SRC_SCM_CLIENT_ID="source-client-id"
export SRC_SCM_CLIENT_SECRET="source-client-secret"
export SRC_SCM_TSG_ID="source-tsg-id"
# Target tenant
export DST_SCM_CLIENT_ID="target-client-id"
export DST_SCM_CLIENT_SECRET="target-client-secret"
export DST_SCM_TSG_ID="target-tsg-id"
id, created, last_modified), update folder, resolve renamed references, POST to targetDiagnose and resolve common Prisma Access issues.
GlobalProtect Connectivity: certificates, SAML IdP, HIP check failures, DNS, MTU, UDP 4501 blocking
Security Policy Not Matching: rule ordering, shadow rules, missing SSL decryption for App-ID, zone confusion, stale FQDN, User-ID mapping
Configuration Push Failures: reference errors, duplicate names, invalid values, dependency conflicts, concurrent edits
Remote Network / Service Connection: IKE/IPSec parameter mismatch, pre-shared key, BGP peer config, overlapping IPs
SCM API Errors:
CodeSolution400Check JSON payload format401Token expired — re-authenticate403Check role-based access and TSG ID404Verify object name and folder409Object exists — use PUT to update429Back off and retry
Performance: bandwidth allocation, QoS policy, service edge location, routing, session limits
Execute operations against the Strata Cloud Manager API.
bash
TOKEN=$(curl -s -X POST "https://auth.apps.paloaltonetworks.com/am/oauth2/access_token" \
-H "Content-Type: application/x-www-form-urlencoded" \
-d "grant_type=client_credentials" \
-d "client_id=${SCM_CLIENT_ID}" \
-d "client_secret=${SCM_CLIENT_SECRET}" \
-d "scope=tsg_id:${SCM_TSG_ID}" | jq -r '.access_token')
text
https://api.sase.paloaltonetworks.com
List: GET /sse/config/v1/{resource}?folder={folder}&limit=200
Create: POST /sse/config/v1/{resource}?folder={folder} with JSON body
Update: PUT /sse/config/v1/{resource}/{id} with JSON body
Delete: DELETE /sse/config/v1/{resource}/{id}
Push Config: POST /sse/config/v1/config-versions/candidate:push
Job Status: GET /sse/config/v1/jobs/{job-id}
addresses, address-groups, services, service-groups, tags, security-rules, nat-rules, decryption-rules, application-filters, application-groups, external-dynamic-lists, custom-url-categories, url-filtering-profiles, anti-virus-profiles, anti-spyware-profiles, vulnerability-protection-profiles, file-blocking-profiles, wildfire-anti-virus-profiles, profile-groups, log-forwarding-profiles, decryption-profiles, hip-objects, hip-profiles
"Prisma Access", "Mobile Users", "Remote Networks", "Service Connections"