Palo Alto Networks Strata Cloud Manager integration
Block IPs, CIDRs, and FQDNs and manage address objects in Strata Cloud Manager.
How it works
Each Palo Alto Networks Strata Cloud Manager action is a YAML template or Python function in Tracecat's open-source registry, under tools.pan_strata. Add an action as a step in a workflow, or give it to an agent as a tool.
Credentials
Add these in Tracecat before running the actions. How credentials work
- OAuth connection
pan_strata_oauth
Actions
Missing an integration? Write your own actions in YAML or Python in a custom registry and sync them from your Git repository.
Add address group members
Add members of a static address group in the candidate configuration. Reads the group by ID or by name with GET /config/objects/v1/address-groups, and writes it with PUT /config/objects/v1/address-groups/{id} only when membership changes, so repeated calls are idempotent. Push the candidate configuration to apply the change.
Block CIDR
Block a CIDR range by adding an address object to a static address group referenced by a deny rule. Looks up the address object by name, creates it with POST /config/objects/v1/addresses if missing, then adds it to the group with PUT /config/objects/v1/address-groups/{id} if it is not already a member, so repeated calls do not create duplicates. Changes stay in the candidate configuration; run push_candidate_config to enforce them.
Block FQDN
Block an FQDN by adding an address object to a static address group referenced by a deny rule. Looks up the address object by name, creates it with POST /config/objects/v1/addresses if missing, then adds it to the group with PUT /config/objects/v1/address-groups/{id} if it is not already a member, so repeated calls do not create duplicates. Changes stay in the candidate configuration; run push_candidate_config to enforce them.
Block IP
Block an IP address by adding an address object to a static address group referenced by a deny rule. Looks up the address object by name, creates it with POST /config/objects/v1/addresses if missing, then adds it to the group with PUT /config/objects/v1/address-groups/{id} if it is not already a member, so repeated calls do not create duplicates. Changes stay in the candidate configuration; run push_candidate_config to enforce them.
Create address
Create an address object in the candidate configuration with POST /config/objects/v1/addresses. Provide exactly one of ip_netmask, ip_range, ip_wildcard, or fqdn. Push the candidate configuration to apply the change.
Create address group
Create a static or dynamic address group in the candidate configuration with POST /config/objects/v1/address-groups. Provide exactly one of static_members or dynamic_filter. Push the candidate configuration to apply the change.
Create security rule
Create a security rule in the candidate configuration with POST /config/security/v1/security-rules?position=. The rule is added at the bottom of the rulebase; use move_security_rule to place it. Push the candidate configuration to apply the change.
Create tag
Create a tag in the candidate configuration with POST /config/objects/v1/tags. Tags drive dynamic address group membership. Push the candidate configuration to apply the change.
Delete address
Delete a address object from the candidate configuration with DELETE /config/objects/v1/addresses/{id}. Push the candidate configuration to apply the change.
Delete address group
Delete a address group from the candidate configuration with DELETE /config/objects/v1/address-groups/{id}. Push the candidate configuration to apply the change.
Delete security rule
Delete a security rule from the candidate configuration with DELETE /config/security/v1/security-rules/{id}. Push the candidate configuration to apply the change.
Disable security rule
Disable a security rule in the candidate configuration. Reads it with GET /config/security/v1/security-rules/{id} and writes it with PUT /config/security/v1/security-rules/{id} only when the state changes, so repeated calls are idempotent. Push the candidate configuration to apply the change.
Enable security rule
Enable a security rule in the candidate configuration. Reads it with GET /config/security/v1/security-rules/{id} and writes it with PUT /config/security/v1/security-rules/{id} only when the state changes, so repeated calls are idempotent. Push the candidate configuration to apply the change.
Get address
Get a address object by ID with GET /config/objects/v1/addresses/{id}, or by name and container with GET /config/objects/v1/addresses?name=.
Get address group
Get a address group by ID with GET /config/objects/v1/address-groups/{id}, or by name and container with GET /config/objects/v1/address-groups?name=.
Get device
Get a device onboarded to Strata Cloud Manager with GET /config/setup/v1/devices/{id}.
Get incident
Get the details of a Strata Cloud Manager incident with GET /incidents/v1/details/{incident-id}.
Get job
Get a configuration job with GET /config/operations/v1/jobs/{id}.
Get security rule
Get a security rule by ID with GET /config/security/v1/security-rules/{id}, or by name and container with GET /config/security/v1/security-rules?name=.
List address groups
List address groups. Calls GET /config/objects/v1/address-groups directly; page with limit and offset.
List addresses
List address objects. Calls GET /config/objects/v1/addresses directly; page with limit and offset.
List devices
List devices onboarded to Strata Cloud Manager. Calls GET /config/setup/v1/devices directly; page with limit and offset.
List external dynamic lists
List external dynamic lists. Calls GET /config/objects/v1/external-dynamic-lists directly; page with limit and offset.
List folders
List folders. Calls GET /config/setup/v1/folders directly; page with limit and offset.
List jobs
List configuration jobs. Calls GET /config/operations/v1/jobs directly; page with limit and offset.
List quarantined devices
List GlobalProtect devices on the quarantine list with GET /config/objects/v1/quarantined-devices, optionally filtered by host ID or serial number.
List security rules
List security rules. Calls GET /config/security/v1/security-rules directly; page with limit and offset.
List snippets
List snippets. Calls GET /config/setup/v1/snippets directly; page with limit and offset.
List tags
List tags. Calls GET /config/objects/v1/tags directly; page with limit and offset.
Move security rule
Move a security rule within its rulebase with POST /config/security/v1/security-rules/{id}:move. Push the candidate configuration to apply the change.
Push candidate configuration
Push the candidate configuration of one or more folders to devices with POST /config/operations/v1/config-versions/candidate:push. Returns the job ID; use wait_for_job to wait for completion. Put this behind an approval step in containment workflows.
Quarantine device
Add a GlobalProtect device to the quarantine list with POST /config/objects/v1/quarantined-devices. Quarantined devices can be blocked by security rules that match the quarantine list.
Remove address group members
Remove members of a static address group in the candidate configuration. Reads the group by ID or by name with GET /config/objects/v1/address-groups, and writes it with PUT /config/objects/v1/address-groups/{id} only when membership changes, so repeated calls are idempotent. Push the candidate configuration to apply the change.
Remove device from quarantine
Remove a GlobalProtect device from the quarantine list with DELETE /config/objects/v1/quarantined-devices?host_id=.
Search incidents
Search Strata Cloud Manager incidents with POST /incidents/v1/search. Filter rules use property, operator, and values, e.g. {"property": "status", "operator": "in", "values": ["Raised"]}.
Unblock FQDN
Unblock an FQDN blocked with the matching block action. Removes the address object from the static address group with PUT /config/objects/v1/address-groups/{id} if it is a member, then deletes the address object with DELETE /config/objects/v1/addresses/{id} if it exists. Repeated calls are no-ops. Changes stay in the candidate configuration; run push_candidate_config to enforce them.
Unblock IP
Unblock an IP address or CIDR range blocked with the matching block action. Removes the address object from the static address group with PUT /config/objects/v1/address-groups/{id} if it is a member, then deletes the address object with DELETE /config/objects/v1/addresses/{id} if it exists. Repeated calls are no-ops. Changes stay in the candidate configuration; run push_candidate_config to enforce them.
Update address
Update an address object in the candidate configuration. Reads it with GET /config/objects/v1/addresses/{id}, applies only the provided fields, and writes it with PUT /config/objects/v1/addresses/{id}. Push the candidate configuration to apply the change.
Update address group
Update an address group in the candidate configuration. Reads it with GET /config/objects/v1/address-groups/{id}, applies only the provided fields, and writes it with PUT /config/objects/v1/address-groups/{id}. static_members replaces the whole member list; use add_address_group_members or remove_address_group_members for incremental changes.
Update security rule
Update a security rule in the candidate configuration. Reads it with GET /config/security/v1/security-rules/{id}, merges the provided API-native fields, and writes it with PUT /config/security/v1/security-rules/{id}. Push the candidate configuration to apply the change.
Wait for job
Poll GET /config/operations/v1/jobs/{id} until the job finishes, then return the final response. Fails when the job fails, unless raise_on_failure is false, or when it does not finish within poll_max_attempts.