Skip to content
Release: Australia · Updated: 2026-03-12 · Official documentation · View source

Prisma Cloud REST Messages

Prisma REST messages are used to make calls to the Prisma Application Programming Interface (API) to fetch the compliance data.

The following REST messages are shipped with the base system.

Prisma Cloud integrations

All Prisma Cloud integrations use the JSON Web Token (JWT) for authentication and authorization.

EndpointDescriptionMethodBodyAPI documentation link
/loginObtains the JWT token for use in all subsequent integrations.POST
{ "username": <<access key id >>, 
"password": <<secret access key>>}
https://pan.dev/prisma-cloud/api/cspm/app-login/
EndpointDescriptionMethodBodyAPI documentation link
/auth_token/extendAutomatically renews the JWT token on expiration. The default duration for token expiry is 60 minutes.GETNAhttps://pan.dev/prisma-cloud/api/cspm/extend-session/
EndpointDescriptionMethodBodyAPI documentation link
/v2/policyRetrieves all the policy data from Prisma.GETNAhttps://pan.dev/prisma-cloud/api/cspm/get-policies/
EndpointDescriptionMethodBodyAPI documentation link
/v2/alertRetrieves all alerts from Prisma.POST
{
    "detailed": "false",
    "filters": [
    {

        "name": "timeRange.type",
                "operator": "=",
                "value": "ALERT_STATUS_UPDATED"
        }
    ],
    "sortBy": [
        "resource.id"
    ],
    "pageToken": "",
    "offset": 0,
    "limit": 2000,
    "timeRange": {
        "type": "absolute",
        "value": {
            "startTime": <<Import since at integration level>>,
            "endTime": << Current integration  run time>>
        }
    }
}
https://pan.dev/prisma-cloud/api/cspm/post-alerts/

For Prisma Comprehensive Alert integration, the filters in the above POST body must be replaced as follows:

"filters": [
    {
                    "name": "alert.status",
                    "operator": "=",
                    "value": "open"
                },
                {
                    "name": "alert.status",
                    "operator": "=",
                    "value": "dismissed"
                },
                {
                    "name": "alert.status",
                    "operator": "=",
                    "value": "snoozed"
                },
                {
                    "name": "alert.status",
                    "operator": "=",
                    "value": "pending_resolution"
                },
                {
                    "name": "timeRange.type",
                    "operator": "=",
                    "value": "ALERT_UPDATED"
                }

    ],