Create policy
Action ID:tools.pan_prisma.create_policy
Add a custom policy. Calls POST /policy directly.
Reference: https://pan.dev/prisma-cloud/api/cspm/add-policy/
Secrets
Required secrets:pan_prisma: required valuesPRISMA_ACCESS_KEY_ID,PRISMA_SECRET_KEY.
Input fields
Policy type, e.g. config, network, audit_event or iam. Policy type anomaly is read-only.
Policy rule. Uses criteria (a saved search ID), name, parameters and type, e.g. {“criteria”: “<saved-search-id>”, “name”: “my rule”, “parameters”: {“savedSearch”: “true”}, “type”: “Config”}.
Prisma Cloud API URL for your tenant’s stack, e.g. https://api.prismacloud.io, https://api2.prismacloud.io or https://api.eu.prismacloud.io. Falls back to the workspace variable pan_prisma.base_url.Default:
null.Cloud type. Required for config policies; other policy types default to ALL. Allowed values: ALL, AWS, AZURE, GCP, ALIBABA_CLOUD, OCI, IBM.Default:
null.Delete policy
Action ID:tools.pan_prisma.delete_policy
Delete a policy. Calls DELETE /policy/{id} directly.
Reference: https://pan.dev/prisma-cloud/api/cspm/delete-policy/
Secrets
Required secrets:pan_prisma: required valuesPRISMA_ACCESS_KEY_ID,PRISMA_SECRET_KEY.
Input fields
Prisma Cloud API URL for your tenant’s stack, e.g. https://api.prismacloud.io, https://api2.prismacloud.io or https://api.eu.prismacloud.io. Falls back to the workspace variable pan_prisma.base_url.Default:
null.Dismiss or snooze alerts
Action ID:tools.pan_prisma.dismiss_alerts
Dismisses one or more alerts on the Prisma Cloud platform. If the caller specifies a dismissal time range, then alerts will snooze for that time period rather than be dismissed. Calls POST /alert/dismiss directly.
Reference: https://pan.dev/prisma-cloud/api/cspm/dismiss-alerts/
Secrets
Required secrets:pan_prisma: required valuesPRISMA_ACCESS_KEY_ID,PRISMA_SECRET_KEY.
Input fields
Filter to narrow the alerts. filter.timeRange is required, e.g. {“timeRange”: {“type”: “to_now”, “value”: “epoch”}}. Can also include filters, a list of name/operator/value objects.
Prisma Cloud API URL for your tenant’s stack, e.g. https://api.prismacloud.io, https://api2.prismacloud.io or https://api.eu.prismacloud.io. Falls back to the workspace variable pan_prisma.base_url.Default:
null.Dismissal time range. Set this to snooze instead of dismiss, e.g. {“type”: “relative”, “value”: {“amount”: 7, “unit”: “day”}}.Default:
null.Get alert
Action ID:tools.pan_prisma.get_alert
Returns information about an alert for the specified ID. Calls GET /alert/{id} directly.
Reference: https://pan.dev/prisma-cloud/api/cspm/get-alert/
Secrets
Required secrets:pan_prisma: required valuesPRISMA_ACCESS_KEY_ID,PRISMA_SECRET_KEY.
Input fields
Prisma Cloud API URL for your tenant’s stack, e.g. https://api.prismacloud.io, https://api2.prismacloud.io or https://api.eu.prismacloud.io. Falls back to the workspace variable pan_prisma.base_url.Default:
null.Get alert count by status
Action ID:tools.pan_prisma.get_alert_count
Returns an alert count for the specified status. Calls GET /alert/count/{status} directly.
Reference: https://pan.dev/prisma-cloud/api/cspm/get-alert-count/
Secrets
Required secrets:pan_prisma: required valuesPRISMA_ACCESS_KEY_ID,PRISMA_SECRET_KEY.
Input fields
Prisma Cloud API URL for your tenant’s stack, e.g. https://api.prismacloud.io, https://api2.prismacloud.io or https://api.eu.prismacloud.io. Falls back to the workspace variable pan_prisma.base_url.Default:
null.Get alert evidence graph
Action ID:tools.pan_prisma.get_alert_evidence_graph
Given an alert ID, returns the data that can be presented in a graphical format. The returned response matches the JSON Graph Format standard. Calls GET /alert/v1/{id}/graph directly.
Reference: https://pan.dev/prisma-cloud/api/cspm/get-alert-evidence-graph/
Secrets
Required secrets:pan_prisma: required valuesPRISMA_ACCESS_KEY_ID,PRISMA_SECRET_KEY.
Input fields
Prisma Cloud API URL for your tenant’s stack, e.g. https://api.prismacloud.io, https://api2.prismacloud.io or https://api.eu.prismacloud.io. Falls back to the workspace variable pan_prisma.base_url.Default:
null.Get alert remediation commands
Action ID:tools.pan_prisma.get_alert_remediation_commands
Generates and returns a list of remediation commands for the specified alerts and policies. Data returned for a successful call include fully constructed commands for remediation. Calls POST /alert/remediation directly.
Reference: https://pan.dev/prisma-cloud/api/cspm/get-alerts-remediation/
Secrets
Required secrets:pan_prisma: required valuesPRISMA_ACCESS_KEY_ID,PRISMA_SECRET_KEY.
Input fields
Filter to narrow or manage the search. filter.timeRange.type and filter.timeRange.value are required; other filter parameters are ignored, e.g. {“timeRange”: {“type”: “to_now”, “value”: “epoch”}}.
List of alert IDs. One or more alert IDs associated with a single policy are required if no policies are specified. If a policy is specified, then all the alerts specified must belong to that policy.Default:
null.Prisma Cloud API URL for your tenant’s stack, e.g. https://api.prismacloud.io, https://api2.prismacloud.io or https://api.eu.prismacloud.io. Falls back to the workspace variable pan_prisma.base_url.Default:
null.List of policy IDs. A single policy ID is required if no alerts are specified.Default:
null.Get asset
Action ID:tools.pan_prisma.get_asset
Returns details for a unified asset, selected by the type of data to query (e.g. asset, alerts, findings, vulnerabilities, network, timeline, raw_config). Calls POST /uai/v1/asset directly.
Reference: https://pan.dev/prisma-cloud/api/cspm/get-asset-details-by-id/
Secrets
Required secrets:pan_prisma: required valuesPRISMA_ACCESS_KEY_ID,PRISMA_SECRET_KEY.
Input fields
Asset Domain Service query type, e.g. asset, asset_lite, alerts, alert_summary, findings, vulnerabilities, network, timeline, raw_config, relationships, permissions, attack_path.
Prisma Cloud API URL for your tenant’s stack, e.g. https://api.prismacloud.io, https://api2.prismacloud.io or https://api.eu.prismacloud.io. Falls back to the workspace variable pan_prisma.base_url.Default:
null.Get asset inventory
Action ID:tools.pan_prisma.get_asset_inventory
Returns asset inventory pass/fail data. Calls POST /v3/inventory directly.
Reference: https://pan.dev/prisma-cloud/api/cspm/post-method-for-asset-inventory-v-3/
Secrets
Required secrets:pan_prisma: required valuesPRISMA_ACCESS_KEY_ID,PRISMA_SECRET_KEY.
Input fields
Prisma Cloud API URL for your tenant’s stack, e.g. https://api.prismacloud.io, https://api2.prismacloud.io or https://api.eu.prismacloud.io. Falls back to the workspace variable pan_prisma.base_url.Default:
null.Filtering parameters as a list of {“name”: …, “operator”: ”=”, “value”: …} objects. For filter names and values, see the corresponding List Filters and filter suggestion APIs.Default:
null.Group returned items by cloud.type, cloud.service, cloud.region, cloud.account, and/or resource.type.Default:
null.Maximum number of items to return. When data is paginated, maximum number of items per page. The maximum cannot exceed 10,000.Default:
null.The number of items to skip before selecting items to return. Default is zero.Default:
null.Set to the nextPageToken from a response to return the next page of data.Default:
null.Get next config search page
Action ID:tools.pan_prisma.get_config_search_page
Returns the next page of config search results, using the nextPageToken from the previous page. Calls POST /search/config/page directly.
Reference: https://pan.dev/prisma-cloud/api/cspm/search-config-page/
Secrets
Required secrets:pan_prisma: required valuesPRISMA_ACCESS_KEY_ID,PRISMA_SECRET_KEY.
Input fields
Prisma Cloud API URL for your tenant’s stack, e.g. https://api.prismacloud.io, https://api2.prismacloud.io or https://api.eu.prismacloud.io. Falls back to the workspace variable pan_prisma.base_url.Default:
null.Get next event search page
Action ID:tools.pan_prisma.get_event_search_page
Returns the next page of event search results, using the data.nextPageToken from the previous page. Calls POST /search/event/page directly.
Reference: https://pan.dev/prisma-cloud/api/cspm/search-events-page/
Secrets
Required secrets:pan_prisma: required valuesPRISMA_ACCESS_KEY_ID,PRISMA_SECRET_KEY.
Input fields
Prisma Cloud API URL for your tenant’s stack, e.g. https://api.prismacloud.io, https://api2.prismacloud.io or https://api.eu.prismacloud.io. Falls back to the workspace variable pan_prisma.base_url.Default:
null.Get policy
Action ID:tools.pan_prisma.get_policy
Returns the policy that has the specified policy ID. Calls GET /policy/{id} directly.
Reference: https://pan.dev/prisma-cloud/api/cspm/get-policy/
Secrets
Required secrets:pan_prisma: required valuesPRISMA_ACCESS_KEY_ID,PRISMA_SECRET_KEY.
Input fields
Prisma Cloud API URL for your tenant’s stack, e.g. https://api.prismacloud.io, https://api2.prismacloud.io or https://api.eu.prismacloud.io. Falls back to the workspace variable pan_prisma.base_url.Default:
null.Get resource scan info
Action ID:tools.pan_prisma.get_resource_scan_info
Returns a full breakdown of passed/failed statistics and associated policies for resources. Calls POST /v2/resource/scan_info directly.
Reference: https://pan.dev/prisma-cloud/api/cspm/post-resource-scan-info-v-2/
Secrets
Required secrets:pan_prisma: required valuesPRISMA_ACCESS_KEY_ID,PRISMA_SECRET_KEY.
Input fields
Prisma Cloud API URL for your tenant’s stack, e.g. https://api.prismacloud.io, https://api2.prismacloud.io or https://api.eu.prismacloud.io. Falls back to the workspace variable pan_prisma.base_url.Default:
null.Filtering parameters as a list of {“name”: …, “operator”: ”=”, “value”: …} objects. For filter names and values, see the corresponding List Filters and filter suggestion APIs.Default:
null.Maximum number of items to return. When data is paginated, maximum number of items per page. The maximum cannot exceed 10,000.Default:
null.The number of items to skip before selecting items to return. Default is zero.Default:
null.Set to the nextPageToken from a response to return the next page of data.Default:
null.List alerts for resource
Action ID:tools.pan_prisma.list_resource_alerts
Get a list of alerts associated with a given resource. Calls POST /resource/alert directly.
Reference: https://pan.dev/prisma-cloud/api/cspm/get-alerts-for-resource/
Secrets
Required secrets:pan_prisma: required valuesPRISMA_ACCESS_KEY_ID,PRISMA_SECRET_KEY.
Input fields
Prisma Cloud API URL for your tenant’s stack, e.g. https://api.prismacloud.io, https://api2.prismacloud.io or https://api.eu.prismacloud.io. Falls back to the workspace variable pan_prisma.base_url.Default:
null.List policies
Action ID:tools.pan_prisma.list_policies
Returns all available policies, both system default and custom. Apply filters to narrow the returned policy list. Calls GET /v2/policy directly.
Reference: https://pan.dev/prisma-cloud/api/cspm/get-policies-v-2/
Secrets
Required secrets:pan_prisma: required valuesPRISMA_ACCESS_KEY_ID,PRISMA_SECRET_KEY.
Input fields
Prisma Cloud API URL for your tenant’s stack, e.g. https://api.prismacloud.io, https://api2.prismacloud.io or https://api.eu.prismacloud.io. Falls back to the workspace variable pan_prisma.base_url.Default:
null.Policy severity (policy.severity): critical, high, medium, low or informational.Default:
null.Policy subtype (policy.subtype), e.g. run, build, audit, network_event, ueba.Default:
null.Remediate alert
Action ID:tools.pan_prisma.remediate_alert
Remediates the alert with the specified ID if that alert is associated with a remediable policy. Calls PATCH /alert/remediation/{id} directly.
Reference: https://pan.dev/prisma-cloud/api/cspm/perform-remediation-for-alert/
Secrets
Required secrets:pan_prisma: required valuesPRISMA_ACCESS_KEY_ID,PRISMA_SECRET_KEY.
Input fields
Prisma Cloud API URL for your tenant’s stack, e.g. https://api.prismacloud.io, https://api2.prismacloud.io or https://api.eu.prismacloud.io. Falls back to the workspace variable pan_prisma.base_url.Default:
null.Reopen alerts
Action ID:tools.pan_prisma.reopen_alerts
Sets the status of one or more dismissed or snoozed alerts on the Prisma Cloud platform to open. Calls POST /alert/reopen directly.
Reference: https://pan.dev/prisma-cloud/api/cspm/reopen-alerts/
Secrets
Required secrets:pan_prisma: required valuesPRISMA_ACCESS_KEY_ID,PRISMA_SECRET_KEY.
Input fields
Filter to narrow the alerts. filter.timeRange is required, e.g. {“timeRange”: {“type”: “to_now”, “value”: “epoch”}}. Can also include filters, a list of name/operator/value objects.
Prisma Cloud API URL for your tenant’s stack, e.g. https://api.prismacloud.io, https://api2.prismacloud.io or https://api.eu.prismacloud.io. Falls back to the workspace variable pan_prisma.base_url.Default:
null.Search alerts
Action ID:tools.pan_prisma.search_alerts
Returns a paginated list of alerts that matches the constraints specified in the body parameters. Calls POST /v2/alert directly.
Reference: https://pan.dev/prisma-cloud/api/cspm/post-alerts-v-2/
Secrets
Required secrets:pan_prisma: required valuesPRISMA_ACCESS_KEY_ID,PRISMA_SECRET_KEY.
Input fields
Prisma Cloud API URL for your tenant’s stack, e.g. https://api.prismacloud.io, https://api2.prismacloud.io or https://api.eu.prismacloud.io. Falls back to the workspace variable pan_prisma.base_url.Default:
null.Specific fields to return, e.g. alert.id, alert.status, alert.time, cloud.account, cloud.accountId, cloud.region, resource.id, resource.name, policy.name, policy.type, policy.severity.Default:
null.Filtering parameters as a list of {“name”: …, “operator”: ”=”, “value”: …} objects. For filter names and values, see the corresponding List Filters and filter suggestion APIs. Common names include alert.status, alert.id, policy.severity, policy.name, cloud.account and resource.id.Default:
null.Maximum number of items to return. When data is paginated, maximum number of items per page.Default:
null.Set to the nextPageToken from a previous response to return the next page of data.Default:
null.Sort properties. Append :asc or :desc to the key, e.g. alertTime:desc. Valid keys are listed in the response’s sortAllowedColumns.Default:
null.Time range object, see the Prisma Cloud Time Range Model. Examples: {“type”: “relative”, “value”: {“amount”: 24, “unit”: “hour”}}, {“type”: “to_now”, “value”: “epoch”}, or {“type”: “absolute”, “value”: {“startTime”: 1700000000000, “endTime”: 1700086400000}}.Default:
null.Search audit events (RQL)
Action ID:tools.pan_prisma.search_events
Returns the results of an RQL audit event query. Use event queries to detect and investigate console and API access, monitor privileged activities, and detect account compromise and unusual user behavior. Calls POST /search/event directly.
Reference: https://pan.dev/prisma-cloud/api/cspm/search-events/
Secrets
Required secrets:pan_prisma: required valuesPRISMA_ACCESS_KEY_ID,PRISMA_SECRET_KEY.
Input fields
Time range object, see the Prisma Cloud Time Range Model. Examples: {“type”: “relative”, “value”: {“amount”: 24, “unit”: “hour”}}, {“type”: “to_now”, “value”: “epoch”}, or {“type”: “absolute”, “value”: {“startTime”: 1700000000000, “endTime”: 1700086400000}}.
Prisma Cloud API URL for your tenant’s stack, e.g. https://api.prismacloud.io, https://api2.prismacloud.io or https://api.eu.prismacloud.io. Falls back to the workspace variable pan_prisma.base_url.Default:
null.Search config (RQL)
Action ID:tools.pan_prisma.search_config
Returns the results of an RQL config query. Use config queries to retrieve resource information, identify misconfigurations, and uncover policy and compliance violations. Calls POST /search/api/v2/config directly.
Reference: https://pan.dev/prisma-cloud/api/cspm/search-config-v-2/
Secrets
Required secrets:pan_prisma: required valuesPRISMA_ACCESS_KEY_ID,PRISMA_SECRET_KEY.
Input fields
RQL query, e.g. config from cloud.resource where api.name = ‘aws-ec2-describe-instances’.
Prisma Cloud API URL for your tenant’s stack, e.g. https://api.prismacloud.io, https://api2.prismacloud.io or https://api.eu.prismacloud.io. Falls back to the workspace variable pan_prisma.base_url.Default:
null.Results per page. The maximum number of results is 100 items; use get_config_search_page with nextPageToken for more.Default:
null.Sort field data, e.g. [{“field”: “insertTs”, “direction”: “desc”}].Default:
null.Start time for the search in epoch milliseconds. The end time is the current system time.Default:
null.Search network (RQL)
Action ID:tools.pan_prisma.search_network
Perform a search against flow logs with an RQL query. Calls POST /search directly.
Reference: https://pan.dev/prisma-cloud/api/cspm/search-network/
Secrets
Required secrets:pan_prisma: required valuesPRISMA_ACCESS_KEY_ID,PRISMA_SECRET_KEY.
Input fields
RQL query, e.g. network from vpc.flow_record where dest.publicnetwork IN (‘Suspicious IPs’).
Time range object, see the Prisma Cloud Time Range Model. Examples: {“type”: “relative”, “value”: {“amount”: 24, “unit”: “hour”}}, {“type”: “to_now”, “value”: “epoch”}, or {“type”: “absolute”, “value”: {“startTime”: 1700000000000, “endTime”: 1700086400000}}.
Prisma Cloud API URL for your tenant’s stack, e.g. https://api.prismacloud.io, https://api2.prismacloud.io or https://api.eu.prismacloud.io. Falls back to the workspace variable pan_prisma.base_url.Default:
null.Update policy
Action ID:tools.pan_prisma.update_policy
Update an existing policy. Calls PUT /policy/{id} directly.
Reference: https://pan.dev/prisma-cloud/api/cspm/update-policy/
Secrets
Required secrets:pan_prisma: required valuesPRISMA_ACCESS_KEY_ID,PRISMA_SECRET_KEY.
Input fields
API-native request body containing only the fields to change; omitted fields keep their current values. Documented fields for PUT /policy/{id}: name, policyType, severity, rule, cloudType, description, recommendation, labels, enabled, complianceMetadata, remediation, findingTypes.
Prisma Cloud API URL for your tenant’s stack, e.g. https://api.prismacloud.io, https://api2.prismacloud.io or https://api.eu.prismacloud.io. Falls back to the workspace variable pan_prisma.base_url.Default:
null.Update policy status
Action ID:tools.pan_prisma.update_policy_status
Enable or disable a policy. Calls PATCH /policy/{id}/status/{enabled} directly.
Reference: https://pan.dev/prisma-cloud/api/cspm/update-policy-status/
Secrets
Required secrets:pan_prisma: required valuesPRISMA_ACCESS_KEY_ID,PRISMA_SECRET_KEY.
Input fields
Prisma Cloud API URL for your tenant’s stack, e.g. https://api.prismacloud.io, https://api2.prismacloud.io or https://api.eu.prismacloud.io. Falls back to the workspace variable pan_prisma.base_url.Default:
null.