diff --git a/Prisma Cloud.postman_collection.json b/Prisma Cloud.postman_collection.json index 89dadd5..7e158ea 100644 --- a/Prisma Cloud.postman_collection.json +++ b/Prisma Cloud.postman_collection.json @@ -1,4193 +1,22047 @@ { "info": { - "_postman_id": "6847adb7-40ab-4ced-bebe-f4ab8adb1aaa", + "_postman_id": "e99d479a-087d-4f48-9359-d65919475e9d", "name": "Prisma Cloud", - "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" + "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", + "_exporter_id": "8937986" }, "item": [ { - "name": "Login", + "name": "Cloud Security", "item": [ { - "name": "Login Generate Token", - "event": [ + "name": "Access Keys", + "item": [ { - "listen": "test", - "script": { - "exec": [ - "var jsonData = JSON.parse(responseBody);", - "postman.setEnvironmentVariable(\"token\", jsonData.token);" + "name": "List Access Keys", + "request": { + "method": "GET", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "POST", - "header": [ - { - "key": "accept", - "value": "application/json; charset=UTF-8" - }, - { - "key": "content-type", - "value": "application/json" - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"username\": \"{{ACCESS_KEY}}\",\n \"password\": \"{{SECRET_KEY}}\"\n}" - }, - "url": { - "raw": "https://{{api-endpoint}}/login", - "protocol": "https", - "host": [ - "{{api-endpoint}}" - ], - "path": [ - "login" - ] - }, - "description": "Returns a JWT auth token for accessing the Prisma Cloud APIs. To generate a token, you must have an access key and include the following values in the request body parameter — access key ID as the username and your secret key as the password. Prisma Cloud requires this JWT in the request header to authorize API access." - }, - "response": [] - }, - { - "name": "Refresh Token", - "request": { - "method": "GET", - "header": [ - { - "key": "accept", - "value": "application/json; charset=UTF-8", - "type": "text" - }, - { - "key": "content-type", - "value": "application/json", - "type": "text" - }, - { - "key": "x-redlock-auth", - "value": "{{token}}", - "type": "text" - } - ], - "url": { - "raw": "https://{{api-endpoint}}/auth_token/extend", - "protocol": "https", - "host": [ - "{{api-endpoint}}" - ], - "path": [ - "auth_token", - "extend" - ] - }, - "description": "Extend a user's session. The JWT token returned is valid until the next session timeout occurs. This method requires a valid session token to be passed (token from a prior successful extend or login calls)." - }, - "response": [] - } - ] - }, - { - "name": "System", - "item": [ - { - "name": "Health Check", - "request": { - "method": "GET", - "header": [ - { - "key": "accept", - "type": "text", - "value": "application/json; charset=UTF-8" - }, - { - "key": "content-type", - "type": "text", - "value": "application/json" - }, - { - "key": "x-redlock-auth", - "type": "text", - "value": "{{token}}" - } - ], - "url": { - "raw": "https://{{api-endpoint}}/check", - "protocol": "https", - "host": [ - "{{api-endpoint}}" - ], - "path": [ - "check" - ] - }, - "description": "Check's the current Prisma Cloud API status. You should receive a \"hello from the other side\" message.\n\nNote this does NOT need a jwt-token to perform." - }, - "response": [] - } - ] - }, - { - "name": "User Profile", - "item": [ - { - "name": "Profile", - "request": { - "method": "GET", - "header": [ - { - "key": "accept", - "type": "text", - "value": "application/json; charset=UTF-8" - }, - { - "key": "content-type", - "type": "text", - "value": "application/json" - }, - { - "key": "x-redlock-auth", - "type": "text", - "value": "{{token}}" - } - ], - "url": { - "raw": "https://{{api-endpoint}}/user/me", - "protocol": "https", - "host": [ - "{{api-endpoint}}" - ], - "path": [ - "user", - "me" - ] - }, - "description": "Returns the information about the current authenticated user/access-key." - }, - "response": [] - }, - { - "name": "Update Profile", - "request": { - "method": "PUT", - "header": [ - { - "key": "accept", - "type": "text", - "value": "application/json; charset=UTF-8" - }, - { - "key": "content-type", - "type": "text", - "value": "application/json" - }, - { - "key": "x-redlock-auth", - "type": "text", - "value": "{{token}}" - } - ], - "body": { - "mode": "raw", - "raw": "{\n\t\"email\":\"email_to_update\",\n\t\"firstName\":\"first\",\n\t\"lastName\":\"last\",\n\t\"timeZone\":\"America/New_York\",\n\t\"roleId\":\"ROLE_ID_HERE\",\n\t\"accessKeysAllowed\":true,\n\t\"onlyAllowCIAccess\":true,\n\t\"onlyAllowComputeAccess\":true\n}" - }, - "url": { - "raw": "https://{{api-endpoint}}/user/me", - "protocol": "https", - "host": [ - "{{api-endpoint}}" - ], - "path": [ - "user", - "me" - ] - }, - "description": "Updates the current authenticated user/access-key account information. " - }, - "response": [] - }, - { - "name": "List Users", - "request": { - "method": "GET", - "header": [ - { - "key": "accept", - "type": "text", - "value": "application/json; charset=UTF-8" - }, - { - "key": "content-type", - "type": "text", - "value": "application/json" - }, - { - "key": "x-redlock-auth", - "type": "text", - "value": "{{token}}" - } - ], - "url": { - "raw": "https://{{api-endpoint}}/user", - "protocol": "https", - "host": [ - "{{api-endpoint}}" - ], - "path": [ - "user" - ] + "url": { + "raw": "https://{{api-endpoint}}/access_keys", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "access_keys" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-my-access-keys/](https://pan.dev/prisma-cloud/api/cspm/get-my-access-keys/)" + }, + "response": [] }, - "description": "List all users in the current Prisma Cloud tenant. " - }, - "response": [] - }, - { - "name": "Add New User Profile v2", - "request": { - "method": "POST", - "header": [ - { - "key": "accept", - "type": "text", - "value": "application/json; charset=UTF-8" - }, - { - "key": "content-type", - "type": "text", - "value": "application/json" - }, - { - "key": "x-redlock-auth", - "type": "text", - "value": "{{token}}" - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"roleIds\":[\"ROLE_IDs_HERE\"],\n \"email\":\"NEW_USER_EMAIL\",\n \"firstName\":\"FIRST_NAME\",\n \"lastName\":\"LAST_NAME\",\n \"timeZone\":\"GMT\",\n \"accessKeysAllowed\":true,\n \"defaultRoleId\":\"DEFAULT_ROLE_ID\"\n}" - }, - "url": { - "raw": "https://{{api-endpoint}}/v2/user", - "protocol": "https", - "host": [ - "{{api-endpoint}}" - ], - "path": [ - "v2", - "user" - ] + { + "name": "Add Access Keys Other User", + "request": { + "method": "POST", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n\t\"name\":\"ACCESS_KEY_ID\",\n\t\"expiresOn\":0,\n \"serviceAccountName\": \"string\"\n}" + }, + "url": { + "raw": "https://{{api-endpoint}}/access_keys", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "access_keys" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/add-access-keys/](https://pan.dev/prisma-cloud/api/cspm/add-access-keys/)" + }, + "response": [] }, - "description": "Creates a new users profile. You need to query a valid ROLE_ID before executing here with a List User Roles GET call. " - }, - "response": [] - }, - { - "name": "List Usernames", - "request": { - "method": "GET", - "header": [ - { - "key": "accept", - "value": "application/json; charset=UTF-8", - "type": "text" - }, - { - "key": "content-type", - "value": "application/json", - "type": "text" - }, - { - "key": "x-redlock-auth", - "value": "{{token}}", - "type": "text" - } - ], - "url": { - "raw": "https://{{api-endpoint}}/user/name", - "protocol": "https", - "host": [ - "{{api-endpoint}}" - ], - "path": [ - "user", - "name" - ] + { + "name": "Get Access Key by ID", + "request": { + "method": "GET", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "url": { + "raw": "https://{{api-endpoint}}/access_keys/:id", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "access_keys", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "Access key ID" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-access-key-by-id/](https://pan.dev/prisma-cloud/api/cspm/get-access-key-by-id/)" + }, + "response": [] }, - "description": "List all usernames in the current Prisma Cloud tenant. " - }, - "response": [] - }, - { - "name": "List User Role Type", - "request": { - "method": "GET", - "header": [ - { - "key": "accept", - "type": "text", - "value": "application/json; charset=UTF-8" - }, - { - "key": "content-type", - "type": "text", - "value": "application/json" - }, - { - "key": "x-redlock-auth", - "type": "text", - "value": "{{token}}" - } - ], - "url": { - "raw": "https://{{api-endpoint}}/user/role/type", - "protocol": "https", - "host": [ - "{{api-endpoint}}" - ], - "path": [ - "user", - "role", - "type" - ] + { + "name": "Delete Access Key", + "request": { + "method": "DELETE", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "url": { + "raw": "https://{{api-endpoint}}/access_keys/:id", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "access_keys", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "Access key ID" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/delete-access-keys/](https://pan.dev/prisma-cloud/api/cspm/delete-access-keys/)" + }, + "response": [] }, - "description": "List user roles for the current Prisma Cloud tenant. " - }, - "response": [] + { + "name": "Update Access Key Status", + "request": { + "method": "PATCH", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "url": { + "raw": "https://{{api-endpoint}}/access_keys/:id/status/:status", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "access_keys", + ":id", + "status", + ":status" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "Access key ID" + }, + { + "key": "status", + "value": "", + "description": "Whether or not the access key is active. True means active" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/update-access-key-status/](https://pan.dev/prisma-cloud/api/cspm/update-access-key-status/)" + }, + "response": [] + } + ], + "description": "[https://pan.dev/prisma-cloud/api/cspm/access-keys/](https://pan.dev/prisma-cloud/api/cspm/access-keys/)\n\nAccess Keys are a secure way to enable programmatic access to the Prisma Cloud API. By default, only the System Admin has API access and can enable API access for other administrators. If you have API access, you can create up to two access keys. Create an access key for a limited time period and regenerate your API keys periodically to minimize exposure and follow security best practices." }, { - "name": "Get Users Profile (other than your own)", - "request": { - "method": "GET", - "header": [ - { - "key": "accept", - "value": "application/json; charset=UTF-8", - "type": "text" - }, - { - "key": "content-type", - "value": "application/json", - "type": "text" - }, - { - "key": "x-redlock-auth", - "value": "{{token}}", - "type": "text" - } - ], - "url": { - "raw": "https://{{api-endpoint}}/user/{{email-id}}", - "protocol": "https", - "host": [ - "{{api-endpoint}}" - ], - "path": [ - "user", - "{{email-id}}" - ] + "name": "Account Groups", + "item": [ + { + "name": "List Account Groups", + "request": { + "method": "GET", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "url": { + "raw": "https://{{api-endpoint}}/cloud/group?excludeCloudAccountDetails", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "cloud", + "group" + ], + "query": [ + { + "key": "excludeCloudAccountDetails", + "value": null, + "description": "true = Exclude cloud account details. Default is false." + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-account-groups/](https://pan.dev/prisma-cloud/api/cspm/get-account-groups/)" + }, + "response": [] }, - "description": "Returns the information about a specific user/accounts information. " - }, - "response": [] - }, - { - "name": "Update User Profile (other than your own)", - "request": { - "method": "POST", - "header": [ - { - "key": "accept", - "value": "application/json; charset=UTF-8", - "type": "text" - }, - { - "key": "content-type", - "value": "application/json", - "type": "text" - }, - { - "key": "x-redlock-auth", - "value": "{{token}}", - "type": "text" - } - ], - "url": { - "raw": "https://{{api-endpoint}}/user/{{email-id}}", - "protocol": "https", - "host": [ - "{{api-endpoint}}" - ], - "path": [ - "user", - "{{email-id}}" - ] + { + "name": "Add Account Group", + "request": { + "method": "POST", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n\t\"accountIds\":[\"CLOUD_ACCOUNT_ID_1\",\"CLOUD_ACCOUNT_ID_2\"],\n \"cloudAccountInfos\": [],\n\t\"name\":\"ACCOUNT_GROUP_NAME\",\n\t\"description\":\"ACCOUNT_GROUP_DESCRIPTION\"\n}" + }, + "url": { + "raw": "https://{{api-endpoint}}/cloud/group", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "cloud", + "group" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/add-account-group/](https://pan.dev/prisma-cloud/api/cspm/add-account-group/)" + }, + "response": [] }, - "description": "Updates the information of a specific user/account. " - }, - "response": [] - }, - { - "name": "Delete User Profile", - "request": { - "method": "DELETE", - "header": [ - { - "key": "accept", - "type": "text", - "value": "application/json; charset=UTF-8" - }, - { - "key": "content-type", - "type": "text", - "value": "application/json" - }, - { - "key": "x-redlock-auth", - "type": "text", - "value": "{{token}}" - } - ], - "url": { - "raw": "https://{{api-endpoint}}/user/USER_ID_HERE", - "protocol": "https", - "host": [ - "{{api-endpoint}}" - ], - "path": [ - "user", - "USER_ID_HERE" - ] + { + "name": "List Account Group Names", + "request": { + "method": "GET", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "url": { + "raw": "https://{{api-endpoint}}/cloud/group/name?include_auto_created", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "cloud", + "group", + "name" + ], + "query": [ + { + "key": "include_auto_created", + "value": null, + "description": "Include account groups that were automatically created during cloud onboarding. Default is true." + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-account-group-name/](https://pan.dev/prisma-cloud/api/cspm/get-account-group-name/)" + }, + "response": [] }, - "description": "Extend a user's session. The JWT token returned is valid until the next session timeout occurs. This method requires a valid session token to be passed (token from a prior successful extend or login calls)." - }, - "response": [] - }, - { - "name": "Update User Status", - "request": { - "method": "PATCH", - "header": [ - { - "key": "accept", - "type": "text", - "value": "application/json; charset=UTF-8" - }, - { - "key": "content-type", - "type": "text", - "value": "application/json" - }, - { - "key": "x-redlock-auth", - "type": "text", - "value": "{{token}}" - } - ], - "url": { - "raw": "https://{{api-endpoint}}/user/{{email-id}}/status/TRUE_FALSE", - "protocol": "https", - "host": [ - "{{api-endpoint}}" - ], - "path": [ - "user", - "{{email-id}}", - "status", - "TRUE_FALSE" - ] + { + "name": "List Account Group Names by Cloud Type", + "request": { + "method": "GET", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "url": { + "raw": "https://{{api-endpoint}}/cloud/group/name/:cloud_type", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "cloud", + "group", + "name", + ":cloud_type" + ], + "variable": [ + { + "key": "cloud_type", + "value": "", + "description": "Possible values: [aws, azure, gcp, alibaba_cloud, oci]" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-account-group-name-by-cloud-type/](https://pan.dev/prisma-cloud/api/cspm/get-account-group-name-by-cloud-type/)" + }, + "response": [] }, - "description": "Enables or disables a specific users login status. " - }, - "response": [] - }, - { - "name": "List Email Domains", - "request": { - "method": "GET", - "header": [ - { - "key": "accept", - "type": "text", - "value": "application/json; charset=UTF-8" - }, - { - "key": "content-type", - "type": "text", - "value": "application/json" - }, - { - "key": "x-redlock-auth", - "type": "text", - "value": "{{token}}" - } - ], - "url": { - "raw": "https://{{api-endpoint}}/user/domain", - "protocol": "https", - "host": [ - "{{api-endpoint}}" - ], - "path": [ - "user", - "domain" - ] + { + "name": "Account Group Info", + "request": { + "method": "GET", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "url": { + "raw": "https://{{api-endpoint}}/cloud/group/:id?includeAccountInfo", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "cloud", + "group", + ":id" + ], + "query": [ + { + "key": "includeAccountInfo", + "value": null, + "description": "true = Include cloud account information. Default is false." + } + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "Account Group ID" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-account-group/](https://pan.dev/prisma-cloud/api/cspm/get-account-group/)" + }, + "response": [] }, - "description": "List all domains any user accounts have within the current Prisma Cloud tenant. " - }, - "response": [] - }, - { - "name": "List SSO Bypass Allowed Users", - "request": { - "method": "GET", - "header": [ - { - "key": "accept", - "value": "application/json; charset=UTF-8", - "type": "text" - }, - { - "key": "content-type", - "value": "application/json", - "type": "text" - }, - { - "key": "x-redlock-auth", - "value": "{{token}}", - "type": "text" - } - ], - "url": { - "raw": "https://{{api-endpoint}}/user/saml/bypass", - "protocol": "https", - "host": [ - "{{api-endpoint}}" - ], - "path": [ - "user", - "saml", - "bypass" - ] + { + "name": "Update Account Group", + "request": { + "method": "PUT", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n\t\"accountIds\":[\"CLOUD_ACCOUNT_ID_1\",\"CLOUD_ACCOUNT_ID_2\"],\n \"cloudAccountInfos\": []\n\t\"name\":\"ACCOUNT_GROUP_NAME\",\n\t\"description\":\"DESCRIPTION\"\n}" + }, + "url": { + "raw": "https://{{api-endpoint}}/cloud/group/:id", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "cloud", + "group", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "Account Group ID" + } + ] + }, + "description": "Updates a specific Account group based on ID and Cloud Accounts in the body. " + }, + "response": [] }, - "description": "List current user accounts that are allowed to bypass SSO and sign in to Prisma Cloud directly. " - }, - "response": [] + { + "name": "Delete Account Group", + "request": { + "method": "DELETE", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "url": { + "raw": "https://{{api-endpoint}}/cloud/group/:id", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "cloud", + "group", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "Account Group ID" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/delete-account-group/](https://pan.dev/prisma-cloud/api/cspm/delete-account-group/)" + }, + "response": [] + } + ], + "description": "[https://pan.dev/prisma-cloud/api/cspm/account-groups/](https://pan.dev/prisma-cloud/api/cspm/account-groups/)\n\nYou can use Account Groups to combine access to multiple cloud accounts with similar or different applications that span multiple divisions or business units, so that you can manage administrative access to these accounts from Prisma Cloud.\n\nWhen you onboard a cloud account to Prisma Cloud, you can assign the cloud account to one or more account groups, and then assign the account group to Prisma Cloud Administrator Roles. Assigning an account group to an administrative user on Prisma Cloud allows you to restrict access only to the resources and data that pertains to the cloud account(s) within an account group. Alerts on Prisma Cloud are applied at the cloud account group level, which means you can set up separate alert rules and notification flows for different cloud environments." }, { - "name": "Update SSO Bypass Allowed Users", - "request": { - "method": "PUT", - "header": [ - { - "key": "accept", - "type": "text", - "value": "application/json; charset=UTF-8" - }, - { - "key": "content-type", - "type": "text", - "value": "application/json" - }, - { - "key": "x-redlock-auth", - "type": "text", - "value": "{{token}}" - } - ], - "url": { - "raw": "https://{{api-endpoint}}/auth_token/extend", - "protocol": "https", - "host": [ - "{{api-endpoint}}" + "name": "Adoption Advisor", + "item": [ + { + "name": "Get Adoption Check Score", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "" + ], + "type": "text/javascript", + "packages": {} + } + }, + { + "listen": "prerequest", + "script": { + "exec": [], + "type": "text/javascript" + } + } ], - "path": [ - "auth_token", - "extend" - ] + "request": { + "auth": { + "type": "noauth" + }, + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "url": { + "raw": "https://{{api-endpoint}}/adoptionadvisor/checks?showFormula", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "adoptionadvisor", + "checks" + ], + "query": [ + { + "key": "showFormula", + "value": null, + "description": "true = Show formula used to calculate capability use. Default is false." + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-adoption-check-score/](https://pan.dev/prisma-cloud/api/cspm/get-adoption-check-score/)" + }, + "response": [] }, - "description": "Update the list of which users are allowed to bypass SSO and sign in to Prisma Cloud directly. " - }, - "response": [] - } - ] - }, - { - "name": "User Roles", - "item": [ - { - "name": "List User Roles", - "request": { - "method": "GET", - "header": [ - { - "key": "accept", - "type": "text", - "value": "application/json; charset=UTF-8" - }, - { - "key": "content-type", - "type": "text", - "value": "application/json" - }, - { - "key": "x-redlock-auth", - "type": "text", - "value": "{{token}}" - } - ], - "url": { - "raw": "https://{{api-endpoint}}/user/role", - "protocol": "https", - "host": [ - "{{api-endpoint}}" + { + "name": "Get Adoption Advisor Report", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "" + ], + "type": "text/javascript", + "packages": {} + } + }, + { + "listen": "prerequest", + "script": { + "exec": [ + "" + ], + "type": "text/javascript", + "packages": {} + } + } ], - "path": [ - "user", - "role" - ] + "request": { + "auth": { + "type": "noauth" + }, + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "url": { + "raw": "https://{{api-endpoint}}/adoptionadvisor/report", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "adoptionadvisor", + "report" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/adoption-advisor-get-all-report-configs/](https://pan.dev/prisma-cloud/api/cspm/adoption-advisor-get-all-report-configs/)" + }, + "response": [] }, - "description": "Lists all accounts and associated Roles in the current Prisma Cloud tenant. " - }, - "response": [] - }, - { - "name": "Add User Role", - "request": { - "method": "POST", - "header": [ - { - "key": "accept", - "type": "text", - "value": "application/json; charset=UTF-8" - }, - { - "key": "content-type", - "type": "text", - "value": "application/json" - }, - { - "key": "x-redlock-auth", - "type": "text", - "value": "{{token}}" - } - ], - "body": { - "mode": "raw", - "raw": "{\n\t\"accountGroupIds\":[\"ACCOUNT_GROUP_ID\"],\n\t\"name\":\"ROLE_NAME\",\n\t\"description\":\"Role Description\",\n\t\"roleType\":\"PERMISSION_GROUP_NAME\",\n\t\"restrictDismissalAccess\":false,\n\"additionalAttributes\":\n\t{\"onlyAllowCIAccess\":false,\n\t\"onlyAllowComputeAccess\":false}\n}" - }, - "url": { - "raw": "https://{{api-endpoint}}/user/role", - "protocol": "https", - "host": [ - "{{api-endpoint}}" + { + "name": "Create Adoption Advisor Report Config", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "" + ], + "type": "text/javascript", + "packages": {} + } + }, + { + "listen": "prerequest", + "script": { + "exec": [ + "" + ], + "type": "text/javascript", + "packages": {} + } + } ], - "path": [ - "user", - "role" - ] + "request": { + "auth": { + "type": "noauth" + }, + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"emailIds\": [\n \"string\"\n ],\n \"enabled\": true,\n \"id\": \"string\",\n \"name\": \"string\",\n \"schedule\": \"string\",\n \"widgetDays\": 0", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/adoptionadvisor/report", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "adoptionadvisor", + "report" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/create-adoption-advisor-config/](https://pan.dev/prisma-cloud/api/cspm/create-adoption-advisor-config/)" + }, + "response": [] }, - "description": "Adds a new User Role, much be combined with Account Group ID from \"List Account Groups\" GET. \nAlso needs to match a corresponding \"Permission Group\" from within Prisma Cloud. " - }, - "response": [] - }, - { - "name": "List User Role Names", - "request": { - "method": "GET", - "header": [ - { - "key": "accept", - "type": "text", - "value": "application/json; charset=UTF-8" - }, - { - "key": "content-type", - "type": "text", - "value": "application/json" - }, - { - "key": "x-redlock-auth", - "type": "text", - "value": "{{token}}" - } - ], - "url": { - "raw": "https://{{api-endpoint}}/user/role/name", - "protocol": "https", - "host": [ - "{{api-endpoint}}" + { + "name": "Create and Get an Adoption Advisor Report on demand", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "" + ], + "type": "text/javascript", + "packages": {} + } + }, + { + "listen": "prerequest", + "script": { + "exec": [ + "" + ], + "type": "text/javascript", + "packages": {} + } + } ], - "path": [ - "user", - "role", - "name" - ] + "request": { + "auth": { + "type": "noauth" + }, + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"emailIds\": [\n \"string\"\n ],\n \"enabled\": true,\n \"id\": \"string\",\n \"name\": \"string\",\n \"schedule\": \"string\",\n \"widgetDays\": 0", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/adoptionadvisor/report/generate", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "adoptionadvisor", + "report", + "generate" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/adoption-advisor-create-report/](https://pan.dev/prisma-cloud/api/cspm/adoption-advisor-create-report/)" + }, + "response": [] + }, + { + "name": "Update Adoption Advisor Report", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "" + ], + "type": "text/javascript", + "packages": {} + } + }, + { + "listen": "prerequest", + "script": { + "exec": [ + "" + ], + "type": "text/javascript", + "packages": {} + } + } + ], + "request": { + "auth": { + "type": "noauth" + }, + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"emailIds\": [\n \"string\"\n ],\n \"enabled\": true,\n \"id\": \"string\",\n \"name\": \"string\",\n \"schedule\": \"string\",\n \"widgetDays\": 0", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/adoptionadvisor/report/:reportId", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "adoptionadvisor", + "report", + ":reportId" + ], + "variable": [ + { + "key": "reportId", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/adoption-advisor-update-report/](https://pan.dev/prisma-cloud/api/cspm/adoption-advisor-update-report/)" + }, + "response": [] + }, + { + "name": "Delete Adoption Advisor Report", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "" + ], + "type": "text/javascript", + "packages": {} + } + }, + { + "listen": "prerequest", + "script": { + "exec": [ + "" + ], + "type": "text/javascript", + "packages": {} + } + } + ], + "request": { + "auth": { + "type": "noauth" + }, + "method": "DELETE", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"emailIds\": [\n \"string\"\n ],\n \"enabled\": true,\n \"id\": \"string\",\n \"name\": \"string\",\n \"schedule\": \"string\",\n \"widgetDays\": 0", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/adoptionadvisor/report/:reportId", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "adoptionadvisor", + "report", + ":reportId" + ], + "variable": [ + { + "key": "reportId", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/adoption-advisor-delete-report/](https://pan.dev/prisma-cloud/api/cspm/adoption-advisor-delete-report/)" + }, + "response": [] + }, + { + "name": "Download Latest Adoption Advisor Report", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "" + ], + "type": "text/javascript", + "packages": {} + } + }, + { + "listen": "prerequest", + "script": { + "exec": [ + "" + ], + "type": "text/javascript", + "packages": {} + } + } + ], + "request": { + "auth": { + "type": "noauth" + }, + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "url": { + "raw": "https://{{api-endpoint}}/adoptionadvisor/report/:reportId/download", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "adoptionadvisor", + "report", + ":reportId", + "download" + ], + "variable": [ + { + "key": "reportId", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/adoption-advisor-download-latest-report/](https://pan.dev/prisma-cloud/api/cspm/adoption-advisor-download-latest-report/)" + }, + "response": [] + }, + { + "name": "Download Adoption Advisor Report", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "" + ], + "type": "text/javascript", + "packages": {} + } + }, + { + "listen": "prerequest", + "script": { + "exec": [ + "" + ], + "type": "text/javascript", + "packages": {} + } + } + ], + "request": { + "auth": { + "type": "noauth" + }, + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "url": { + "raw": "https://{{api-endpoint}}/adoptionadvisor/report/:reportId/:createdOn/download", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "adoptionadvisor", + "report", + ":reportId", + ":createdOn", + "download" + ], + "variable": [ + { + "key": "reportId", + "value": "" + }, + { + "key": "createdOn", + "value": "" + } + ] + }, + "description": "Returns an object whose keys are the available policy filters. The corresponding values are default or recently set filter options" + }, + "response": [] + } + ], + "description": "The Adoption Advisor API provides visibility into which Prisma Cloud capabilities you have adopted and helps you uncover security capabilities that you not have yet explored." + }, + { + "name": "Alert Rules", + "item": [ + { + "name": "List Alert Rules", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "" + ], + "type": "text/javascript", + "packages": {} + } + }, + { + "listen": "prerequest", + "script": { + "exec": [ + "" + ], + "type": "text/javascript", + "packages": {} + } + } + ], + "request": { + "auth": { + "type": "noauth" + }, + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "url": { + "raw": "https://{{api-endpoint}}/v2/alert/rule?enabled", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "v2", + "alert", + "rule" + ], + "query": [ + { + "key": "enabled", + "value": null, + "description": "Process only enabled alert rules" + } + ] + }, + "description": "Returns an object whose keys are the available policy filters. The corresponding values are default or recently set filter options" + }, + "response": [] + }, + { + "name": "Add an Alert Rule", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "" + ], + "type": "text/javascript", + "packages": {} + } + }, + { + "listen": "prerequest", + "script": { + "exec": [ + "" + ], + "type": "text/javascript", + "packages": {} + } + } + ], + "request": { + "auth": { + "type": "noauth" + }, + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"alertRuleNotificationConfig\": [\n {\n \"detailedReport\": true,\n \"enabled\": true,\n \"frequency\": \"as_it_happens\",\n \"id\": \"string\",\n \"includeRemediation\": true,\n \"lastUpdated\": 0,\n \"last_sent_ts\": 0,\n \"recipients\": [\n \"string\"\n ],\n \"rruleSchedule\": \"string\",\n \"templateId\": \"string\",\n \"type\": \"email\",\n \"withCompression\": true\n }\n ],\n \"allowAutoRemediate\": true,\n \"delayNotificationMs\": 0,\n \"description\": \"string\",\n \"enabled\": true,\n \"name\": \"string\",\n \"notifyOnDismissed\": true,\n \"notifyOnOpen\": true,\n \"notifyOnResolved\": true,\n \"notifyOnSnoozed\": true,\n \"policies\": [\n \"string\"\n ],\n \"policyLabels\": [\n \"string\"\n ],\n \"policyScanConfigId\": \"string\",\n \"scanAll\": true,\n \"target\": {\n \"accountGroups\": [\n \"string\"\n ],\n \"alertRulePolicyFilter\": {\n \"availablePolicyFilters\": [\n \"string\"\n ],\n \"cloud.type\": [\n \"ALL\"\n ],\n \"policy.complianceStandard\": [\n \"string\"\n ],\n \"policy.label\": [\n \"string\"\n ],\n \"policy.severity\": [\n \"string\"\n ]\n },\n \"excludedAccounts\": [\n \"string\"\n ],\n \"includedResourceLists\": {\n \"computeAccessGroupIds\": [\n \"string\"\n ]\n },\n \"regions\": [\n \"string\"\n ],\n \"tags\": [\n {\n \"key\": \"string\",\n \"values\": [\n \"string\"\n ]\n }\n ]\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/alert/rule", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "alert", + "rule" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/add-alert-rule/](https://pan.dev/prisma-cloud/api/cspm/add-alert-rule/)" + }, + "response": [] + }, + { + "name": "Get Alert Rule by ID", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "" + ], + "type": "text/javascript", + "packages": {} + } + }, + { + "listen": "prerequest", + "script": { + "exec": [ + "" + ], + "type": "text/javascript", + "packages": {} + } + } + ], + "request": { + "auth": { + "type": "noauth" + }, + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "url": { + "raw": "https://{{api-endpoint}}/alert/rule/:id", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "alert", + "rule", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "Alert rule ID (also known as the \"policyScanConfigId\")" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-alert-rule/](https://pan.dev/prisma-cloud/api/cspm/get-alert-rule/)" + }, + "response": [] + }, + { + "name": "Update Alert Rule", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "" + ], + "type": "text/javascript", + "packages": {} + } + }, + { + "listen": "prerequest", + "script": { + "exec": [ + "" + ], + "type": "text/javascript", + "packages": {} + } + } + ], + "request": { + "auth": { + "type": "noauth" + }, + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "url": { + "raw": "https://{{api-endpoint}}/alert/rule/:id", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "alert", + "rule", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "Alert rule ID (also known as the \"policyScanConfigId\")" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/update-alert-rule/](https://pan.dev/prisma-cloud/api/cspm/update-alert-rule/)" + }, + "response": [] + }, + { + "name": "Update Alert Rule Copy", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "" + ], + "type": "text/javascript", + "packages": {} + } + }, + { + "listen": "prerequest", + "script": { + "exec": [ + "" + ], + "type": "text/javascript", + "packages": {} + } + } + ], + "request": { + "auth": { + "type": "noauth" + }, + "method": "DELETE", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "url": { + "raw": "https://{{api-endpoint}}/alert/rule/:id", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "alert", + "rule", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "Alert rule ID (also known as the \"policyScanConfigId\")" + } + ] + }, + "description": "Returns an object whose keys are the available policy filters. The corresponding values are default or recently set filter options" + }, + "response": [] + } + ], + "description": "Alert rules define what policy violations trigger alerts for cloud accounts within the selected account group and where to send the alert notifications. Alert rules give you a lot of flexibility in how you manage alerts and ensure that you can adhere to the administrative boundaries you have defined. You can create a single alert rule that alerts on all policy rules, or you can define granular alert rules that send very specific sets of alerts for specific cloud accounts, regions, and even resources to specific destinations." + }, + { + "name": "Alerts", + "item": [ + { + "name": "List Alert Filters", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "noauth" + }, + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "url": { + "raw": "https://{{api-endpoint}}/filter/alert/suggest", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "filter", + "alert", + "suggest" + ] + }, + "description": "Returns an object whose keys are the available policy filters. The corresponding values are default or recently set filter options" + }, + "response": [] + }, + { + "name": "List Alert Filter Autocomplete Suggestions", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "" + ], + "type": "text/javascript", + "packages": {} + } + }, + { + "listen": "prerequest", + "script": { + "exec": [], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "noauth" + }, + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"filterName\": \"string\",\n \"query\": \"string\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/filter/alert/suggest", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "filter", + "alert", + "suggest" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-alert-filter-options/](https://pan.dev/prisma-cloud/api/cspm/get-alert-filter-options/)" + }, + "response": [] + }, + { + "name": "List Alerts", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "" + ], + "type": "text/javascript", + "packages": {} + } + }, + { + "listen": "prerequest", + "script": { + "exec": [], + "type": "text/javascript" + } + } + ], + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "auth": { + "type": "noauth" + }, + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": { + "raw": "https://{{api-endpoint}}/v2/alert?timeType=relative&timeAmount=7&timeUnit=hour&detailed=false&fields=string&sortBy&limit&pageToken&alert.id&alert.status&cloud.account&cloud.accountId&account.group&cloud.type&cloud.region&cloud.service&policy.id&policy.name&policy.severity&policy.label&policy.type&policy.complianceStandard&policy.complianceRequirement&policy.complianceSection&policy.remediable&alertRule.name&resource.id&resource.name&resource.type", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "v2", + "alert" + ], + "query": [ + { + "key": "timeType", + "value": "relative" + }, + { + "key": "timeAmount", + "value": "7" + }, + { + "key": "timeUnit", + "value": "hour" + }, + { + "key": "detailed", + "value": "false" + }, + { + "key": "fields", + "value": "string" + }, + { + "key": "sortBy", + "value": null + }, + { + "key": "limit", + "value": null + }, + { + "key": "pageToken", + "value": null + }, + { + "key": "alert.id", + "value": null + }, + { + "key": "alert.status", + "value": null + }, + { + "key": "cloud.account", + "value": null + }, + { + "key": "cloud.accountId", + "value": null + }, + { + "key": "account.group", + "value": null + }, + { + "key": "cloud.type", + "value": null + }, + { + "key": "cloud.region", + "value": null + }, + { + "key": "cloud.service", + "value": null + }, + { + "key": "policy.id", + "value": null + }, + { + "key": "policy.name", + "value": null + }, + { + "key": "policy.severity", + "value": null, + "description": "Possible values: [critical, high, medium, low, informational]" + }, + { + "key": "policy.label", + "value": null + }, + { + "key": "policy.type", + "value": null, + "description": "Possible values: [config, network, audit_event]" + }, + { + "key": "policy.complianceStandard", + "value": null + }, + { + "key": "policy.complianceRequirement", + "value": null + }, + { + "key": "policy.complianceSection", + "value": null + }, + { + "key": "policy.remediable", + "value": null + }, + { + "key": "alertRule.name", + "value": null + }, + { + "key": "resource.id", + "value": null + }, + { + "key": "resource.name", + "value": null + }, + { + "key": "resource.type", + "value": null + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-alerts-v-2/](https://pan.dev/prisma-cloud/api/cspm/get-alerts-v-2/)" + }, + "response": [] + }, + { + "name": "List Alerts", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "" + ], + "type": "text/javascript", + "packages": {} + } + }, + { + "listen": "prerequest", + "script": { + "exec": [], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "noauth" + }, + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"detailed\": true,\r\n \"fields\": [\r\n \"string\"\r\n ],\r\n \"filters\": [\r\n {\r\n \"name\": \"string\",\r\n \"operator\": \"=\",\r\n \"value\": \"string\"\r\n }\r\n ],\r\n \"groupBy\": [\r\n \"string\"\r\n ],\r\n \"limit\": 0,\r\n \"offset\": 0,\r\n \"pageToken\": \"string\",\r\n \"sortBy\": [\r\n \"string\"\r\n ],\r\n \"timeRange\": {\r\n \"relativeTimeType\": \"BACKWARD\",\r\n \"type\": \"relative\",\r\n \"value\": {\r\n \"amount\": 0,\r\n \"unit\": \"minute\"\r\n }\r\n }\r\n}" + }, + "url": { + "raw": "https://{{api-endpoint}}/v2/alert", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "v2", + "alert" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/post-alerts-v-2/](https://pan.dev/prisma-cloud/api/cspm/post-alerts-v-2/)" + }, + "response": [] + }, + { + "name": "List Alert Counts by Policy", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "" + ], + "type": "text/javascript", + "packages": {} + } + }, + { + "listen": "prerequest", + "script": { + "exec": [ + "" + ], + "type": "text/javascript", + "packages": {} + } + } + ], + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "auth": { + "type": "noauth" + }, + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": { + "raw": "https://{{api-endpoint}}/alert/policy?timeType=relative&timeAmount=7&timeUnit=hour&detailed=false&fields=string&sortBy&limit&pageToken&alert.id&alert.status&cloud.account&cloud.accountId&account.group&cloud.type&cloud.region&cloud.service&policy.id&policy.name&policy.severity&policy.label&policy.type&policy.complianceStandard&policy.complianceRequirement&policy.complianceSection&policy.remediable&alertRule.name&resource.id&resource.name&resource.type", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "alert", + "policy" + ], + "query": [ + { + "key": "timeType", + "value": "relative" + }, + { + "key": "timeAmount", + "value": "7" + }, + { + "key": "timeUnit", + "value": "hour" + }, + { + "key": "detailed", + "value": "false" + }, + { + "key": "fields", + "value": "string" + }, + { + "key": "sortBy", + "value": null + }, + { + "key": "limit", + "value": null + }, + { + "key": "pageToken", + "value": null + }, + { + "key": "alert.id", + "value": null + }, + { + "key": "alert.status", + "value": null + }, + { + "key": "cloud.account", + "value": null + }, + { + "key": "cloud.accountId", + "value": null + }, + { + "key": "account.group", + "value": null + }, + { + "key": "cloud.type", + "value": null + }, + { + "key": "cloud.region", + "value": null + }, + { + "key": "cloud.service", + "value": null + }, + { + "key": "policy.id", + "value": null + }, + { + "key": "policy.name", + "value": null + }, + { + "key": "policy.severity", + "value": null, + "description": "Possible values: [critical, high, medium, low, informational]" + }, + { + "key": "policy.label", + "value": null + }, + { + "key": "policy.type", + "value": null, + "description": "Possible values: [config, network, audit_event]" + }, + { + "key": "policy.complianceStandard", + "value": null + }, + { + "key": "policy.complianceRequirement", + "value": null + }, + { + "key": "policy.complianceSection", + "value": null + }, + { + "key": "policy.remediable", + "value": null + }, + { + "key": "alertRule.name", + "value": null + }, + { + "key": "resource.id", + "value": null + }, + { + "key": "resource.name", + "value": null + }, + { + "key": "resource.type", + "value": null + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-alerts-grouped/](https://pan.dev/prisma-cloud/api/cspm/get-alerts-grouped/)" + }, + "response": [] + }, + { + "name": "List Alert Counts by Policy", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "" + ], + "type": "text/javascript", + "packages": {} + } + }, + { + "listen": "prerequest", + "script": { + "exec": [ + "" + ], + "type": "text/javascript", + "packages": {} + } + } + ], + "request": { + "auth": { + "type": "noauth" + }, + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"detailed\": true,\r\n \"fields\": [\r\n \"string\"\r\n ],\r\n \"filters\": [\r\n {\r\n \"name\": \"string\",\r\n \"operator\": \"=\",\r\n \"value\": \"string\"\r\n }\r\n ],\r\n \"groupBy\": [\r\n \"string\"\r\n ],\r\n \"limit\": 0,\r\n \"offset\": 0,\r\n \"pageToken\": \"string\",\r\n \"sortBy\": [\r\n \"string\"\r\n ],\r\n \"timeRange\": {\r\n \"relativeTimeType\": \"BACKWARD\",\r\n \"type\": \"relative\",\r\n \"value\": {\r\n \"amount\": 0,\r\n \"unit\": \"minute\"\r\n }\r\n }\r\n}" + }, + "url": { + "raw": "https://{{api-endpoint}}/v2/alert?detailed", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "v2", + "alert" + ], + "query": [ + { + "key": "detailed", + "value": null, + "description": "true = Return detailed alert data. Default is false. Overrides detailed in body param." + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/post-alerts-grouped/](https://pan.dev/prisma-cloud/api/cspm/post-alerts-grouped/)" + }, + "response": [] + }, + { + "name": "Alert Info", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "" + ], + "type": "text/javascript", + "packages": {} + } + }, + { + "listen": "prerequest", + "script": { + "exec": [ + "" + ], + "type": "text/javascript", + "packages": {} + } + } + ], + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "auth": { + "type": "noauth" + }, + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": { + "raw": "https://{{api-endpoint}}/alert/:id?detailed", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "alert", + ":id" + ], + "query": [ + { + "key": "detailed", + "value": null, + "description": "true = Return detailed alert data. Default is false." + } + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "Alert ID" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-alert/](https://pan.dev/prisma-cloud/api/cspm/get-alert/)" + }, + "response": [] + }, + { + "name": "Dismiss Alerts", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "" + ], + "type": "text/javascript", + "packages": {} + } + }, + { + "listen": "prerequest", + "script": { + "exec": [ + "" + ], + "type": "text/javascript", + "packages": {} + } + } + ], + "request": { + "auth": { + "type": "noauth" + }, + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"alerts\": [\r\n \"string\"\r\n ],\r\n \"dismissalNote\": \"string\",\r\n \"dismissalTimeRange\": {\r\n \"relativeTimeType\": \"BACKWARD\",\r\n \"type\": \"relative\",\r\n \"value\": {\r\n \"amount\": 0,\r\n \"unit\": \"minute\"\r\n }\r\n },\r\n \"filter\": {\r\n \"detailed\": true,\r\n \"fields\": [\r\n \"string\"\r\n ],\r\n \"filters\": [\r\n {\r\n \"name\": \"string\",\r\n \"operator\": \"=\",\r\n \"value\": \"string\"\r\n }\r\n ],\r\n \"groupBy\": [\r\n \"string\"\r\n ],\r\n \"limit\": 0,\r\n \"offset\": 0,\r\n \"pageToken\": \"string\",\r\n \"sortBy\": [\r\n \"string\"\r\n ],\r\n \"timeRange\": {\r\n \"relativeTimeType\": \"BACKWARD\",\r\n \"type\": \"relative\",\r\n \"value\": {\r\n \"amount\": 0,\r\n \"unit\": \"minute\"\r\n }\r\n }\r\n },\r\n \"policies\": [\r\n \"string\"\r\n ]\r\n}" + }, + "url": { + "raw": "https://{{api-endpoint}}/alert/dismiss", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "alert", + "dismiss" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/dismiss-alerts/](https://pan.dev/prisma-cloud/api/cspm/dismiss-alerts/)" + }, + "response": [] + }, + { + "name": "Is Dismissal Note Required", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "" + ], + "type": "text/javascript", + "packages": {} + } + }, + { + "listen": "prerequest", + "script": { + "exec": [ + "" + ], + "type": "text/javascript", + "packages": {} + } + } + ], + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "auth": { + "type": "noauth" + }, + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": { + "raw": "https://{{api-endpoint}}/alert/dismiss/require_dismissal_note", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "alert", + "dismiss", + "require_dismissal_note" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/is-dismissal-note-required/](https://pan.dev/prisma-cloud/api/cspm/is-dismissal-note-required/)" + }, + "response": [] + }, + { + "name": "Update Dismissal Note", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "" + ], + "type": "text/javascript", + "packages": {} + } + }, + { + "listen": "prerequest", + "script": { + "exec": [ + "" + ], + "type": "text/javascript", + "packages": {} + } + } + ], + "request": { + "auth": { + "type": "noauth" + }, + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"requireDismissalNote\": true\r\n}" + }, + "url": { + "raw": "https://{{api-endpoint}}/alert/dismiss/require_dismissal_note", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "alert", + "dismiss", + "require_dismissal_note" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/set-dismissal-note-required/](https://pan.dev/prisma-cloud/api/cspm/set-dismissal-note-required/)" + }, + "response": [] + }, + { + "name": "Reopen Alerts", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "" + ], + "type": "text/javascript", + "packages": {} + } + }, + { + "listen": "prerequest", + "script": { + "exec": [ + "" + ], + "type": "text/javascript", + "packages": {} + } + } + ], + "request": { + "auth": { + "type": "noauth" + }, + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"alerts\": [\r\n \"string\"\r\n ],\r\n \"dismissalNote\": \"string\",\r\n \"dismissalTimeRange\": {\r\n \"relativeTimeType\": \"BACKWARD\",\r\n \"type\": \"relative\",\r\n \"value\": {\r\n \"amount\": 0,\r\n \"unit\": \"minute\"\r\n }\r\n },\r\n \"filter\": {\r\n \"detailed\": true,\r\n \"fields\": [\r\n \"string\"\r\n ],\r\n \"filters\": [\r\n {\r\n \"name\": \"string\",\r\n \"operator\": \"=\",\r\n \"value\": \"string\"\r\n }\r\n ],\r\n \"groupBy\": [\r\n \"string\"\r\n ],\r\n \"limit\": 0,\r\n \"offset\": 0,\r\n \"pageToken\": \"string\",\r\n \"sortBy\": [\r\n \"string\"\r\n ],\r\n \"timeRange\": {\r\n \"relativeTimeType\": \"BACKWARD\",\r\n \"type\": \"relative\",\r\n \"value\": {\r\n \"amount\": 0,\r\n \"unit\": \"minute\"\r\n }\r\n }\r\n },\r\n \"policies\": [\r\n \"string\"\r\n ]\r\n}" + }, + "url": { + "raw": "https://{{api-endpoint}}/alert/reopen", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "alert", + "reopen" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/reopen-alerts/](https://pan.dev/prisma-cloud/api/cspm/reopen-alerts/)" + }, + "response": [] + }, + { + "name": "Get Alerts Count By Status", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "" + ], + "type": "text/javascript", + "packages": {} + } + }, + { + "listen": "prerequest", + "script": { + "exec": [ + "" + ], + "type": "text/javascript", + "packages": {} + } + } + ], + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "auth": { + "type": "noauth" + }, + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": { + "raw": "https://{{api-endpoint}}/alert/count/:status", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "alert", + "count", + ":status" + ], + "variable": [ + { + "key": "status", + "value": "", + "description": "Possible values: [open, dismissed, snoozed, resolved, pending_resolution]" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-alert-count/](https://pan.dev/prisma-cloud/api/cspm/get-alert-count/)" + }, + "response": [] + }, + { + "name": "Submit Job to List Alerts", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "" + ], + "type": "text/javascript", + "packages": {} + } + }, + { + "listen": "prerequest", + "script": { + "exec": [ + "" + ], + "type": "text/javascript", + "packages": {} + } + } + ], + "request": { + "auth": { + "type": "noauth" + }, + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"detailed\": true,\r\n \"fields\": [\r\n \"string\"\r\n ],\r\n \"filters\": [\r\n {\r\n \"name\": \"string\",\r\n \"operator\": \"=\",\r\n \"value\": \"string\"\r\n }\r\n ],\r\n \"groupBy\": [\r\n \"string\"\r\n ],\r\n \"limit\": 0,\r\n \"offset\": 0,\r\n \"pageToken\": \"string\",\r\n \"sortBy\": [\r\n \"string\"\r\n ],\r\n \"timeRange\": {\r\n \"relativeTimeType\": \"BACKWARD\",\r\n \"type\": \"relative\",\r\n \"value\": {\r\n \"amount\": 0,\r\n \"unit\": \"minute\"\r\n }\r\n }\r\n}" + }, + "url": { + "raw": "https://{{api-endpoint}}/alert/jobs", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "alert", + "jobs" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/submit-job-for-listing-alerts/](https://pan.dev/prisma-cloud/api/cspm/submit-job-for-listing-alerts/)" + }, + "response": [] + }, + { + "name": "Get Alerts List Job Status", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "" + ], + "type": "text/javascript", + "packages": {} + } + }, + { + "listen": "prerequest", + "script": { + "exec": [ + "" + ], + "type": "text/javascript", + "packages": {} + } + } + ], + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "auth": { + "type": "noauth" + }, + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": { + "raw": "https://{{api-endpoint}}/alert/jobs/:id/status", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "alert", + "jobs", + ":id", + "status" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "Job ID" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-alerts-job-status/](https://pan.dev/prisma-cloud/api/cspm/get-alerts-job-status/)" + }, + "response": [] + }, + { + "name": "Download Alerts List JSON", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "" + ], + "type": "text/javascript", + "packages": {} + } + }, + { + "listen": "prerequest", + "script": { + "exec": [ + "" + ], + "type": "text/javascript", + "packages": {} + } + } + ], + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "auth": { + "type": "noauth" + }, + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": { + "raw": "https://{{api-endpoint}}/alert/jobs/:id/download", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "alert", + "jobs", + ":id", + "download" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "Job ID" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/download-alerts-list-json/](https://pan.dev/prisma-cloud/api/cspm/download-alerts-list-json/)" + }, + "response": [] + }, + { + "name": "Submit Alert CSV Generation Job", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "" + ], + "type": "text/javascript", + "packages": {} + } + }, + { + "listen": "prerequest", + "script": { + "exec": [ + "" + ], + "type": "text/javascript", + "packages": {} + } + } + ], + "request": { + "auth": { + "type": "noauth" + }, + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"detailed\": true,\r\n \"fields\": [\r\n \"string\"\r\n ],\r\n \"filters\": [\r\n {\r\n \"name\": \"string\",\r\n \"operator\": \"=\",\r\n \"value\": \"string\"\r\n }\r\n ],\r\n \"groupBy\": [\r\n \"string\"\r\n ],\r\n \"limit\": 0,\r\n \"offset\": 0,\r\n \"pageToken\": \"string\",\r\n \"sortBy\": [\r\n \"string\"\r\n ],\r\n \"timeRange\": {\r\n \"relativeTimeType\": \"BACKWARD\",\r\n \"type\": \"relative\",\r\n \"value\": {\r\n \"amount\": 0,\r\n \"unit\": \"minute\"\r\n }\r\n }\r\n}" + }, + "url": { + "raw": "https://{{api-endpoint}}/alert/csv?detailed", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "alert", + "csv" + ], + "query": [ + { + "key": "detailed", + "value": null, + "description": "true = Return detailed alert data. Default is false. Overrides detailed in body param." + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/submit-an-alert-csv-download-job/](https://pan.dev/prisma-cloud/api/cspm/submit-an-alert-csv-download-job/)" + }, + "response": [] + }, + { + "name": "Get Alert CSV Job Status", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "" + ], + "type": "text/javascript", + "packages": {} + } + }, + { + "listen": "prerequest", + "script": { + "exec": [ + "" + ], + "type": "text/javascript", + "packages": {} + } + } + ], + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "auth": { + "type": "noauth" + }, + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": { + "raw": "https://{{api-endpoint}}/alert/csv/:id/status", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "alert", + "csv", + ":id", + "status" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "Job ID" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-alert-csv-job-status/](https://pan.dev/prisma-cloud/api/cspm/get-alert-csv-job-status/)" + }, + "response": [] + }, + { + "name": "Download Alert CSV", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "" + ], + "type": "text/javascript", + "packages": {} + } + }, + { + "listen": "prerequest", + "script": { + "exec": [ + "" + ], + "type": "text/javascript", + "packages": {} + } + } + ], + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "auth": { + "type": "noauth" + }, + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": { + "raw": "https://{{api-endpoint}}/alert/csv/:id/download", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "alert", + "csv", + ":id", + "download" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "Job ID" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/download-alert-csv/](https://pan.dev/prisma-cloud/api/cspm/download-alert-csv/)" + }, + "response": [] + }, + { + "name": "Submit Job to List Alerts By Policy", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "" + ], + "type": "text/javascript", + "packages": {} + } + }, + { + "listen": "prerequest", + "script": { + "exec": [ + "" + ], + "type": "text/javascript", + "packages": {} + } + } + ], + "request": { + "auth": { + "type": "noauth" + }, + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"detailed\": true,\r\n \"fields\": [\r\n \"string\"\r\n ],\r\n \"filters\": [\r\n {\r\n \"name\": \"string\",\r\n \"operator\": \"=\",\r\n \"value\": \"string\"\r\n }\r\n ],\r\n \"groupBy\": [\r\n \"string\"\r\n ],\r\n \"limit\": 0,\r\n \"offset\": 0,\r\n \"pageToken\": \"string\",\r\n \"sortBy\": [\r\n \"string\"\r\n ],\r\n \"timeRange\": {\r\n \"relativeTimeType\": \"BACKWARD\",\r\n \"type\": \"relative\",\r\n \"value\": {\r\n \"amount\": 0,\r\n \"unit\": \"minute\"\r\n }\r\n }\r\n}" + }, + "url": { + "raw": "https://{{api-endpoint}}/alert/policy/jobs", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "alert", + "policy", + "jobs" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/submit-a-job-for-listing-alerts-grouped-by-policy/](https://pan.dev/prisma-cloud/api/cspm/submit-a-job-for-listing-alerts-grouped-by-policy/)" + }, + "response": [] + }, + { + "name": "Get Policy Alert Job Status", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "" + ], + "type": "text/javascript", + "packages": {} + } + }, + { + "listen": "prerequest", + "script": { + "exec": [ + "" + ], + "type": "text/javascript", + "packages": {} + } + } + ], + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "auth": { + "type": "noauth" + }, + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": { + "raw": "https://{{api-endpoint}}/alert/policy/jobs/:id/status", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "alert", + "policy", + "jobs", + ":id", + "status" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "Job ID" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-async-policy-alert-job-status/](https://pan.dev/prisma-cloud/api/cspm/get-async-policy-alert-job-status/)" + }, + "response": [] + }, + { + "name": "Download Policy Alerts JSON", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "" + ], + "type": "text/javascript", + "packages": {} + } + }, + { + "listen": "prerequest", + "script": { + "exec": [ + "" + ], + "type": "text/javascript", + "packages": {} + } + } + ], + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "auth": { + "type": "noauth" + }, + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": { + "raw": "https://{{api-endpoint}}/alert/policy/jobs/:id/download", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "alert", + "policy", + "jobs", + ":id", + "download" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "Job ID" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/download-policy-alerts-json/](https://pan.dev/prisma-cloud/api/cspm/download-policy-alerts-json/)" + }, + "response": [] + }, + { + "name": "List Alert Remediation Commands", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "" + ], + "type": "text/javascript", + "packages": {} + } + }, + { + "listen": "prerequest", + "script": { + "exec": [ + "" + ], + "type": "text/javascript", + "packages": {} + } + } + ], + "request": { + "auth": { + "type": "noauth" + }, + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"alerts\": [\n \"string\"\n ],\n \"filter\": {\n \"detailed\": true,\n \"fields\": [\n \"string\"\n ],\n \"filters\": [\n {\n \"name\": \"string\",\n \"operator\": \"=\",\n \"value\": \"string\"\n }\n ],\n \"groupBy\": [\n \"string\"\n ],\n \"limit\": 0,\n \"offset\": 0,\n \"pageToken\": \"string\",\n \"sortBy\": [\n \"string\"\n ],\n \"timeRange\": {\n \"relativeTimeType\": \"BACKWARD\",\n \"type\": \"relative\",\n \"value\": {\n \"amount\": 0,\n \"unit\": \"minute\"\n }\n }\n },\n \"policies\": [\n \"string\"\n ]\n}" + }, + "url": { + "raw": "https://{{api-endpoint}}/alert/remediation", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "alert", + "remediation" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-alerts-remediation/](https://pan.dev/prisma-cloud/api/cspm/get-alerts-remediation/)" + }, + "response": [] + }, + { + "name": "Remediate Alert", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "" + ], + "type": "text/javascript", + "packages": {} + } + }, + { + "listen": "prerequest", + "script": { + "exec": [ + "" + ], + "type": "text/javascript", + "packages": {} + } + } + ], + "request": { + "auth": { + "type": "noauth" + }, + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"alerts\": [\n \"string\"\n ],\n \"filter\": {\n \"detailed\": true,\n \"fields\": [\n \"string\"\n ],\n \"filters\": [\n {\n \"name\": \"string\",\n \"operator\": \"=\",\n \"value\": \"string\"\n }\n ],\n \"groupBy\": [\n \"string\"\n ],\n \"limit\": 0,\n \"offset\": 0,\n \"pageToken\": \"string\",\n \"sortBy\": [\n \"string\"\n ],\n \"timeRange\": {\n \"relativeTimeType\": \"BACKWARD\",\n \"type\": \"relative\",\n \"value\": {\n \"amount\": 0,\n \"unit\": \"minute\"\n }\n }\n },\n \"policies\": [\n \"string\"\n ]\n}" + }, + "url": { + "raw": "https://{{api-endpoint}}/alert/remediation/:id?findingId", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "alert", + "remediation", + ":id" + ], + "query": [ + { + "key": "findingId", + "value": null + } + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "Alert ID" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/perform-remediation-for-alert/](https://pan.dev/prisma-cloud/api/cspm/perform-remediation-for-alert/)" + }, + "response": [] + }, + { + "name": "Get Alert Count of Policies", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "" + ], + "type": "text/javascript", + "packages": {} + } + }, + { + "listen": "prerequest", + "script": { + "exec": [ + "" + ], + "type": "text/javascript", + "packages": {} + } + } + ], + "request": { + "auth": { + "type": "noauth" + }, + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"filters\": [\n {\n \"name\": \"string\",\n \"value\": \"string\",\n \"operator\": \"string\"\n }\n ],\n \"sortBy\": [\n \"string\"\n ],\n \"groupBy\": \"policy.type\",\n \"size\": 0,\n \"nextPageToken\": \"string\",\n \"timeRange\": {\n \"Time type\": \"to_now,absolute,relative,from_now\",\n \"Time value\": {},\n \"Field for range\": \"lastStatusChangeTs\",\n \"type\": \"string\",\n \"value\": {\n \"startTime\": 0,\n \"endTime\": 0\n }\n }\n}" + }, + "url": { + "raw": "https://{{api-endpoint}}/alert/v1/policy", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "alert", + "v1", + "policy" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/alert-policy-list/](https://pan.dev/prisma-cloud/api/cspm/alert-policy-list/)" + }, + "response": [] + }, + { + "name": "Get Alert Count by Policy Groups", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "" + ], + "type": "text/javascript", + "packages": {} + } + }, + { + "listen": "prerequest", + "script": { + "exec": [ + "" + ], + "type": "text/javascript", + "packages": {} + } + } + ], + "request": { + "auth": { + "type": "noauth" + }, + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"filters\": [\n {\n \"name\": \"string\",\n \"value\": \"string\",\n \"operator\": \"string\"\n }\n ],\n \"sortBy\": [\n \"string\"\n ],\n \"groupBy\": \"policy.type\",\n \"size\": 0,\n \"nextPageToken\": \"string\",\n \"timeRange\": {\n \"Time type\": \"to_now,absolute,relative,from_now\",\n \"Time value\": {},\n \"Field for range\": \"lastStatusChangeTs\",\n \"type\": \"string\",\n \"value\": {\n \"startTime\": 0,\n \"endTime\": 0\n }\n }\n}" + }, + "url": { + "raw": "https://{{api-endpoint}}/alert/v1/aggregate", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "alert", + "v1", + "aggregate" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/alert-aggregation/](https://pan.dev/prisma-cloud/api/cspm/alert-aggregation/)" + }, + "response": [] + }, + { + "name": "Get Alert Evidence Graph", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "" + ], + "type": "text/javascript", + "packages": {} + } + }, + { + "listen": "prerequest", + "script": { + "exec": [ + "" + ], + "type": "text/javascript", + "packages": {} + } + } + ], + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "auth": { + "type": "noauth" + }, + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": { + "raw": "https://{{api-endpoint}}/alert/v1/:id/graph", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "alert", + "v1", + ":id", + "graph" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The alert id of the evidence graph." + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-alert-evidence-graph/](https://pan.dev/prisma-cloud/api/cspm/get-alert-evidence-graph/)" + }, + "response": [] + }, + { + "name": "Create On Demand Notification", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "" + ], + "type": "text/javascript", + "packages": {} + } + }, + { + "listen": "prerequest", + "script": { + "exec": [ + "" + ], + "type": "text/javascript", + "packages": {} + } + } + ], + "request": { + "auth": { + "type": "noauth" + }, + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"alertId\": \"string\",\n \"onDemandNotificationConfig\": {\n \"id\": \"string\",\n \"clientId\": \"string\",\n \"generatorType\": \"string\",\n \"integrationType\": \"string\",\n \"templateId\": \"string\",\n \"recipients\": [\n [\n \"email1\",\n \"email2\",\n \"email3\"\n ]\n ]\n },\n \"translation\": {\n \"body\": \"string\",\n \"details\": {},\n \"attachments\": [\n [\n \"attachmentUrl1\",\n \"attachmentUrl2\"\n ]\n ]\n }\n}" + }, + "url": { + "raw": "https://{{api-endpoint}}/alerts/api/v1/notification/ondemand", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "alerts", + "api", + "v1", + "notification", + "ondemand" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/create-ondemand-notification/](https://pan.dev/prisma-cloud/api/cspm/create-ondemand-notification/)" + }, + "response": [] + } + ], + "description": "Prisma Cloud generates an alert when it detects a violation in a policy that is included in an active alert rule. You can use the API requests to manage alerts, including listing or viewing, snoozing or dismissing, reopening, or remediating alerts.\n\nWhen retrieving a list of alerts through an API request, you can set filters, time range parameters, or pagination parameters.\n\n### Pagination[​](https://pan.dev/prisma-cloud/api/cspm/alerts/#pagination)\n\nYou can limit the number of items in a response list from API resources that support pagination. Version 2 (V2) of the API requests to list alerts supports pagination and will accept the following request parameters.\n\n| Request Parameter | Description |\n| --- | --- |\n| **limit** | Maximum number of items to return per page. Without pagination, maximum number of items to return in a response. |\n| **offset** | Number of items to skip before selecting items to return. Default is zero. |\n| **pageToken** | Set to the **nextPageToken** value from the previous response object to return the next page of data. |\n\n### Filters[​](https://pan.dev/prisma-cloud/api/cspm/alerts/#filters)\n\nAPI requests that use POST methods to request a list of alerts have filter parameters that enable you to narrow your request to alerts that meet a certain criteria.The [List Alert Filters](https://pan.dev/prisma-cloud/api/cspm/get-alert-filter-options/) requests return the available filters.\n\n[
](https://pan.dev/prisma-cloud/api/cspm/get-alert-filter-and-options/)" + }, + { + "name": "Anomalies", + "item": [ + { + "name": "Get Anomaly Trusted List", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "" + ], + "type": "text/javascript", + "packages": {} + } + }, + { + "listen": "prerequest", + "script": { + "exec": [ + "" + ], + "type": "text/javascript", + "packages": {} + } + } + ], + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "auth": { + "type": "noauth" + }, + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": { + "raw": "https://{{api-endpoint}}/anomalies/trusted_list", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "anomalies", + "trusted_list" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-all-whitelist-entries/](https://pan.dev/prisma-cloud/api/cspm/get-all-whitelist-entries/)" + }, + "response": [] + }, + { + "name": "Add Entries to Anomaly Trusted List", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "" + ], + "type": "text/javascript", + "packages": {} + } + }, + { + "listen": "prerequest", + "script": { + "exec": [ + "" + ], + "type": "text/javascript", + "packages": {} + } + } + ], + "request": { + "auth": { + "type": "noauth" + }, + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"string\",\n \"description\": \"string\",\n \"applicablePolicies\": [\n \"string\"\n ],\n \"trustedListType\": \"ip, resource, image, tag, service, port, subject, domain, protocol\",\n \"accountID\": \"any\",\n \"vpc\": \"any\",\n \"trustedListEntries\": [\n {\n \"ipCIDR\": \"string\",\n \"resourceID\": \"string\",\n \"imageID\": \"string\",\n \"tagKey\": \"string\",\n \"tagValue\": \"string\",\n \"service\": \"string\",\n \"port\": \"string\",\n \"subject\": \"string\",\n \"domain\": \"string\",\n \"protocol\": \"string\"\n }\n ]\n}" + }, + "url": { + "raw": "https://{{api-endpoint}}/anomalies/trusted_list", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "anomalies", + "trusted_list" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/add-to-trusted-list/](https://pan.dev/prisma-cloud/api/cspm/add-to-trusted-list/)" + }, + "response": [] + }, + { + "name": "Get Anomaly Trusted List Entry", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "" + ], + "type": "text/javascript", + "packages": {} + } + }, + { + "listen": "prerequest", + "script": { + "exec": [ + "" + ], + "type": "text/javascript", + "packages": {} + } + } + ], + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "auth": { + "type": "noauth" + }, + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": { + "raw": "https://{{api-endpoint}}/anomalies/trusted_list/:id", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "anomalies", + "trusted_list", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "Anomaly Trusted List identifier" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-whitelist-entry-by-id/](https://pan.dev/prisma-cloud/api/cspm/get-whitelist-entry-by-id/)" + }, + "response": [] + }, + { + "name": "Update Anomaly Trusted List Entry", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "" + ], + "type": "text/javascript", + "packages": {} + } + }, + { + "listen": "prerequest", + "script": { + "exec": [ + "" + ], + "type": "text/javascript", + "packages": {} + } + } + ], + "request": { + "auth": { + "type": "noauth" + }, + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"string\",\n \"description\": \"string\",\n \"applicablePolicies\": [\n \"string\"\n ],\n \"trustedListType\": \"ip, resource, image, tag, service, port, subject, domain, protocol\",\n \"accountID\": \"any\",\n \"vpc\": \"any\",\n \"trustedListEntries\": [\n {\n \"ipCIDR\": \"string\",\n \"resourceID\": \"string\",\n \"imageID\": \"string\",\n \"tagKey\": \"string\",\n \"tagValue\": \"string\",\n \"service\": \"string\",\n \"port\": \"string\",\n \"subject\": \"string\",\n \"domain\": \"string\",\n \"protocol\": \"string\"\n }\n ]\n}" + }, + "url": { + "raw": "https://{{api-endpoint}}/anomalies/trusted_list/:id", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "anomalies", + "trusted_list", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "Anomaly Trusted List identifier" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/update-whitelist/](https://pan.dev/prisma-cloud/api/cspm/update-whitelist/)" + }, + "response": [] + }, + { + "name": "Delete Anomaly Trusted List Entry", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "" + ], + "type": "text/javascript", + "packages": {} + } + }, + { + "listen": "prerequest", + "script": { + "exec": [ + "" + ], + "type": "text/javascript", + "packages": {} + } + } + ], + "request": { + "auth": { + "type": "noauth" + }, + "method": "DELETE", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": { + "raw": "https://{{api-endpoint}}/anomalies/trusted_list/:id", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "anomalies", + "trusted_list", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "Anomaly Trusted List identifier" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/delete-from-trusted-list/](https://pan.dev/prisma-cloud/api/cspm/delete-from-trusted-list/)" + }, + "response": [] + }, + { + "name": "Get Anomaly Settings", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "" + ], + "type": "text/javascript", + "packages": {} + } + }, + { + "listen": "prerequest", + "script": { + "exec": [ + "" + ], + "type": "text/javascript", + "packages": {} + } + } + ], + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "auth": { + "type": "noauth" + }, + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": { + "raw": "https://{{api-endpoint}}/anomalies/settings/:policyid", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "anomalies", + "settings", + ":policyid" + ], + "variable": [ + { + "key": "policyid", + "value": "", + "description": "Policy ID" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-anomalies-settings/](https://pan.dev/prisma-cloud/api/cspm/get-anomalies-settings/)" + }, + "response": [] + }, + { + "name": "Update Anomaly Settings", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "" + ], + "type": "text/javascript", + "packages": {} + } + }, + { + "listen": "prerequest", + "script": { + "exec": [ + "" + ], + "type": "text/javascript", + "packages": {} + } + } + ], + "request": { + "auth": { + "type": "noauth" + }, + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"alertDisposition\": \"Aggressive, Moderate, Conservative\",\n \"trainingModelThreshold\": \"Low, Medium, High\",\n \"policyName\": \"string\",\n \"policyDescription\": \"string\",\n \"alertDispositionDescription\": {},\n \"trainingModelDescription\": {}\n}" + }, + "url": { + "raw": "https://{{api-endpoint}}/anomalies/settings/:policyid", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "anomalies", + "settings", + ":policyid" + ], + "variable": [ + { + "key": "policyid", + "value": "", + "description": "Policy ID" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/update-settings/](https://pan.dev/prisma-cloud/api/cspm/update-settings/)" + }, + "response": [] + }, + { + "name": "List Allowed Trusted List Types", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "" + ], + "type": "text/javascript", + "packages": {} + } + }, + { + "listen": "prerequest", + "script": { + "exec": [ + "" + ], + "type": "text/javascript", + "packages": {} + } + } + ], + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "auth": { + "type": "noauth" + }, + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": { + "raw": "https://{{api-endpoint}}/anomalies/trusted_list/types", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "anomalies", + "trusted_list", + "types" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-allowed-trusted-list-types/](https://pan.dev/prisma-cloud/api/cspm/get-allowed-trusted-list-types/)" + }, + "response": [] + }, + { + "name": "Get All Anomaly Settings", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "" + ], + "type": "text/javascript", + "packages": {} + } + }, + { + "listen": "prerequest", + "script": { + "exec": [ + "" + ], + "type": "text/javascript", + "packages": {} + } + } + ], + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "auth": { + "type": "noauth" + }, + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": { + "raw": "https://{{api-endpoint}}/anomalies/settings?type", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "anomalies", + "settings" + ], + "query": [ + { + "key": "type", + "value": null, + "description": "Specify type of Anomaly whose settings are needed\nExample: Network, UEBA, DNS" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-all-anomalies-settings/](https://pan.dev/prisma-cloud/api/cspm/get-all-anomalies-settings/)" + }, + "response": [] + }, + { + "name": "List Policies for Trusted List Type", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "" + ], + "type": "text/javascript", + "packages": {} + } + }, + { + "listen": "prerequest", + "script": { + "exec": [ + "" + ], + "type": "text/javascript", + "packages": {} + } + } + ], + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "auth": { + "type": "noauth" + }, + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": { + "raw": "https://{{api-endpoint}}/anomalies/policies?trustedListType", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "anomalies", + "policies" + ], + "query": [ + { + "key": "trustedListType", + "value": null, + "description": "Trusted list type\nExample: ip, resource, image, tag, service, port, subject, domain, protocol" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-policies-anomalies/](https://pan.dev/prisma-cloud/api/cspm/get-policies-anomalies/)" + }, + "response": [] + } + ], + "description": "Set the enterprise level settings to build standard training models for anomaly detection, alert disposition, and some other global settings such as the timeout before the user is locked out for inactivity and user attribution for alerts. Also, exclude trusted IP addresses when conducting tests for PCI compliance or penetration testing on your network. Any addresses included in this list do not generate alerts against the Prisma Cloud Anomaly Policies that detect unusual network activity such as the policies that detect internal port scan and port sweep activity, which are enabled by default." + }, + { + "name": "Archived Assets", + "item": [ + { + "name": "Bulk Export Resource Archives", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "" + ], + "type": "text/javascript", + "packages": {} + } + }, + { + "listen": "prerequest", + "script": { + "exec": [ + "" + ], + "type": "text/javascript", + "packages": {} + } + } + ], + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "auth": { + "type": "noauth" + }, + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": { + "raw": "https://{{api-endpoint}}/config/api/v1/tenant/:prisma_id/archiveList", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "config", + "api", + "v1", + "tenant", + ":prisma_id", + "archiveList" + ], + "variable": [ + { + "key": "prisma_id", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/bulk-export-resource-archives/](https://pan.dev/prisma-cloud/api/cspm/bulk-export-resource-archives/)" + }, + "response": [] + } + ], + "description": "When you delete an asset in a cloud account that is onboarded on Prisma Cloud, the asset is marked as deleted. After 90 days, the configuration details of the deleted assets are archived. You can use the archiveList endpoint of this API to retrieve the configuration details of such assets as a compressed archive (.zip) file.\n\nThe compressed archive (.zip) files are available for 9 months, after which they are deleted." + }, + { + "name": "Asset Explorer", + "item": [ + { + "name": "List Resource Info Filters", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "" + ], + "type": "text/javascript", + "packages": {} + } + }, + { + "listen": "prerequest", + "script": { + "exec": [ + "" + ], + "type": "text/javascript", + "packages": {} + } + } + ], + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "auth": { + "type": "noauth" + }, + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": { + "raw": "https://{{api-endpoint}}/filter/resource/scan_info/suggest", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "filter", + "resource", + "scan_info", + "suggest" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-resource-info-filters-and-options/](https://pan.dev/prisma-cloud/api/cspm/get-resource-info-filters-and-options/)" + }, + "response": [] + }, + { + "name": "List Resource Info Filter Autocomplete Suggestions", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "" + ], + "type": "text/javascript", + "packages": {} + } + }, + { + "listen": "prerequest", + "script": { + "exec": [ + "" + ], + "type": "text/javascript", + "packages": {} + } + } + ], + "request": { + "auth": { + "type": "noauth" + }, + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"filterName\": \"string\",\n \"query\": \"string\"\n}" + }, + "url": { + "raw": "https://{{api-endpoint}}/filter/resource/scan_info/suggest", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "filter", + "resource", + "scan_info", + "suggest" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-resource-info-filter-options/](https://pan.dev/prisma-cloud/api/cspm/get-resource-info-filter-options/)" + }, + "response": [] + }, + { + "name": "Resource Scan Info", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "" + ], + "type": "text/javascript", + "packages": {} + } + }, + { + "listen": "prerequest", + "script": { + "exec": [ + "" + ], + "type": "text/javascript", + "packages": {} + } + } + ], + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "auth": { + "type": "noauth" + }, + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": { + "raw": "https://{{api-endpoint}}/v2/resource/scan_info", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "v2", + "resource", + "scan_info" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-resource-scan-info-v-2/](https://pan.dev/prisma-cloud/api/cspm/get-resource-scan-info-v-2/)" + }, + "response": [] + }, + { + "name": "Resource Scan Info", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "" + ], + "type": "text/javascript", + "packages": {} + } + }, + { + "listen": "prerequest", + "script": { + "exec": [ + "" + ], + "type": "text/javascript", + "packages": {} + } + } + ], + "request": { + "auth": { + "type": "noauth" + }, + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"detailed\": true,\n \"fields\": [\n \"string\"\n ],\n \"filters\": [\n {\n \"name\": \"string\",\n \"operator\": \"tag:yaml.org,2002:value =\",\n \"value\": \"string\"\n }\n ],\n \"groupBy\": [\n \"string\"\n ],\n \"limit\": 0,\n \"offset\": 0,\n \"pageToken\": \"string\",\n \"sortBy\": [\n \"string\"\n ]\n}" + }, + "url": { + "raw": "https://{{api-endpoint}}/v2/resource/scan_info", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "v2", + "resource", + "scan_info" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/post-resource-scan-info-v-2/](https://pan.dev/prisma-cloud/api/cspm/post-resource-scan-info-v-2/)" + }, + "response": [] + }, + { + "name": "Get Asset", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "" + ], + "type": "text/javascript", + "packages": {} + } + }, + { + "listen": "prerequest", + "script": { + "exec": [ + "" + ], + "type": "text/javascript", + "packages": {} + } + } + ], + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "auth": { + "type": "noauth" + }, + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": { + "raw": "https://{{api-endpoint}}/uai/v1/asset", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "uai", + "v1", + "asset" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-asset-details-by-id/](https://pan.dev/prisma-cloud/api/cspm/get-asset-details-by-id/)" + }, + "response": [] + } + ], + "description": "The Asset Explorer APIs enable you to list resource information filters, autocomplete suggestions for resource information filter, and list resource scan information." + }, + { + "name": "Asset Inventory", + "item": [ + { + "name": "List Inventory Filters", + "request": { + "method": "GET", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "url": { + "raw": "https://{{api-endpoint}}/filter/v2/inventory/suggest", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "filter", + "v2", + "inventory", + "suggest" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-asset-inventory-v-2-filters-and-options/](https://pan.dev/prisma-cloud/api/cspm/get-asset-inventory-v-2-filters-and-options/)" + }, + "response": [] + }, + { + "name": "List Inventory Dashboard Filter Autocomplete Suggestions V2", + "request": { + "method": "POST", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n\t\"query\":\"QUERY\",\n\t\"filterName\":\"FILTER\"\n}" + }, + "url": { + "raw": "https://{{api-endpoint}}/filter/v2/inventory/suggest", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "filter", + "v2", + "inventory", + "suggest" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-asset-inventory-v-2-dashboard-filter-options/](https://pan.dev/prisma-cloud/api/cspm/get-asset-inventory-v-2-dashboard-filter-options/)" + }, + "response": [] + }, + { + "name": "List Saved Asset Inventory Filters", + "request": { + "method": "GET", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "url": { + "raw": "https://{{api-endpoint}}/filter/inventory", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "filter", + "inventory" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-all-saved-asset-inventory-filters/](https://pan.dev/prisma-cloud/api/cspm/get-all-saved-asset-inventory-filters/)" + }, + "response": [] + }, + { + "name": "Save Asset Inventory Filter", + "request": { + "method": "POST", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"detailed\": true,\n \"fields\": [\n \"string\"\n ],\n \"filters\": [\n {\n \"name\": \"string\",\n \"operator\": \"tag:yaml.org,2002:value =\",\n \"value\": \"string\"\n }\n ],\n \"groupBy\": [\n \"string\"\n ],\n \"limit\": 0,\n \"offset\": 0,\n \"pageToken\": \"string\",\n \"sortBy\": [\n \"string\"\n ],\n \"timeRange\": {\n \"relativeTimeType\": \"BACKWARD\",\n \"type\": \"relative\",\n \"value\": {\n \"amount\": 0,\n \"unit\": \"minute\"\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/filter/inventory", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "filter", + "inventory" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/save-asset-inventory-filter/](https://pan.dev/prisma-cloud/api/cspm/save-asset-inventory-filter/)" + }, + "response": [] + }, + { + "name": "Get Saved Asset Inventory Filter", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/filter/inventory/:id", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "filter", + "inventory", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "Asset Inventory ID" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-saved-asset-inventory-filter/](https://pan.dev/prisma-cloud/api/cspm/get-saved-asset-inventory-filter/)" + }, + "response": [] + }, + { + "name": "Update Saved Asset Inventory Filter", + "request": { + "method": "PUT", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"detailed\": true,\n \"fields\": [\n \"string\"\n ],\n \"filters\": [\n {\n \"name\": \"string\",\n \"operator\": \"tag:yaml.org,2002:value =\",\n \"value\": \"string\"\n }\n ],\n \"groupBy\": [\n \"string\"\n ],\n \"limit\": 0,\n \"offset\": 0,\n \"pageToken\": \"string\",\n \"sortBy\": [\n \"string\"\n ],\n \"timeRange\": {\n \"relativeTimeType\": \"BACKWARD\",\n \"type\": \"relative\",\n \"value\": {\n \"amount\": 0,\n \"unit\": \"minute\"\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/filter/inventory/:id", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "filter", + "inventory", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "Asset Inventory ID" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/update-saved-asset-inventory-filter/](https://pan.dev/prisma-cloud/api/cspm/update-saved-asset-inventory-filter/)" + }, + "response": [] + }, + { + "name": "Delete Saved Asset Inventory Filter", + "request": { + "method": "DELETE", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/filter/inventory/:id", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "filter", + "inventory", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "Asset Inventory ID" + } + ] + }, + "description": "Returns a list of all the saved asset inventory filters." + }, + "response": [] + }, + { + "name": "Asset Inventory View", + "request": { + "method": "GET", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "url": { + "raw": "https://{{api-endpoint}}/v3/inventory", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "v3", + "inventory" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/asset-inventory-v-3/](https://pan.dev/prisma-cloud/api/cspm/asset-inventory-v-3/)" + }, + "response": [] + }, + { + "name": "Asset Inventory View", + "request": { + "method": "POST", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"detailed\": true,\n \"fields\": [\n \"string\"\n ],\n \"filters\": [\n {\n \"name\": \"string\",\n \"operator\": \"tag:yaml.org,2002:value =\",\n \"value\": \"string\"\n }\n ],\n \"groupBy\": [\n \"string\"\n ],\n \"limit\": 0,\n \"offset\": 0,\n \"pageToken\": \"string\",\n \"sortBy\": [\n \"string\"\n ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/v3/inventory", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "v3", + "inventory" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/post-method-for-asset-inventory-v-3/](https://pan.dev/prisma-cloud/api/cspm/post-method-for-asset-inventory-v-3/)" + }, + "response": [] + }, + { + "name": "Asset Inventory Trend View V2", + "request": { + "method": "GET", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "url": { + "raw": "https://{{api-endpoint}}/v3/inventory/trend?cloud.account&account.group&cloud.type&cloud.region&cloud.service&resource.type&scan.status&policy.complianceStandard&policy.complianceRequirement&policy.complianceSection&asset.severity&vulnerability.severity", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "v3", + "inventory", + "trend" + ], + "query": [ + { + "key": "cloud.account", + "value": null + }, + { + "key": "account.group", + "value": null + }, + { + "key": "cloud.type", + "value": null + }, + { + "key": "cloud.region", + "value": null + }, + { + "key": "cloud.service", + "value": null + }, + { + "key": "resource.type", + "value": null + }, + { + "key": "scan.status", + "value": null + }, + { + "key": "policy.complianceStandard", + "value": null + }, + { + "key": "policy.complianceRequirement", + "value": null + }, + { + "key": "policy.complianceSection", + "value": null + }, + { + "key": "asset.severity", + "value": null + }, + { + "key": "vulnerability.severity", + "value": null + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/asset-inventory-trend-v-3/](https://pan.dev/prisma-cloud/api/cspm/asset-inventory-trend-v-3/)" + }, + "response": [] + }, + { + "name": "Asset Inventory Trend View V2 Copy", + "request": { + "method": "POST", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"detailed\": true,\n \"fields\": [\n \"string\"\n ],\n \"filters\": [\n {\n \"name\": \"string\",\n \"operator\": \"tag:yaml.org,2002:value =\",\n \"value\": \"string\"\n }\n ],\n \"groupBy\": [\n \"string\"\n ],\n \"limit\": 0,\n \"offset\": 0,\n \"pageToken\": \"string\",\n \"sortBy\": [\n \"string\"\n ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/v3/inventory/trend", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "v3", + "inventory", + "trend" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/post-method-asset-inventory-trend-v-3/](https://pan.dev/prisma-cloud/api/cspm/post-method-asset-inventory-trend-v-3/)" + }, + "response": [] + } + ], + "description": "The Asset Inventory APIs provide up-to-date information of all cloud assets that you are monitoring through Prisma Cloud. You can request inventory data, list available filters to narrow inventory requests, and manage saved filters.\n\n### Pagination[​](https://pan.dev/prisma-cloud/api/cspm/asset-inventory/#pagination)\n\nYou can limit the number of items in a response list from API resources that support pagination. The API requests to list asset inventory, that supports pagination will accept the following request parameters.\n\n| Request Parameter | Description |\n| --- | --- |\n| **limit** | Maximum number of items to return per page. Without pagination, maximum number of items to return in a response. |\n| **offset** | Number of items to skip before selecting items to return. Default is zero. |\n| **pageToken** | Set to the **nextPageToken** value from the previous response object to return the next page of data. |\n\n### Filters[​](https://pan.dev/prisma-cloud/api/cspm/asset-inventory/#filters)\n\nAPI requests that use POST methods to request a list of asset inventory have filter parameters that enable you to narrow your request to inventory that meets a certain criteria. The [List Inventory Filters V2](https://pan.dev/prisma-cloud/api/cspm/get-asset-inventory-v-2-dashboard-filter-options/) requests return the available filters." + }, + { + "name": "Audit Logs", + "item": [ + { + "name": "Prisma Cloud Audit Logs", + "request": { + "method": "GET", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "url": { + "raw": "https://{{api-endpoint}}/audit/redlock?timeType=relative&timeAmount=40&timeUnit=hour", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "audit", + "redlock" + ], + "query": [ + { + "key": "timeType", + "value": "relative", + "description": "Possible values: [relative]" + }, + { + "key": "timeAmount", + "value": "40", + "description": "Time Amount" + }, + { + "key": "timeUnit", + "value": "hour", + "description": "ossible values: [minute, hour, day, week, month, year]" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/rl-audit-logs/](https://pan.dev/prisma-cloud/api/cspm/rl-audit-logs/)" + }, + "response": [] + } + ], + "description": "As part of compliance requirement for organizations, companies need to demonstrate they are pro-actively tracking security issues and taking steps to remediate issues as they occur. Prisma Cloud Audit Logs section enables companies to prepare for such audits and demonstrates compliance." + }, + { + "name": "Background Jobs", + "item": [ + { + "name": "Get Reports Metadata", + "request": { + "method": "GET", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "url": { + "raw": "https://{{api-endpoint}}/report-service/api/v1/report?report_types&page&size", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "report-service", + "api", + "v1", + "report" + ], + "query": [ + { + "key": "report_types", + "value": null, + "description": "Report types to be retrieved. You can specify multiple report types as comma separated values" + }, + { + "key": "page", + "value": null, + "description": "The required page number for the paginated results. Page number starts from the 0. Default value is 0" + }, + { + "key": "size", + "value": null, + "description": "The number of results to be returned as part of the page response. Default value is 100" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/list-reports/](https://pan.dev/prisma-cloud/api/cspm/list-reports/)" + }, + "response": [] + }, + { + "name": "Get Report Metadata by ID", + "request": { + "method": "GET", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "url": { + "raw": "https://{{api-endpoint}}/report-service/api/v1/report/:reportId", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "report-service", + "api", + "v1", + "report", + ":reportId" + ], + "variable": [ + { + "key": "reportId", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-report-metadata-by-id/](https://pan.dev/prisma-cloud/api/cspm/get-report-metadata-by-id/)" + }, + "response": [] + }, + { + "name": "Get Report Status", + "request": { + "method": "GET", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "url": { + "raw": "https://{{api-endpoint}}/report-service/api/v1/report/:reportId/status", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "report-service", + "api", + "v1", + "report", + ":reportId", + "status" + ], + "variable": [ + { + "key": "reportId", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-report-status-by-id/](https://pan.dev/prisma-cloud/api/cspm/get-report-status-by-id/)" + }, + "response": [] + }, + { + "name": "Download a report", + "request": { + "method": "GET", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "url": { + "raw": "https://{{api-endpoint}}/report-service/api/v1/report/:reportId/download", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "report-service", + "api", + "v1", + "report", + ":reportId", + "download" + ], + "variable": [ + { + "key": "reportId", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/download-report-by-id/](https://pan.dev/prisma-cloud/api/cspm/download-report-by-id/)" + }, + "response": [] + } + ], + "description": "Background jobs is an asynchronous way of managing the report. When you want to download the results up to 100k records, you can create a background job and use the available apis to check the job status, download the report once finished and list all the background jobs created in past 30 Days." + }, + { + "name": "Discovery and Exposure Management", + "item": [ + { + "name": "Onboard Cloud Accounts", + "request": { + "method": "POST", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"cloudAccounts\": [\n {\n \"accountId\": \"string\",\n \"accountName\": \"string\",\n \"cloudType\": \"AWS\"\n }\n ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/asm/api/v1/convert-cloud-account", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "asm", + "api", + "v1", + "convert-cloud-account" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/onboard-cloud-accounts/](https://pan.dev/prisma-cloud/api/cspm/onboard-cloud-accounts/)" + }, + "response": [] + }, + { + "name": "Get Assets List", + "request": { + "method": "POST", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"snapshotDate\": 0,\n \"cloudTypes\": [\n \"AWS\"\n ],\n \"assetTypes\": [\n \"Domain\"\n ],\n \"manageType\": \"UNMANAGED\",\n \"serviceTypes\": [\n \"string\"\n ],\n \"nextPageToken\": \"string\",\n \"searchText\": \"string\",\n \"snoozeStatus\": [\n \"SNOOZED\"\n ],\n \"accountMappingStatus\": [\n \"MAPPED\"\n ],\n \"managedCommunication\": [\n \"TRUE\"\n ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/asm/api/v1/asset", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "asm", + "api", + "v1", + "asset" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/asset-inventory-for-l-3/](https://pan.dev/prisma-cloud/api/cspm/asset-inventory-for-l-3/)" + }, + "response": [] + }, + { + "name": "Get Findings of an Asset", + "request": { + "method": "POST", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"snapshotDate\": 0,\n \"types\": [\n \"string\"\n ],\n \"severities\": [\n \"High\"\n ],\n \"nextPageToken\": \"string\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/asm/api/v1/asset/:asset_id/finding?next_page_token", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "asm", + "api", + "v1", + "asset", + ":asset_id", + "finding" + ], + "query": [ + { + "key": "next_page_token", + "value": null + } + ], + "variable": [ + { + "key": "asset_id", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-asset-findings/](https://pan.dev/prisma-cloud/api/cspm/get-asset-findings/)" + }, + "response": [] + }, + { + "name": "Get Asset Findings Filter", + "request": { + "method": "POST", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"snapshotDate\": 0,\n \"types\": [\n \"string\"\n ],\n \"severities\": [\n \"High\"\n ],\n \"nextPageToken\": \"string\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/asm/api/v1/asset/:asset_id/finding?next_page_token", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "asm", + "api", + "v1", + "asset", + ":asset_id", + "finding" + ], + "query": [ + { + "key": "next_page_token", + "value": null + } + ], + "variable": [ + { + "key": "asset_id", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-finding-filters/](https://pan.dev/prisma-cloud/api/cspm/get-finding-filters/)" + }, + "response": [] + }, + { + "name": "Snooze Unmanaged Assets", + "request": { + "method": "POST", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"assets\": [\n \"string\"\n ],\n \"temporarySnooze\": true,\n \"snoozeTimeRange\": {\n \"value\": {\n \"unit\": \"minute\",\n \"amount\": 0\n },\n \"type\": \"string\"\n },\n \"reason\": \"string\",\n \"regex\": \"string\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/asm/api/v1/asset/snooze", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "asm", + "api", + "v1", + "asset", + "snooze" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/asset-snooze/](https://pan.dev/prisma-cloud/api/cspm/asset-snooze/)" + }, + "response": [] + }, + { + "name": "Unsnooze Unmanaged Assets", + "request": { + "method": "POST", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"assets\": [\n \"string\"\n ],\n \"regex\": \"string\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/asm/api/v1/asset/reopen", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "asm", + "api", + "v1", + "asset", + "reopen" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/asset-unsnooze/](https://pan.dev/prisma-cloud/api/cspm/asset-unsnooze/)" + }, + "response": [] + }, + { + "name": "Email Asset Details", + "request": { + "method": "POST", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"pcAssetId\": \"string\",\n \"asmAssetId\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n \"name\": \"string\",\n \"cloudTypes\": [\n \"AWS\"\n ],\n \"cloudAccountId\": \"string\",\n \"cloudAccountName\": \"string\",\n \"conversionStatus\": \"DISCOVERED\",\n \"type\": \"string\",\n \"snoozeStatus\": \"SNOOZED\",\n \"snoozeStartTs\": 0,\n \"snoozeEndTs\": 0,\n \"reason\": \"string\",\n \"temporarySnooze\": true,\n \"isFlowlogRelationshipAvailable\": true,\n \"snapshotDate\": 0,\n \"userEmailIds\": [\n \"string\"\n ],\n \"asmAssets\": [\n {\n \"id\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n \"type\": \"string\"\n }\n ],\n \"comment\": \"string\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/asm/api/v1/asset/email", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "asm", + "api", + "v1", + "asset", + "email" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/send-asset-detail-email-from-sidecar/](https://pan.dev/prisma-cloud/api/cspm/send-asset-detail-email-from-sidecar/)" + }, + "response": [] + }, + { + "name": "Download Unmanaged Assets", + "request": { + "method": "POST", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"snapshotDate\": 0,\n \"cloudTypes\": [\n \"AWS\"\n ],\n \"assetTypes\": [\n \"Domain\"\n ],\n \"manageType\": \"UNMANAGED\",\n \"serviceTypes\": [\n \"string\"\n ],\n \"nextPageToken\": \"string\",\n \"searchText\": \"string\",\n \"snoozeStatus\": [\n \"SNOOZED\"\n ],\n \"accountMappingStatus\": [\n \"MAPPED\"\n ],\n \"managedCommunication\": [\n \"TRUE\"\n ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/asm/api/v1/asset/download", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "asm", + "api", + "v1", + "asset", + "download" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/asset-download/](https://pan.dev/prisma-cloud/api/cspm/asset-download/)" + }, + "response": [] + }, + { + "name": "Get Aggregated Asset Count by Asset Type", + "request": { + "method": "POST", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"cloudTypes\": [\n \"AWS\"\n ],\n \"snapshotDate\": 0,\n \"serviceTypes\": [\n \"string\"\n ],\n \"assetTypes\": [\n \"Domain\"\n ],\n \"manageType\": \"UNMANAGED\",\n \"snoozeStatus\": [\n \"SNOOZED\"\n ],\n \"accountMappingStatus\": [\n \"MAPPED\"\n ],\n \"managedCommunication\": [\n \"TRUE\"\n ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/asm/api/v1/asset/aggregation-by-resource-type", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "asm", + "api", + "v1", + "asset", + "aggregation-by-resource-type" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-asset-count-by-asset-type-for-l-2/](https://pan.dev/prisma-cloud/api/cspm/get-asset-count-by-asset-type-for-l-2/)" + }, + "response": [] + }, + { + "name": "Get Aggregated Asset Count by Cloud Type", + "request": { + "method": "POST", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"snapshotDate\": 0,\n \"assetTypes\": [\n \"Domain\"\n ],\n \"manageType\": \"UNMANAGED\",\n \"serviceTypes\": [\n \"string\"\n ],\n \"cloudTypes\": [\n \"AWS\"\n ],\n \"snoozeStatus\": [\n \"SNOOZED\"\n ],\n \"accountMappingStatus\": [\n \"MAPPED\"\n ],\n \"managedCommunication\": [\n \"TRUE\"\n ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/asm/api/v1/asset/aggregation-by-cloud-type", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "asm", + "api", + "v1", + "asset", + "aggregation-by-cloud-type" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-assets-aggregated-by-provider-for-l-1/](https://pan.dev/prisma-cloud/api/cspm/get-assets-aggregated-by-provider-for-l-1/)" + }, + "response": [] + }, + { + "name": "Get Services", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/asm/api/v1/service?snapshot_date&next_page_token", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "asm", + "api", + "v1", + "service" + ], + "query": [ + { + "key": "snapshot_date", + "value": null + }, + { + "key": "next_page_token", + "value": null + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/list-services/](https://pan.dev/prisma-cloud/api/cspm/list-services/)" + }, + "response": [] + }, + { + "name": "Get Service Details", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/asm/api/v1/service/:serviceId", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "asm", + "api", + "v1", + "service", + ":serviceId" + ], + "variable": [ + { + "key": "serviceId", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/fetch-asm-service-details/](https://pan.dev/prisma-cloud/api/cspm/fetch-asm-service-details/)" + }, + "response": [] + }, + { + "name": "Get Industry Benchmark Data", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/asm/api/v1/industry-benchmarks", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "asm", + "api", + "v1", + "industry-benchmarks" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-industry-benchmarks/](https://pan.dev/prisma-cloud/api/cspm/get-industry-benchmarks/)" + }, + "response": [] + }, + { + "name": "Get Convertible Accounts", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/asm/api/v1/dashboard/convertible-accounts", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "asm", + "api", + "v1", + "dashboard", + "convertible-accounts" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-convertible-cloud-accounts/](https://pan.dev/prisma-cloud/api/cspm/get-convertible-cloud-accounts/)" + }, + "response": [] + }, + { + "name": "Get Convertible Accounts Copy", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/asm/api/v1/dashboard/asset?convertible&cloud_account_id&alert_categories&country_code&next_page_token", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "asm", + "api", + "v1", + "dashboard", + "asset" + ], + "query": [ + { + "key": "convertible", + "value": null, + "description": "Default value: false. Filter assets based on if they are convertible." + }, + { + "key": "cloud_account_id", + "value": null + }, + { + "key": "alert_categories", + "value": null + }, + { + "key": "country_code", + "value": null + }, + { + "key": "next_page_token", + "value": null + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/list-assets/](https://pan.dev/prisma-cloud/api/cspm/list-assets/)" + }, + "response": [] + }, + { + "name": "Get Asset Trend", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/asm/api/v1/dashboard/asset/trend?timestamp", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "asm", + "api", + "v1", + "dashboard", + "asset", + "trend" + ], + "query": [ + { + "key": "timestamp", + "value": null + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/fetch-assets-by-manage-type-and-remediation/](https://pan.dev/prisma-cloud/api/cspm/fetch-assets-by-manage-type-and-remediation/)" + }, + "response": [] + }, + { + "name": "Get Asset Top Risks", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/asm/api/v1/dashboard/asset/top-risk", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "asm", + "api", + "v1", + "dashboard", + "asset", + "top-risk" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-top-risks/](https://pan.dev/prisma-cloud/api/cspm/get-top-risks/)" + }, + "response": [] + }, + { + "name": "Get Internet Exposure Risk Distribution", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/asm/api/v1/dashboard/asset/internet-exposure-risk", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "asm", + "api", + "v1", + "dashboard", + "asset", + "internet-exposure-risk" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/fetch-internet-exposure-asm-assets/](https://pan.dev/prisma-cloud/api/cspm/fetch-internet-exposure-asm-assets/)" + }, + "response": [] + }, + { + "name": "Get Assets Count Across Location", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/asm/api/v1/dashboard/asset/geolocation", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "asm", + "api", + "v1", + "dashboard", + "asset", + "geolocation" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/fetch-asset-by-geo-location/](https://pan.dev/prisma-cloud/api/cspm/fetch-asset-by-geo-location/)" + }, + "response": [] + }, + { + "name": "Get Convertible Assets Count", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/asm/api/v1/dashboard/asset/count", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "asm", + "api", + "v1", + "dashboard", + "asset", + "count" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-asset-counts/](https://pan.dev/prisma-cloud/api/cspm/get-asset-counts/)" + }, + "response": [] + }, + { + "name": "Get Asset Details by ID", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/asm/api/v1/asset/:asset_id?snapshot_date&asset_type&manage_type&all_asset_details", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "asm", + "api", + "v1", + "asset", + ":asset_id" + ], + "query": [ + { + "key": "snapshot_date", + "value": null + }, + { + "key": "asset_type", + "value": null + }, + { + "key": "manage_type", + "value": null, + "description": "Default value: UNMANAGED" + }, + { + "key": "all_asset_details", + "value": null, + "description": "Set it true to fetch all asset details." + } + ], + "variable": [ + { + "key": "asset_id", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-asset-details/](https://pan.dev/prisma-cloud/api/cspm/get-asset-details/)" + }, + "response": [] + }, + { + "name": "Get Vulnerabilities in an Asset by ID", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/asm/api/v1/asset/:asset_id/vulnerability?snapshot_date&asset_type&manage_type&next_page_token", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "asm", + "api", + "v1", + "asset", + ":asset_id", + "vulnerability" + ], + "query": [ + { + "key": "snapshot_date", + "value": null + }, + { + "key": "asset_type", + "value": null, + "description": "Possible values: [Domain, ResponsiveIP]" + }, + { + "key": "manage_type", + "value": null, + "description": "Possible values: [MANAGED, UNMANAGED]. Asset management type indicates if the asset is managed by Prisma Cloud." + }, + { + "key": "next_page_token", + "value": null + } + ], + "variable": [ + { + "key": "asset_id", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/asset-vulnerability/](https://pan.dev/prisma-cloud/api/cspm/asset-vulnerability/)" + }, + "response": [] + }, + { + "name": "Get Flow Logs of Unmanaged Assets", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/asm/api/v1/asset/:assetId/flowlog-relationships?snapshot_date", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "asm", + "api", + "v1", + "asset", + ":assetId", + "flowlog-relationships" + ], + "query": [ + { + "key": "snapshot_date", + "value": null + } + ], + "variable": [ + { + "key": "assetId", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/fetch-flowlog-relationships/](https://pan.dev/prisma-cloud/api/cspm/fetch-flowlog-relationships/)" + }, + "response": [] + }, + { + "name": "Get List of Service for an Asset", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/asm/api/v1/asset/:asmAssetId/service?snapshot_date&next_page_token", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "asm", + "api", + "v1", + "asset", + ":asmAssetId", + "service" + ], + "query": [ + { + "key": "snapshot_date", + "value": null + }, + { + "key": "next_page_token", + "value": null + } + ], + "variable": [ + { + "key": "asmAssetId", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/fetch-asm-services-linked-to-asset/](https://pan.dev/prisma-cloud/api/cspm/fetch-asm-services-linked-to-asset/)" + }, + "response": [] + }, + { + "name": "Get Impacted Distros for a Vulnerability", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/asm/api/v1/asset/vulnerability?cve_id", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "asm", + "api", + "v1", + "asset", + "vulnerability" + ], + "query": [ + { + "key": "cve_id", + "value": null + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/vulnerability/](https://pan.dev/prisma-cloud/api/cspm/vulnerability/)" + }, + "response": [] + }, + { + "name": "Get Snooze Regex Pattern", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/asm/api/v1/asset/snoozed-regex", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "asm", + "api", + "v1", + "asset", + "snoozed-regex" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/list-snoozed-pattern/](https://pan.dev/prisma-cloud/api/cspm/list-snoozed-pattern/)" + }, + "response": [] + }, + { + "name": "Get Asset Filters", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/asm/api/v1/asset/filters", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "asm", + "api", + "v1", + "asset", + "filters" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-asset-filters/](https://pan.dev/prisma-cloud/api/cspm/get-asset-filters/)" + }, + "response": [] + } + ], + "description": "Discovery and Exposure Management(CDEM) APIs help you in identifying unmanaged or exposed assets that must be secured. You can use the APIs in this section to fetch the details that are displayed in the Discovery and Exposure Management(CDEM) dashboard. For more information about Discovery and Exposure Management(CDEM) dashboard, see [Discovery and Exposure Management(CDEM) dashboard](https://docs.prismacloud.io/en/enterprise-edition/content-collections/dashboards/dashboards-discovery-exposure-management)" + }, + { + "name": "Cloud Accounts", + "item": [ + { + "name": "AWS", + "item": [ + { + "name": "Add Cloud Account (AWS)", + "request": { + "method": "POST", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"accountId\": \"string\",\n \"enabled\": true,\n \"name\": \"string\",\n \"roleArn\": \"string\",\n \"accountType\": \"organization\",\n \"features\": [\n {\n \"name\": \"Remediation\",\n \"state\": \"enabled\",\n \"defaultMemberState\": \"enabled\"\n }\n ],\n \"groupIds\": [\n \"string\"\n ],\n \"defaultAccountGroupId\": \"string\",\n \"hierarchySelection\": [\n {\n \"resourceId\": \"root\",\n \"displayName\": \"Root\",\n \"nodeType\": \"ORG\",\n \"selectionType\": \"ALL\"\n }\n ],\n \"customMemberRoleNameEnabled\": true,\n \"skipOverrideMemberRoleName\": true,\n \"unifiedCftDisabled\": true,\n \"memberRoleName\": true,\n \"useTenantExternalId\": true\n}" + }, + "url": { + "raw": "https://{{api-endpoint}}/cas/v1/aws_account?skipStatusChecks", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "cas", + "v1", + "aws_account" + ], + "query": [ + { + "key": "skipStatusChecks", + "value": null, + "description": "true = Skip account status checks to improve response time" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/add-aws-cloud-account/](https://pan.dev/prisma-cloud/api/cspm/add-aws-cloud-account/)" + }, + "response": [] + }, + { + "name": "List Ancestors (AWS)", + "request": { + "method": "POST", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"accountId\": \"string\",\n \"enabled\": true,\n \"name\": \"string\",\n \"roleArn\": \"string\",\n \"accountType\": \"organization\",\n \"resourceIds\": [\n \"string\"\n ]\n}" + }, + "url": { + "raw": "https://{{api-endpoint}}/cas/v1/aws_account/:account_id/ancestors", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "cas", + "v1", + "aws_account", + ":account_id", + "ancestors" + ], + "variable": [ + { + "key": "account_id", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-ancestors-for-given-members-ous/](https://pan.dev/prisma-cloud/api/cspm/get-ancestors-for-given-members-ous/)" + }, + "response": [] + }, + { + "name": "Update Cloud Account (AWS)", + "request": { + "method": "PUT", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"CLOUD_ACCOUNT_NAME\",\n \"cloudType\": \"aws\",\n \"accountType\": \"account\",\n \"enabled\": true,\n \"lastModifiedTs\": 1607368494285,\n \"lastModifiedBy\": \"email\",\n \"storageScanEnabled\": true,\n \"storageUUID\": \"GUID\",\n \"protectionMode\": \"MONITOR_AND_PROTECT\",\n \"ingestionMode\": 7,\n \"groupIds\": [\n \"207697d0-b35c-41dc-ae37-b5aab4a45ccc\"\n ],\n \"externalId\": \"b09b59d4-26b4-44aa-8aa9-b57d0adda748\",\n \"roleArn\": \"arn:aws:iam::CLOUD_ACCOUNT_ID:role/PrismaCloudReadWriteRoleWithDLP\",\n \"canonicalId\": \"dd02d7e04eeb0b8e70f08756cffd062a34d7defcca7c121373df79d9006f51ea\",\n \"storageScanConfig\": {\n \"scanOption\": \"Custom\",\n \"buckets\": {\n \"backward\": [\n \"\"\n ],\n \"forward\": [\n \"\"\n ]\n },\n \"snsTopicArn\": \"arn:aws:sns:us-east-1:CLOUD_ACCOUNT_ID:PrismaCloudSNS\"\n },\n \"cloudAccountStatus\": {\n \"accountId\": \"CLOUD_ACCOUNT_ID\",\n \"lastUpdated\": 1607389350494,\n \"lastFullSnapshot\": 1607119740164,\n \"ingestionEndTime\": 0,\n \"cloudType\": \"aws\"\n },\n \"assumeRoleAccount\": \"REDLOCK\",\n \"accountId\": \"CLOUD_ACCOUNT_ID\",\n \"addedOn\": 1607119031817\n}" + }, + "url": { + "raw": "https://{{api-endpoint}}/cas/v1/aws_account/:id?skipStatusChecks", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "cas", + "v1", + "aws_account", + ":id" + ], + "query": [ + { + "key": "skipStatusChecks", + "value": null, + "description": "true = Skip account status checks to improve response time" + } + ], + "variable": [ + { + "key": "id", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/update-aws-cloud-account/](https://pan.dev/prisma-cloud/api/cspm/update-aws-cloud-account/)" + }, + "response": [] + }, + { + "name": "List Children of Parent (AWS)", + "request": { + "method": "POST", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"accountId\": \"string\",\n \"enabled\": true,\n \"name\": \"string\",\n \"roleArn\": \"string\",\n \"accountType\": \"organization\",\n \"useTenantExternalId\": true\n}" + }, + "url": { + "raw": "https://{{api-endpoint}}/cas/v1/aws_account/:parent_id/children", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "cas", + "v1", + "aws_account", + ":parent_id", + "children" + ], + "variable": [ + { + "key": "parent_id", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-list-of-children-under-parent-aws/](https://pan.dev/prisma-cloud/api/cspm/get-list-of-children-under-parent-aws/)" + }, + "response": [] + }, + { + "name": "Get Cloud Account Status (AWS)", + "request": { + "method": "POST", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"accountId\": \"string\",\n \"enabled\": true,\n \"name\": \"string\",\n \"roleArn\": \"string\",\n \"accountType\": \"organization\",\n \"features\": [\n {\n \"name\": \"Remediation\",\n \"state\": \"enabled\",\n \"defaultMemberState\": \"enabled\"\n }\n ],\n \"groupIds\": [\n \"string\"\n ],\n \"defaultAccountGroupId\": \"string\",\n \"hierarchySelection\": [\n {\n \"resourceId\": \"root\",\n \"displayName\": \"Root\",\n \"nodeType\": \"ORG\",\n \"selectionType\": \"ALL\"\n }\n ],\n \"customMemberRoleNameEnabled\": true,\n \"skipOverrideMemberRoleName\": true,\n \"unifiedCftDisabled\": true,\n \"memberRoleName\": true,\n \"useTenantExternalId\": true\n}" + }, + "url": { + "raw": "https://{{api-endpoint}}/cas/v1/cloud_account/status/aws", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "cas", + "v1", + "cloud_account", + "status", + "aws" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-aws-cloud-account-status/](https://pan.dev/prisma-cloud/api/cspm/get-aws-cloud-account-status/)" + }, + "response": [] + }, + { + "name": "Generate the CFT Link (AWS)", + "request": { + "method": "POST", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n\t\"accountType\": \"string\",\n \"accountId\":\"AWS_ACCOUNT_ID\",\n \"awsPartition\": \"string\",\n \"features\": [\"string\"],\n \"customMemberRoleNameEnabled\": false,\n \"cftType\": \"string\",\n \"useTenantExternalId\": false\n}" + }, + "url": { + "raw": "https://{{api-endpoint}}/cas/v1/aws_template/presigned_url", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "cas", + "v1", + "aws_template", + "presigned_url" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/generate-cft-template-link-aws/](https://pan.dev/prisma-cloud/api/cspm/generate-cft-template-link-aws/)" + }, + "response": [] + }, + { + "name": "Generate and Download CFT (AWS)", + "request": { + "method": "POST", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n\t\"accountType\": \"string\",\n \"accountId\":\"AWS_ACCOUNT_ID\",\n \"awsPartition\": \"string\",\n \"features\": [\"string\"],\n \"customMemberRoleNameEnabled\": false,\n \"cftType\": \"string\",\n \"useTenantExternalId\": false\n}" + }, + "url": { + "raw": "https://{{api-endpoint}}/cas/v1/aws_template", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "cas", + "v1", + "aws_template" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/generate-cft-template-aws/](https://pan.dev/prisma-cloud/api/cspm/generate-cft-template-aws/)" + }, + "response": [] + }, + { + "name": "Fetch Master Account Details (AWS)", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n\t\"accountId\":\"AWS_ACCOUNT_ID\",\n\t\"enabled\":true,\n\t\"externalId\":\"AWS_EXTERNAL_ID\",\n\t\"groupIds\": [],\n\t\"name\":\"FRIENDLY_NAME\",\n\t\"roleArn\":\"AWS_ROLE_ARN\"\n}" + }, + "url": { + "raw": "https://{{api-endpoint}}/config/v3/account/awsorg/:id", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "config", + "v3", + "account", + "awsorg", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-aws-org-cloud-config/](https://pan.dev/prisma-cloud/api/cspm/get-aws-org-cloud-config/)" + }, + "response": [] + }, + { + "name": "Performs a Permissions Check for the Given PCDS Account (AWS)", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n\t\"accountId\":\"AWS_ACCOUNT_ID\",\n\t\"enabled\":true,\n\t\"externalId\":\"AWS_EXTERNAL_ID\",\n\t\"groupIds\": [],\n\t\"name\":\"FRIENDLY_NAME\",\n\t\"roleArn\":\"AWS_ROLE_ARN\"\n}" + }, + "url": { + "raw": "https://{{api-endpoint}}/config/v3/account/awsorg/:id/status", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "config", + "v3", + "account", + "awsorg", + ":id", + "status" + ], + "variable": [ + { + "key": "id", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-status-pcds-aws-org-account/](https://pan.dev/prisma-cloud/api/cspm/get-status-pcds-aws-org-account/)" + }, + "response": [] + } + ] + }, + { + "name": "GCP", + "item": [ + { + "name": "Get Cloud Account Status (GCP)", + "request": { + "method": "POST", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"cloudAccount\": {\n \"accountId\": \"string\",\n \"accountType\": \"account\",\n \"enabled\": true,\n \"name\": \"string\",\n \"projectId\": \"string\",\n \"groupIds\": [\n \"string\"\n ]\n },\n \"credentials\": {\n \"token_uri\": \"string\",\n \"private_key_id\": \"string\",\n \"client_x509_cert_url\": \"string\",\n \"project_id\": \"string\",\n \"auth_uri\": \"string\",\n \"auth_provider_x509_cert_url\": \"string\",\n \"client_email\": \"string\",\n \"private_key\": \"string\",\n \"type\": \"string\",\n \"client_id\": \"string\"\n },\n \"compressionEnabled\": true,\n \"dataflowEnabledProject\": \"string\",\n \"flowLogStorageBucket\": \"string\",\n \"accountGroupCreationMode\": \"MANUAL\",\n \"defaultAccountGroupId\": \"string\",\n \"hierarchySelection\": [\n {\n \"resourceId\": \"root\",\n \"displayName\": \"Root\",\n \"nodeType\": \"ORG\",\n \"selectionType\": \"ALL\"\n }\n ],\n \"organizationName\": \"string\",\n \"features\": [\n {\n \"name\": \"Remediation\",\n \"state\": \"enabled\",\n \"defaultMemberState\": \"enabled\"\n }\n ]\n}" + }, + "url": { + "raw": "https://{{api-endpoint}}/cas/v1/cloud_account/status/gcp", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "cas", + "v1", + "cloud_account", + "status", + "gcp" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-gcp-cloud-account-status/](https://pan.dev/prisma-cloud/api/cspm/get-gcp-cloud-account-status/)" + }, + "response": [] + }, + { + "name": "Add Cloud Account (GCP)", + "request": { + "method": "POST", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"cloudAccount\": {\n \"accountId\": \"string\",\n \"accountType\": \"account\",\n \"enabled\": true,\n \"name\": \"string\",\n \"projectId\": \"string\",\n \"groupIds\": [\n \"string\"\n ]\n },\n \"credentials\": {\n \"token_uri\": \"string\",\n \"private_key_id\": \"string\",\n \"client_x509_cert_url\": \"string\",\n \"project_id\": \"string\",\n \"auth_uri\": \"string\",\n \"auth_provider_x509_cert_url\": \"string\",\n \"client_email\": \"string\",\n \"private_key\": \"string\",\n \"type\": \"string\",\n \"client_id\": \"string\"\n },\n \"compressionEnabled\": true,\n \"dataflowEnabledProject\": \"string\",\n \"flowLogStorageBucket\": \"string\",\n \"accountGroupCreationMode\": \"MANUAL\",\n \"defaultAccountGroupId\": \"string\",\n \"hierarchySelection\": [\n {\n \"resourceId\": \"root\",\n \"displayName\": \"Root\",\n \"nodeType\": \"ORG\",\n \"selectionType\": \"ALL\"\n }\n ],\n \"organizationName\": \"string\",\n \"features\": [\n {\n \"name\": \"Remediation\",\n \"state\": \"enabled\",\n \"defaultMemberState\": \"enabled\"\n }\n ]\n}" + }, + "url": { + "raw": "https://{{api-endpoint}}/cas/v1/gcp_account?skipStatusChecks", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "cas", + "v1", + "gcp_account" + ], + "query": [ + { + "key": "skipStatusChecks", + "value": null, + "description": "true = Skip account status checks to improve response time" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/add-gcp-cloud-account/](https://pan.dev/prisma-cloud/api/cspm/add-gcp-cloud-account/)" + }, + "response": [] + }, + { + "name": "Update Cloud Account (GCP)", + "request": { + "method": "PUT", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"cloudAccount\": {\n \"accountId\": \"string\",\n \"accountType\": \"account\",\n \"enabled\": true,\n \"name\": \"string\",\n \"projectId\": \"string\",\n \"groupIds\": [\n \"string\"\n ]\n },\n \"credentials\": {\n \"token_uri\": \"string\",\n \"private_key_id\": \"string\",\n \"client_x509_cert_url\": \"string\",\n \"project_id\": \"string\",\n \"auth_uri\": \"string\",\n \"auth_provider_x509_cert_url\": \"string\",\n \"client_email\": \"string\",\n \"private_key\": \"string\",\n \"type\": \"string\",\n \"client_id\": \"string\"\n },\n \"compressionEnabled\": true,\n \"dataflowEnabledProject\": \"string\",\n \"flowLogStorageBucket\": \"string\",\n \"accountGroupCreationMode\": \"MANUAL\",\n \"defaultAccountGroupId\": \"string\",\n \"hierarchySelection\": [\n {\n \"resourceId\": \"root\",\n \"displayName\": \"Root\",\n \"nodeType\": \"ORG\",\n \"selectionType\": \"ALL\"\n }\n ],\n \"organizationName\": \"string\",\n \"features\": [\n {\n \"name\": \"Remediation\",\n \"state\": \"enabled\",\n \"defaultMemberState\": \"enabled\"\n }\n ]\n}" + }, + "url": { + "raw": "https://{{api-endpoint}}/cas/v1/gcp_account/:id?skipStatusChecks", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "cas", + "v1", + "gcp_account", + ":id" + ], + "query": [ + { + "key": "skipStatusChecks", + "value": null, + "description": "true = Skip account status checks to improve response time" + } + ], + "variable": [ + { + "key": "id", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/update-gcp-cloud-account/](https://pan.dev/prisma-cloud/api/cspm/update-gcp-cloud-account/)" + }, + "response": [] + }, + { + "name": "List Children of Parent (GCP)", + "request": { + "method": "POST", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"cloudAccount\": {\n \"accountId\": \"string\"\n },\n \"credentials\": {\n \"token_uri\": \"string\",\n \"private_key_id\": \"string\",\n \"client_x509_cert_url\": \"string\",\n \"project_id\": \"string\",\n \"auth_uri\": \"string\",\n \"auth_provider_x509_cert_url\": \"string\",\n \"client_email\": \"string\",\n \"private_key\": \"string\",\n \"type\": \"string\",\n \"client_id\": \"string\"\n }\n}" + }, + "url": { + "raw": "https://{{api-endpoint}}/cloud/gcp/parent/:parent_id/children?projectNextPageToken&projectPageSize&folderNextPageToken&folderPageSize&parentType", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "cloud", + "gcp", + "parent", + ":parent_id", + "children" + ], + "query": [ + { + "key": "projectNextPageToken", + "value": null, + "description": "Token to request next page of projects" + }, + { + "key": "projectPageSize", + "value": null, + "description": "Page size for paging projects. Valid range is 1-300 inclusive. A page size of 0 returns a nextPageToken but no projects." + }, + { + "key": "folderNextPageToken", + "value": null, + "description": "Token to request next page of folders" + }, + { + "key": "folderPageSize", + "value": null, + "description": "Page size for paging folders. Valid range is 1-300 inclusive. A page size of 0 returns a nextPageToken but no folders" + }, + { + "key": "parentType", + "value": null, + "description": "Possible values: [folders, organizations]" + } + ], + "variable": [ + { + "key": "parent_id", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-list-of-children-under-parent/](https://pan.dev/prisma-cloud/api/cspm/get-list-of-children-under-parent/)" + }, + "response": [] + }, + { + "name": "List Ancestors (GCP)", + "request": { + "method": "POST", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"resourceIds\": [\n \"string\"\n ],\n \"credentials\": {\n \"token_uri\": \"string\",\n \"private_key_id\": \"string\",\n \"client_x509_cert_url\": \"string\",\n \"project_id\": \"string\",\n \"auth_uri\": \"string\",\n \"auth_provider_x509_cert_url\": \"string\",\n \"client_email\": \"string\",\n \"private_key\": \"string\",\n \"type\": \"string\",\n \"client_id\": \"string\"\n }\n}" + }, + "url": { + "raw": "https://{{api-endpoint}}/cloud/:cloud_type/accounts/:account_id/ancestors", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "cloud", + ":cloud_type", + "accounts", + ":account_id", + "ancestors" + ], + "variable": [ + { + "key": "cloud_type", + "value": "" + }, + { + "key": "account_id", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-ancestors-for-given-projects-folders/](https://pan.dev/prisma-cloud/api/cspm/get-ancestors-for-given-projects-folders/)" + }, + "response": [] + }, + { + "name": "Get Saved Resource Hierarchy (GCP)", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": { + "raw": "https://{{api-endpoint}}/cloud/:cloud_type/accounts/:account_id/hierarchy", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "cloud", + ":cloud_type", + "accounts", + ":account_id", + "hierarchy" + ], + "variable": [ + { + "key": "cloud_type", + "value": "gcp" + }, + { + "key": "account_id", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-previously-saved-resource-hierarchy/](https://pan.dev/prisma-cloud/api/cspm/get-previously-saved-resource-hierarchy/)" + }, + "response": [] + }, + { + "name": "List Folders of Parent (GCP)", + "request": { + "method": "POST", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"cloudAccount\": {\n \"accountId\": \"string\"\n },\n \"credentials\": {\n \"token_uri\": \"string\",\n \"private_key_id\": \"string\",\n \"client_x509_cert_url\": \"string\",\n \"project_id\": \"string\",\n \"auth_uri\": \"string\",\n \"auth_provider_x509_cert_url\": \"string\",\n \"client_email\": \"string\",\n \"private_key\": \"string\",\n \"type\": \"string\",\n \"client_id\": \"string\"\n }\n}" + }, + "url": { + "raw": "https://{{api-endpoint}}/cloud/:cloud_type/parent/:parent_id/folders", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "cloud", + ":cloud_type", + "parent", + ":parent_id", + "folders" + ], + "variable": [ + { + "key": "cloud_type", + "value": "gcp" + }, + { + "key": "parent_id", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-list-of-folders-under-parent/](https://pan.dev/prisma-cloud/api/cspm/get-list-of-folders-under-parent/)" + }, + "response": [] + }, + { + "name": "List Projects of Parent (GCP)", + "request": { + "method": "POST", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"serviceAccountKey\": \"string\"\n}" + }, + "url": { + "raw": "https://{{api-endpoint}}/cloud/:cloud_type/parent/:parent_id/projects?nextPageToken&pageSize&parentType", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "cloud", + ":cloud_type", + "parent", + ":parent_id", + "projects" + ], + "query": [ + { + "key": "nextPageToken", + "value": null, + "description": "Token to request next page of projects" + }, + { + "key": "pageSize", + "value": null, + "description": "Page size. Valid range is 1-300 inclusive. A page size of 0 returns a nextPageToken but no projects" + }, + { + "key": "parentType", + "value": null, + "description": "Possible values: [folders, organizations]" + } + ], + "variable": [ + { + "key": "cloud_type", + "value": "gcp" + }, + { + "key": "parent_id", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-list-of-projects-under-parent/](https://pan.dev/prisma-cloud/api/cspm/get-list-of-projects-under-parent/)" + }, + "response": [] + }, + { + "name": "Generate and Download the Terraform Template (GCP)", + "request": { + "method": "POST", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"accountType\": \"string\",\n \"projectId\": \"string\",\n \"orgId\": \"string\"\n \"flowLogBucket\": \"string\",\n \"authenticationType\": \"string\",\n \"features\": \"string\"\n}" + }, + "url": { + "raw": "https://{{api-endpoint}}/cas/v1/gcp_template", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "cas", + "v1", + "gcp_template" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/generate-template-link-gcp-gcp/](https://pan.dev/prisma-cloud/api/cspm/generate-template-link-gcp-gcp/)" + }, + "response": [] + } + ] + }, + { + "name": "Azure", + "item": [ + { + "name": "Add Cloud Account (Azure)", + "request": { + "method": "POST", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"cloudAccount\": {\n \"accountId\": \"string\",\n \"accountType\": \"account\",\n \"enabled\": true,\n \"name\": \"string\",\n \"groupIds\": [\n \"string\"\n ]\n },\n \"clientId\": \"string\",\n \"environmentType\": \"azure\",\n \"key\": \"string\",\n \"monitorFlowLogs\": true,\n \"servicePrincipalId\": \"string\",\n \"tenantId\": \"string\",\n \"features\": [\n {\n \"name\": \"Remediation\",\n \"state\": \"enabled\",\n \"defaultMemberState\": \"enabled\"\n }\n ],\n \"defaultAccountGroupId\": \"string\",\n \"hierarchySelection\": [\n {\n \"resourceId\": \"root\",\n \"displayName\": \"Root\",\n \"nodeType\": \"ORG\",\n \"selectionType\": \"ALL\"\n }\n ],\n \"rootSyncEnabled\": true,\n \"accountGroupMode\": \"MANUAL\"\n}" + }, + "url": { + "raw": "https://{{api-endpoint}}/cas/v1/azure_account", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "cas", + "v1", + "azure_account" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/add-azure-cloud-account/](https://pan.dev/prisma-cloud/api/cspm/add-azure-cloud-account/)" + }, + "response": [] + }, + { + "name": "Update Cloud Account (Azure)", + "request": { + "method": "PUT", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"cloudAccount\": {\n \"accountId\": \"string\",\n \"accountType\": \"account\",\n \"enabled\": true,\n \"name\": \"string\",\n \"groupIds\": [\n \"string\"\n ]\n },\n \"clientId\": \"string\",\n \"environmentType\": \"azure\",\n \"key\": \"string\",\n \"monitorFlowLogs\": true,\n \"servicePrincipalId\": \"string\",\n \"tenantId\": \"string\",\n \"features\": [\n {\n \"name\": \"Remediation\",\n \"state\": \"enabled\",\n \"defaultMemberState\": \"enabled\"\n }\n ],\n \"defaultAccountGroupId\": \"string\",\n \"hierarchySelection\": [\n {\n \"resourceId\": \"root\",\n \"displayName\": \"Root\",\n \"nodeType\": \"ORG\",\n \"selectionType\": \"ALL\"\n }\n ],\n \"rootSyncEnabled\": true,\n \"accountGroupMode\": \"MANUAL\"\n}" + }, + "url": { + "raw": "https://{{api-endpoint}}/v1/azure_account/:ACCOUNT_ID?skipStatusChecks", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "v1", + "azure_account", + ":ACCOUNT_ID" + ], + "query": [ + { + "key": "skipStatusChecks", + "value": null, + "description": "true = Skip account status checks to improve response time" + } + ], + "variable": [ + { + "key": "ACCOUNT_ID", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/update-azure-cloud-account/](https://pan.dev/prisma-cloud/api/cspm/update-azure-cloud-account/)" + }, + "response": [] + }, + { + "name": "Get Cloud Account Status (Azure)", + "request": { + "method": "POST", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"cloudAccount\": {\n \"accountId\": \"string\",\n \"accountType\": \"account\",\n \"enabled\": true,\n \"name\": \"string\",\n \"groupIds\": [\n \"string\"\n ]\n },\n \"clientId\": \"string\",\n \"environmentType\": \"azure\",\n \"key\": \"string\",\n \"monitorFlowLogs\": true,\n \"servicePrincipalId\": \"string\",\n \"tenantId\": \"string\",\n \"features\": [\n {\n \"name\": \"Remediation\",\n \"state\": \"enabled\",\n \"defaultMemberState\": \"enabled\"\n }\n ],\n \"defaultAccountGroupId\": \"string\",\n \"hierarchySelection\": [\n {\n \"resourceId\": \"root\",\n \"displayName\": \"Root\",\n \"nodeType\": \"ORG\",\n \"selectionType\": \"ALL\"\n }\n ],\n \"rootSyncEnabled\": true,\n \"accountGroupMode\": \"MANUAL\"\n}" + }, + "url": { + "raw": "https://{{api-endpoint}}/cas/v1/cloud_account/status/azure", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "cas", + "v1", + "cloud_account", + "status", + "azure" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-azure-cloud-account-status/](https://pan.dev/prisma-cloud/api/cspm/get-azure-cloud-account-status/)" + }, + "response": [] + }, + { + "name": "List Ancestors (Azure)", + "request": { + "method": "POST", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"resourceIds\": [\n \"string\"\n ]\n}" + }, + "url": { + "raw": "https://{{api-endpoint}}/cloud-accounts-manager/v1/cloudAccounts/azureAccounts/:account_id/ancestors", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "cloud-accounts-manager", + "v1", + "cloudAccounts", + "azureAccounts", + ":account_id", + "ancestors" + ], + "variable": [ + { + "key": "account_id", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-ancestors-for-given-subscriptions-and-management-groups/](https://pan.dev/prisma-cloud/api/cspm/get-ancestors-for-given-subscriptions-and-management-groups/)" + }, + "response": [] + }, + { + "name": "List Children of Parent (Azure)", + "request": { + "method": "POST", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"cloudAccount\": {\n \"accountId\": \"string\",\n \"accountType\": \"tenant\"\n },\n \"clientId\": \"string\",\n \"environmentType\": \"azure\",\n \"key\": \"string\",\n \"monitorFlowLogs\": true,\n \"servicePrincipalId\": \"string\",\n \"tenantId\": \"string\",\n \"rootSyncEnabled\": true\n}" + }, + "url": { + "raw": "https://{{api-endpoint}}/cloud-accounts-manager/v1/cloudAccounts/azureAccounts/:parent_id/children", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "cloud-accounts-manager", + "v1", + "cloudAccounts", + "azureAccounts", + ":parent_id", + "children" + ], + "variable": [ + { + "key": "parent_id", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/list-children-under-parent/](https://pan.dev/prisma-cloud/api/cspm/list-children-under-parent/)" + }, + "response": [] + }, + { + "name": "Generate and Download the Terraform template (Azure)", + "request": { + "method": "POST", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"accountType\": \"tenant\",\n \"subscriptionId\": \"string\",\n \"tenantId\": \"string\",\n \"rootSyncEnabled\": true,\n \"features\": [],\n \"deploymentType\": \"string\"\n}" + }, + "url": { + "raw": "https://{{api-endpoint}}/cas/v1/azure_template", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "cas", + "v1", + "azure_template" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/generate-template-link/](https://pan.dev/prisma-cloud/api/cspm/generate-template-link/)" + }, + "response": [] + } + ] + }, + { + "name": "OCI and Alibaba", + "item": [ + { + "name": "Generate Zipped Terraform Script (OCI)", + "request": { + "method": "POST", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"accountId\": \"string\",\n \"userName\": \"string\",\n \"groupName\": \"string\",\n \"policyName\": \"string\",\n \"generateKeys\": true\n}" + }, + "url": { + "raw": "https://{{api-endpoint}}/cloud/oci/terraform", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "cloud", + "oci", + "terraform" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/generateterraformscript/](https://pan.dev/prisma-cloud/api/cspm/generateterraformscript/)" + }, + "response": [] + }, + { + "name": "Get Cloud Account Status (OCI and AliCloud)", + "request": { + "method": "POST", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{}" + }, + "url": { + "raw": "https://{{api-endpoint}}/cloud/status/:cloud_type", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "cloud", + "status", + ":cloud_type" + ], + "variable": [ + { + "key": "cloud_type", + "value": "", + "description": "Possible values: [alibaba_cloud, oci]" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-cloud-account-status/](https://pan.dev/prisma-cloud/api/cspm/get-cloud-account-status/)" + }, + "response": [] + }, + { + "name": "Add Cloud Account (OCI and AliCloud)", + "request": { + "method": "POST", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "\n// Alibaba Account\n{\n \"accountId\": \"\",\n \"groupIds\": [],\n \"name\": \"\",\n \"enabled\": true,\n \"ramArn\": \"\"\n}\n\n// OCI Account\n{\n \"accountType\":\"tenant\",\n \"defaultAccountGroupId\":\"\",\n \"enabled\":true,\n \"name\":\"\",\n \"groupName\":\"\",\n \"homeRegion\":\"\",\n \"policyName\":\"\",\n \"accountId\":\"\",\n \"userName\":\"\",\n \"userOcid\":\"\"\n}" + }, + "url": { + "raw": "https://{{api-endpoint}}/cloud/:cloud_type", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "cloud", + ":cloud_type" + ], + "variable": [ + { + "key": "cloud_type", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/add-cloud-account/](https://pan.dev/prisma-cloud/api/cspm/add-cloud-account/)" + }, + "response": [] + }, + { + "name": "Update Cloud Account (OCI and AliCloud)", + "request": { + "method": "PUT", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "\n// Alibaba Account\n{\n \"accountId\": \"\",\n \"groupIds\": [],\n \"name\": \"\",\n \"enabled\": true,\n \"ramArn\": \"\"\n}\n\n// OCI Account\n{\n \"accountType\":\"tenant\",\n \"defaultAccountGroupId\":\"\",\n \"enabled\":true,\n \"name\":\"\",\n \"groupName\":\"\",\n \"homeRegion\":\"\",\n \"policyName\":\"\",\n \"accountId\":\"\",\n \"userName\":\"\",\n \"userOcid\":\"\"\n}" + }, + "url": { + "raw": "https://{{api-endpoint}}/cloud/:cloud_type/:id", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "cloud", + ":cloud_type", + ":id" + ], + "variable": [ + { + "key": "cloud_type", + "value": "" + }, + { + "key": "id", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/update-cloud-account/](https://pan.dev/prisma-cloud/api/cspm/update-cloud-account/)" + }, + "response": [] + }, + { + "name": "Get Cloud Account Deployment Types (Alibaba)", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "\n// Alibaba Account\n{\n \"accountId\": \"\",\n \"groupIds\": [],\n \"name\": \"\",\n \"enabled\": true,\n \"ramArn\": \"\"\n}\n\n// OCI Account\n{\n \"accountType\":\"tenant\",\n \"defaultAccountGroupId\":\"\",\n \"enabled\":true,\n \"name\":\"\",\n \"groupName\":\"\",\n \"homeRegion\":\"\",\n \"policyName\":\"\",\n \"accountId\":\"\",\n \"userName\":\"\",\n \"userOcid\":\"\"\n}" + }, + "url": { + "raw": "https://{{api-endpoint}}/cas/v1/cloud/:cloudType/deployment-type", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "cas", + "v1", + "cloud", + ":cloudType", + "deployment-type" + ], + "variable": [ + { + "key": "cloudType", + "value": "", + "description": "Possible values: [alibaba-cloud]" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-cloud-deployment-types/](https://pan.dev/prisma-cloud/api/cspm/get-cloud-deployment-types/)" + }, + "response": [] + } + ] + }, + { + "name": "List Account Status Details", + "request": { + "method": "GET", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "url": { + "raw": "https://{{api-endpoint}}/account/:ACCOUNT_ID/config/status", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "account", + ":ACCOUNT_ID", + "config", + "status" + ], + "variable": [ + { + "key": "ACCOUNT_ID", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/list-cloud-account-status-details/](https://pan.dev/prisma-cloud/api/cspm/list-cloud-account-status-details/)" + }, + "response": [] + }, + { + "name": "List Cloud Accounts", + "request": { + "method": "GET", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "url": { + "raw": "https://{{api-endpoint}}/cloud", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "cloud" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-cloud-accounts/](https://pan.dev/prisma-cloud/api/cspm/get-cloud-accounts/)" + }, + "response": [] + }, + { + "name": "List Cloud Account Names", + "request": { + "method": "GET", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "url": { + "raw": "https://{{api-endpoint}}/cloud/name", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "cloud", + "name" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-cloud-account-names/](https://pan.dev/prisma-cloud/api/cspm/get-cloud-account-names/)" + }, + "response": [] + }, + { + "name": "List Cloud Account Names", + "request": { + "method": "POST", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "url": { + "raw": "https://{{api-endpoint}}/cloud/name?onlyActive=true&cloudType=CLOUD_TYPE&includeOthers=TRUE_FALSE", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "cloud", + "name" + ], + "query": [ + { + "key": "onlyActive", + "value": "true", + "description": "Can be true or false" + }, + { + "key": "cloudType", + "value": "CLOUD_TYPE", + "description": "aws, azure, gcp, or alibaba_cloud" + }, + { + "key": "includeOthers", + "value": "TRUE_FALSE" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-cloud-account-names-by-post/](https://pan.dev/prisma-cloud/api/cspm/get-cloud-account-names-by-post/)" + }, + "response": [] + }, + { + "name": "List Cloud Types", + "request": { + "method": "GET", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "url": { + "raw": "https://{{api-endpoint}}/cloud/ype?onlyAccessible&includeOthers", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "cloud", + "ype" + ], + "query": [ + { + "key": "onlyAccessible", + "value": null, + "description": "true = return only cloud types to which the user has access and for which he has onboarded cloud accounts. Default is false." + }, + { + "key": "includeOthers", + "value": null, + "description": "eturns other cloudType in response if includeOthers is true" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-cloud-types/](https://pan.dev/prisma-cloud/api/cspm/get-cloud-types/)" + }, + "response": [] + }, + { + "name": "Get Cloud Account Details", + "request": { + "method": "GET", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "url": { + "raw": "https://{{api-endpoint}}/cloud/:CLOUD_TYPE/:CLOUD_ID?includeGroupInfo", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "cloud", + ":CLOUD_TYPE", + ":CLOUD_ID" + ], + "query": [ + { + "key": "includeGroupInfo", + "value": null, + "description": "true = Include account group info. Default is false." + } + ], + "variable": [ + { + "key": "CLOUD_TYPE", + "value": "", + "description": "Possible values: [aws, azure, gcp, alibaba_cloud, oci]" + }, + { + "key": "CLOUD_ID", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-cloud-account/](https://pan.dev/prisma-cloud/api/cspm/get-cloud-account/)" + }, + "response": [] + }, + { + "name": "Delete Cloud Account", + "request": { + "method": "DELETE", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "description": "CAUTION, DISABLED AS TO NOT ACCIDENTALLY REMOVE CLOUD ACCOUNTS", + "type": "text" + } + ], + "url": { + "raw": "https://{{api-endpoint}}/cloud/:CLOUD_TYPE/:CLOUD_ACCOUNT_ID", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "cloud", + ":CLOUD_TYPE", + ":CLOUD_ACCOUNT_ID" + ], + "variable": [ + { + "key": "CLOUD_TYPE", + "value": "", + "description": "Possible values: [aws, azure, gcp, alibaba_cloud, oci]" + }, + { + "key": "CLOUD_ACCOUNT_ID", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/delete-cloud-account/](https://pan.dev/prisma-cloud/api/cspm/delete-cloud-account/)" + }, + "response": [] + }, + { + "name": "Update Cloud Account", + "request": { + "method": "PATCH", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"groupIds\": [\n \"string\"\n ],\n \"autoConsent\": \"enabled/disabled\",\n \"enabled\": false,\n \"updateChildrenStatus\": false\n}" + }, + "url": { + "raw": "https://{{api-endpoint}}/cloud/:CLOUD_TYPE/:CLOUD_ID", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "cloud", + ":CLOUD_TYPE", + ":CLOUD_ID" + ], + "variable": [ + { + "key": "CLOUD_TYPE", + "value": "" + }, + { + "key": "CLOUD_ID", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/patch-cloud-account/](https://pan.dev/prisma-cloud/api/cspm/patch-cloud-account/)" + }, + "response": [] + }, + { + "name": "List Cloud Org Accounts", + "request": { + "method": "GET", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "url": { + "raw": "https://{{api-endpoint}}/cloud/:CLOUD_TYPE/:CLOUD_ACCOUNT_ID/project?excludeAccountGroupDetails", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "cloud", + ":CLOUD_TYPE", + ":CLOUD_ACCOUNT_ID", + "project" + ], + "query": [ + { + "key": "excludeAccountGroupDetails", + "value": null, + "description": "true = Exclude account group details. Default is false." + } + ], + "variable": [ + { + "key": "CLOUD_TYPE", + "value": "", + "description": "Possible values: [aws, azure, gcp, alibaba_cloud, oci]" + }, + { + "key": "CLOUD_ACCOUNT_ID", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-cloud-org-accounts/](https://pan.dev/prisma-cloud/api/cspm/get-cloud-org-accounts/)" + }, + "response": [] + }, + { + "name": "List Cloud Account Owners", + "request": { + "method": "GET", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "url": { + "raw": "https://{{api-endpoint}}/cloud/:CLOUD_ID/owners", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "cloud", + ":CLOUD_ID", + "owners" + ], + "variable": [ + { + "key": "CLOUD_ID", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-cloud-account-owners/](https://pan.dev/prisma-cloud/api/cspm/get-cloud-account-owners/)" + }, + "response": [] + }, + { + "name": "Update Cloud Account Status", + "request": { + "method": "PATCH", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n\t\"groupIds\":[\"ACCOUNT_GROUP_IDS\"],\n\t\"enabled\":true,\n\t\"updateChildrenStatus\":true\n}" + }, + "url": { + "raw": "https://{{api-endpoint}}/cloud/:ACCOUNT_ID/status/:enabled?updateChildren=true", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "cloud", + ":ACCOUNT_ID", + "status", + ":enabled" + ], + "query": [ + { + "key": "updateChildren", + "value": "true", + "description": "Allows for updating status of children cloud accounts if any. Default is false" + } + ], + "variable": [ + { + "key": "ACCOUNT_ID", + "value": "", + "description": "id" + }, + { + "key": "enabled", + "value": "", + "description": "Status to set" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/update-cloud-account-status/](https://pan.dev/prisma-cloud/api/cspm/update-cloud-account-status/)" + }, + "response": [] + }, + { + "name": "Update Feature State for Members of an Organization", + "request": { + "method": "PUT", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n\t\"memberIds\":[\"ACCOUNT_IDS\"],\n\t\"features\":{\n \"name\": \"string\",\n \"state\": \"string\"\n }\n}" + }, + "url": { + "raw": "https://{{api-endpoint}}/cas/api/v1/org/:id/features", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "cas", + "api", + "v1", + "org", + ":id", + "features" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "For AWS, specify organization id.\nFor GCP, specify organization id or masterServiceAccount id.\nFor Azure, specify tenant id." + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/save-bulk-cloud-account-feature/](https://pan.dev/prisma-cloud/api/cspm/save-bulk-cloud-account-feature/)" + }, + "response": [] + }, + { + "name": "Fetch Supported Features For Cloud Type", + "request": { + "method": "POST", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n\t\"memberIds\":[\"ACCOUNT_IDS\"],\n\t\"features\":{\n \"name\": \"string\",\n \"state\": \"string\"\n }\n}" + }, + "url": { + "raw": "https://{{api-endpoint}}/cas/v1/features/cloud/:cloud_type", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "cas", + "v1", + "features", + "cloud", + ":cloud_type" + ], + "variable": [ + { + "key": "cloud_type", + "value": "", + "description": "Possible values: [aws, azure, gcp, alibaba, oci, ibm]" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/fetch-supported-features/](https://pan.dev/prisma-cloud/api/cspm/fetch-supported-features/)" + }, + "response": [] + }, + { + "name": "Save Account Config With Given Attributes", + "request": { + "method": "POST", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"redlockAccountId\": 0,\n \"accountId\": \"string\",\n \"storageUUID\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n \"cloudType\": \"aws\",\n \"accountType\": \"regular\",\n \"redlockTenantId\": 0,\n \"storageScanStatus\": \"initialized\",\n \"dssTenantId\": \"string\",\n \"accountName\": \"string\",\n \"scanOption\": \"none\",\n \"cloudConfig\": {}\n}" + }, + "url": { + "raw": "https://{{api-endpoint}}/config/v3/account", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "config", + "v3", + "account" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/save-account-config/](https://pan.dev/prisma-cloud/api/cspm/save-account-config/)" + }, + "response": [] + } + ], + "description": "You can use the APIs in this category to perform operations that are nonspecific to cloud account types, such as listing all the cloud accounts, listing supported features, and deleting an account.\n\nFor operations that are specific to the cloud type or cloud provider, see:\n\n- [Cloud Accounts (AWS)](https://pan.dev/prisma-cloud/api/cspm/cloud-accounts-aws/)\n \n- [Cloud Accounts (Azure)](https://pan.dev/prisma-cloud/api/cspm/cloud-accounts-azure/)\n \n- [Cloud Accounts (GCP)](https://pan.dev/prisma-cloud/api/cspm/cloud-accounts-gcp/)\n \n- [Cloud Accounts (OCI and Alibaba)](https://pan.dev/prisma-cloud/api/cspm/cloud-accounts-oci-and-alibaba/)" + }, + { + "name": "Collections", + "item": [ + { + "name": "Get Collection by ID", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": { + "raw": "https://{{api-endpoint}}/entitlement/api/v1/collection/:id", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "entitlement", + "api", + "v1", + "collection", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-collection-by-id/](https://pan.dev/prisma-cloud/api/cspm/get-collection-by-id/)" + }, + "response": [] + }, + { + "name": "Update Collection", + "request": { + "method": "PUT", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"string\",\n \"description\": \"string\",\n \"assetGroups\": {\n \"accountGroupIds\": [\n \"string\"\n ],\n \"accountIds\": [\n \"string\"\n ],\n \"repositoryIds\": [\n \"string\"\n ]\n }\n}" + }, + "url": { + "raw": "https://{{api-endpoint}}/entitlement/api/v1/collection/:id", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "entitlement", + "api", + "v1", + "collection", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/update-collection-by-id/](https://pan.dev/prisma-cloud/api/cspm/update-collection-by-id/)" + }, + "response": [] + }, + { + "name": "Delete Collection", + "request": { + "method": "DELETE", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": { + "raw": "https://{{api-endpoint}}/entitlement/api/v1/collection/:id", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "entitlement", + "api", + "v1", + "collection", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/delete-collection-by-id/](https://pan.dev/prisma-cloud/api/cspm/delete-collection-by-id/)" + }, + "response": [] + }, + { + "name": "Get All Collections", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": { + "raw": "https://{{api-endpoint}}/entitlement/api/v1/collection", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "entitlement", + "api", + "v1", + "collection" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-all-collections/](https://pan.dev/prisma-cloud/api/cspm/get-all-collections/)" + }, + "response": [] + }, + { + "name": "Create Collection", + "request": { + "method": "POST", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"string\",\n \"description\": \"string\",\n \"assetGroups\": {\n \"accountGroupIds\": [\n \"string\"\n ],\n \"accountIds\": [\n \"string\"\n ],\n \"repositoryIds\": [\n \"string\"\n ]\n }\n}" + }, + "url": { + "raw": "https://{{api-endpoint}}/entitlement/api/v1/collection", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "entitlement", + "api", + "v1", + "collection" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/create-collection/](https://pan.dev/prisma-cloud/api/cspm/create-collection/)" + }, + "response": [] + } + ], + "description": "Prisma Cloud Collections allow you to define logical groups of assets within Prisma Cloud which are meaningful to the stakeholders in your cloud environments. You can create Collections to represent applications and services, organize your cloud estate by business units, or maintain focused visibility on the security posture of critical components of your cloud infrastructure." + }, + { + "name": "Command Center", + "item": [ + { + "name": "List Total Alerts based on the severity", + "request": { + "method": "POST", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"filters\": [\n {\n \"name\": \"account.group\",\n \"operator\": \"string\",\n \"value\": \"string\"\n }\n ],\n \"timeRange\": {\n \"type\": \"string\",\n \"value\": {\n \"startTime\": 0,\n \"endTime\": 0\n }\n }\n}" + }, + "url": { + "raw": "https://{{api-endpoint}}/api/v1/summary/:swimlane-type", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "api", + "v1", + "summary", + ":swimlane-type" + ], + "variable": [ + { + "key": "swimlane-type", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/command-center-list-total-alerts-by-severity/](https://pan.dev/prisma-cloud/api/cspm/command-center-list-total-alerts-by-severity/)" + }, + "response": [] + }, + { + "name": "List Top N assets", + "request": { + "method": "POST", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"filters\": [\n {\n \"name\": \"account.group\",\n \"operator\": \"string\",\n \"value\": \"string\"\n }\n ],\n \"timeRange\": {\n \"type\": \"string\",\n \"value\": {\n \"startTime\": 0,\n \"endTime\": 0\n }\n },\n \"limit\": 5\n}" + }, + "url": { + "raw": "https://{{api-endpoint}}/api/v1/top-assets/:swimlane-type", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "api", + "v1", + "top-assets", + ":swimlane-type" + ], + "variable": [ + { + "key": "swimlane-type", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/command-center-list-top-assets/](https://pan.dev/prisma-cloud/api/cspm/command-center-list-top-assets/)" + }, + "response": [] + }, + { + "name": "List Top Policies", + "request": { + "method": "POST", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"filters\": [\n {\n \"name\": \"account.group\",\n \"operator\": \"string\",\n \"value\": \"string\"\n }\n ],\n \"timeRange\": {\n \"type\": \"string\",\n \"value\": {\n \"startTime\": 0,\n \"endTime\": 0\n }\n },\n \"limit\": 5\n}" + }, + "url": { + "raw": "https://{{api-endpoint}}/api/v1/top-policies/:swimlane-type", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "api", + "v1", + "top-policies", + ":swimlane-type" + ], + "variable": [ + { + "key": "swimlane-type", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/command-center-list-top-policies/](https://pan.dev/prisma-cloud/api/cspm/command-center-list-top-policies/)" + }, + "response": [] + }, + { + "name": "List Top Vulnerabilities", + "request": { + "method": "POST", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"filters\": [\n {\n \"name\": \"account.group\",\n \"operator\": \"string\",\n \"value\": \"string\"\n }\n ],\n \"timeRange\": {\n \"type\": \"string\",\n \"value\": {\n \"startTime\": 0,\n \"endTime\": 0\n }\n }\n}" + }, + "url": { + "raw": "https://{{api-endpoint}}/api/v1/top-vulnerabilities?limit&type", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "api", + "v1", + "top-vulnerabilities" + ], + "query": [ + { + "key": "limit", + "value": null + }, + { + "key": "type", + "value": null + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/command-center-list-top-vulnerabilities/](https://pan.dev/prisma-cloud/api/cspm/command-center-list-top-vulnerabilities/)" + }, + "response": [] + }, + { + "name": "List Total Vulnerable Images and Hosts", + "request": { + "method": "POST", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"filters\": [\n {\n \"name\": \"account.group\",\n \"operator\": \"string\",\n \"value\": \"string\"\n }\n ],\n \"timeRange\": {\n \"type\": \"string\",\n \"value\": {\n \"startTime\": 0,\n \"endTime\": 0\n }\n }\n}" + }, + "url": { + "raw": "https://{{api-endpoint}}/api/v1/vulnerabilities/summary?prismaId", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "api", + "v1", + "vulnerabilities", + "summary" + ], + "query": [ + { + "key": "prismaId", + "value": null + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/command-center-list-total-vulnerable-images-hosts/](https://pan.dev/prisma-cloud/api/cspm/command-center-list-total-vulnerable-images-hosts/)" + }, + "response": [] + } + ] + }, + { + "name": "Widgets", + "item": [ + { + "name": "Get Alerts Count By Resolution Reason", + "request": { + "method": "POST", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"filters\": [\n {\n \"name\": \"alert.resolutionReason\",\n \"operator\": \"string\",\n \"value\": \"string\"\n }\n ],\n \"timeRange\": {\n \"type\": \"string\",\n \"value\": {\n \"unit\": \"hour\",\n \"amount\": 0\n }\n }\n}" + }, + "url": { + "raw": "https://{{api-endpoint}}/api/v1/metrics/alert-count-by-resolution-reason", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "api", + "v1", + "metrics", + "alert-count-by-resolution-reason" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/value-widgets-alert-metrics-resolution-reason/](https://pan.dev/prisma-cloud/api/cspm/value-widgets-alert-metrics-resolution-reason/)" + }, + "response": [] + }, + { + "name": "Get Mean Resolution Time", + "request": { + "method": "POST", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"filters\": [\n {\n \"name\": \"policy.severity\",\n \"operator\": \"string\",\n \"value\": \"string\"\n }\n ],\n \"timeRange\": {\n \"type\": \"string\",\n \"value\": {\n \"unit\": \"hour\",\n \"amount\": 0\n }\n }\n}" + }, + "url": { + "raw": "https://{{api-endpoint}}/api/v1/metrics/alert-mean-resolution-time", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "api", + "v1", + "metrics", + "alert-mean-resolution-time" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/value-widgets-alert-metrics/](https://pan.dev/prisma-cloud/api/cspm/value-widgets-alert-metrics/)" + }, + "response": [] + }, + { + "name": "Get Vulnerabilities Trend", + "request": { + "method": "POST", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"timeRange\": {\n \"relativeTimeType\": \"BACKWARD\",\n \"type\": \"relative\",\n \"value\": {\n \"amount\": 0,\n \"unit\": \"minute\"\n }\n }\n}" + }, + "url": { + "raw": "https://{{api-endpoint}}/adoptionadvisor/api/v2/compute/vulnerabilities/trend", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "adoptionadvisor", + "api", + "v2", + "compute", + "vulnerabilities", + "trend" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/value-widgets-get-vulnerabilities-trend/](https://pan.dev/prisma-cloud/api/cspm/value-widgets-get-vulnerabilities-trend/)" + }, + "response": [] + }, + { + "name": "Get Assets with Alerts", + "request": { + "method": "POST", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"filters\": [\n {\n \"name\": \"CLOUD_TYPE\",\n \"operator\": \"string\",\n \"value\": \"string\"\n }\n ],\n \"timeRange\": {\n \"relativeTimeType\": \"BACKWARD\",\n \"type\": \"relative\",\n \"value\": {\n \"amount\": 0,\n \"unit\": \"minute\"\n }\n }\n}" + }, + "url": { + "raw": "https://{{api-endpoint}}/adoptionadvisor/api/v2/cspm/riskyasset/trend", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "adoptionadvisor", + "api", + "v2", + "cspm", + "riskyasset", + "trend" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/value-widgets-get-assets-with-alerts/](https://pan.dev/prisma-cloud/api/cspm/value-widgets-get-assets-with-alerts/)" + }, + "response": [] + }, + { + "name": "Get Discovered and Secured Resources", + "request": { + "method": "POST", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"timeRange\": {\n \"relativeTimeType\": \"BACKWARD\",\n \"type\": \"relative\",\n \"value\": {\n \"amount\": 0,\n \"unit\": \"minute\"\n }\n }\n}" + }, + "url": { + "raw": "https://{{api-endpoint}}/adoptionadvisor/api/v2/compute/discovered-secured/trend", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "adoptionadvisor", + "api", + "v2", + "compute", + "discovered-secured", + "trend" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/value-widgets-get-discovered-vs-secured/](https://pan.dev/prisma-cloud/api/cspm/value-widgets-get-discovered-vs-secured/)" + }, + "response": [] + } + ] + }, + { + "name": "Compliance Posture", + "item": [ + { + "name": "Get Compliance Overview Filters and Options", + "request": { + "method": "GET", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "url": { + "raw": "https://{{api-endpoint}}/filter/compliance/posture/suggest", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "filter", + "compliance", + "posture", + "suggest" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-compliance-posture-filters-and-options/](https://pan.dev/prisma-cloud/api/cspm/get-compliance-posture-filters-and-options/)" + }, + "response": [] + }, + { + "name": "Get Compliance Statistics Breakdown", + "request": { + "method": "GET", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "url": { + "raw": "https://{{api-endpoint}}/v2/compliance/posture", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "v2", + "compliance", + "posture" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-compliance-posture-v-2/](https://pan.dev/prisma-cloud/api/cspm/get-compliance-posture-v-2/)" + }, + "response": [] + }, + { + "name": "Get Compliance Statistics for Standard ID", + "request": { + "method": "GET", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "url": { + "raw": "https://{{api-endpoint}}/v2/compliance/posture/:complianceId", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "v2", + "compliance", + "posture", + ":complianceId" + ], + "variable": [ + { + "key": "complianceId", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-compliance-posture-for-standard-v-2/](https://pan.dev/prisma-cloud/api/cspm/get-compliance-posture-for-standard-v-2/)" + }, + "response": [] + }, + { + "name": "Get Compliance Statistics for Requirement ID", + "request": { + "method": "GET", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "url": { + "raw": "https://{{api-endpoint}}/v2/compliance/posture/:complianceId/:requirementId", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "v2", + "compliance", + "posture", + ":complianceId", + ":requirementId" + ], + "variable": [ + { + "key": "complianceId", + "value": "" + }, + { + "key": "requirementId", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-compliance-posture-for-requirement-v-2/](https://pan.dev/prisma-cloud/api/cspm/get-compliance-posture-for-requirement-v-2/)" + }, + "response": [] + }, + { + "name": "Get Compliance Trend", + "request": { + "method": "GET", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "url": { + "raw": "https://{{api-endpoint}}/v2/compliance/posture/trend", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "v2", + "compliance", + "posture", + "trend" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-compliance-posture-trend-v-2/](https://pan.dev/prisma-cloud/api/cspm/get-compliance-posture-trend-v-2/)" + }, + "response": [] + }, + { + "name": "Get Compliance Trend for Standard ID", + "request": { + "method": "GET", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "url": { + "raw": "https://{{api-endpoint}}/v2/compliance/posture/trend/:complianceId", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "v2", + "compliance", + "posture", + "trend", + ":complianceId" + ], + "variable": [ + { + "key": "complianceId", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-compliance-posture-trend-for-standard-v-2/](https://pan.dev/prisma-cloud/api/cspm/get-compliance-posture-trend-for-standard-v-2/)" + }, + "response": [] + }, + { + "name": "Get Compliance Trend for Requirement ID", + "request": { + "method": "GET", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "url": { + "raw": "https://{{api-endpoint}}/v2/compliance/posture/trend/:complianceId/:requirementId", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "v2", + "compliance", + "posture", + "trend", + ":complianceId", + ":requirementId" + ], + "variable": [ + { + "key": "complianceId", + "value": "" + }, + { + "key": "requirementId", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-compliance-posture-trend-for-requirement-v-2/](https://pan.dev/prisma-cloud/api/cspm/get-compliance-posture-trend-for-requirement-v-2/)" + }, + "response": [] + }, + { + "name": "Get Compliance Overview Filters and Options Copy", + "request": { + "method": "POST", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"filterName\": \"string\",\n \"query\": \"string\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/filter/compliance/posture/suggest", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "filter", + "compliance", + "posture", + "suggest" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-compliance-posture-filter-options/](https://pan.dev/prisma-cloud/api/cspm/get-compliance-posture-filter-options/)" + }, + "response": [] + }, + { + "name": "Get Compliance Statistics Breakdown", + "request": { + "method": "POST", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"detailed\": true,\n \"fields\": [\n \"string\"\n ],\n \"filters\": [\n {\n \"name\": \"string\",\n \"operator\": \"tag:yaml.org,2002:value =\",\n \"value\": \"string\"\n }\n ],\n \"groupBy\": [\n \"string\"\n ],\n \"limit\": 0,\n \"offset\": 0,\n \"pageToken\": \"string\",\n \"sortBy\": [\n \"string\"\n ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/v2/compliance/posture", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "v2", + "compliance", + "posture" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/post-compliance-posture-v-2/](https://pan.dev/prisma-cloud/api/cspm/post-compliance-posture-v-2/)" + }, + "response": [] + }, + { + "name": "Get Compliance Statistics for Standard ID", + "request": { + "method": "POST", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"detailed\": true,\n \"fields\": [\n \"string\"\n ],\n \"filters\": [\n {\n \"name\": \"string\",\n \"operator\": \"tag:yaml.org,2002:value =\",\n \"value\": \"string\"\n }\n ],\n \"groupBy\": [\n \"string\"\n ],\n \"limit\": 0,\n \"offset\": 0,\n \"pageToken\": \"string\",\n \"sortBy\": [\n \"string\"\n ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/v2/compliance/posture/:complianceId", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "v2", + "compliance", + "posture", + ":complianceId" + ], + "variable": [ + { + "key": "complianceId", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/post-compliance-posture-for-standard-v-2/](https://pan.dev/prisma-cloud/api/cspm/post-compliance-posture-for-standard-v-2/)" + }, + "response": [] + }, + { + "name": "Get Compliance Statistics for Requirement ID", + "request": { + "method": "POST", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"detailed\": true,\n \"fields\": [\n \"string\"\n ],\n \"filters\": [\n {\n \"name\": \"string\",\n \"operator\": \"tag:yaml.org,2002:value =\",\n \"value\": \"string\"\n }\n ],\n \"groupBy\": [\n \"string\"\n ],\n \"limit\": 0,\n \"offset\": 0,\n \"pageToken\": \"string\",\n \"sortBy\": [\n \"string\"\n ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/v2/compliance/posture/:complianceId/:requirementId", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "v2", + "compliance", + "posture", + ":complianceId", + ":requirementId" + ], + "variable": [ + { + "key": "complianceId", + "value": "" + }, + { + "key": "requirementId", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/post-compliance-posture-for-requirement-v-2/](https://pan.dev/prisma-cloud/api/cspm/post-compliance-posture-for-requirement-v-2/)" + }, + "response": [] + }, + { + "name": "Get Compliance Trend", + "request": { + "method": "POST", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"detailed\": true,\n \"fields\": [\n \"string\"\n ],\n \"filters\": [\n {\n \"name\": \"string\",\n \"operator\": \"tag:yaml.org,2002:value =\",\n \"value\": \"string\"\n }\n ],\n \"groupBy\": [\n \"string\"\n ],\n \"limit\": 0,\n \"offset\": 0,\n \"pageToken\": \"string\",\n \"sortBy\": [\n \"string\"\n ],\n \"timeRange\": {\n \"relativeTimeType\": \"BACKWARD\",\n \"type\": \"relative\",\n \"value\": {\n \"amount\": 0,\n \"unit\": \"minute\"\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/v2/compliance/posture/trend", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "v2", + "compliance", + "posture", + "trend" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/post-compliance-posture-trend-v-2/](https://pan.dev/prisma-cloud/api/cspm/post-compliance-posture-trend-v-2/)" + }, + "response": [] + }, + { + "name": "Get Compliance Trend for Standard ID", + "request": { + "method": "POST", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"detailed\": true,\n \"fields\": [\n \"string\"\n ],\n \"filters\": [\n {\n \"name\": \"string\",\n \"operator\": \"tag:yaml.org,2002:value =\",\n \"value\": \"string\"\n }\n ],\n \"groupBy\": [\n \"string\"\n ],\n \"limit\": 0,\n \"offset\": 0,\n \"pageToken\": \"string\",\n \"sortBy\": [\n \"string\"\n ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/v2/compliance/posture/trend/:complianceId", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "v2", + "compliance", + "posture", + "trend", + ":complianceId" + ], + "variable": [ + { + "key": "complianceId", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/post-compliance-posture-trend-for-standard-v-2/](https://pan.dev/prisma-cloud/api/cspm/post-compliance-posture-trend-for-standard-v-2/)" + }, + "response": [] + }, + { + "name": "Get Compliance Trend for Requirement ID", + "request": { + "method": "POST", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"detailed\": true,\n \"fields\": [\n \"string\"\n ],\n \"filters\": [\n {\n \"name\": \"string\",\n \"operator\": \"tag:yaml.org,2002:value =\",\n \"value\": \"string\"\n }\n ],\n \"groupBy\": [\n \"string\"\n ],\n \"limit\": 0,\n \"offset\": 0,\n \"pageToken\": \"string\",\n \"sortBy\": [\n \"string\"\n ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/v2/compliance/posture/trend/:complianceId/:requirementId", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "v2", + "compliance", + "posture", + "trend", + ":complianceId", + ":requirementId" + ], + "variable": [ + { + "key": "complianceId", + "value": "" + }, + { + "key": "requirementId", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/post-compliance-posture-trend-for-requirement-v-2/](https://pan.dev/prisma-cloud/api/cspm/post-compliance-posture-trend-for-requirement-v-2/)" + }, + "response": [] + } + ], + "description": "The Compliance Posture API methods provide information related to your compliance posture across various compliance standards. The filters available through the API enable you to view your status across different cloud accounts, regions, and for specific compliance mandates." + }, + { + "name": "Compliance Standards", + "item": [ + { + "name": "List Compliance Standards", + "request": { + "method": "GET", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "url": { + "raw": "https://{{api-endpoint}}/compliance", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "compliance" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-all-standards/](https://pan.dev/prisma-cloud/api/cspm/get-all-standards/)" + }, + "response": [] + }, + { + "name": "Add Compliance Standard", + "request": { + "method": "POST", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"description\": \"string\",\n \"name\": \"string\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/compliance", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "compliance" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/add-standard/](https://pan.dev/prisma-cloud/api/cspm/add-standard/)" + }, + "response": [] + }, + { + "name": "List Compliance Standards by ID", + "request": { + "method": "GET", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "url": { + "raw": "https://{{api-endpoint}}/compliance/:complianceId", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "compliance", + ":complianceId" + ], + "variable": [ + { + "key": "complianceId", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-standards-by-id/](https://pan.dev/prisma-cloud/api/cspm/get-standards-by-id/)" + }, + "response": [] + }, + { + "name": "Update Compliance Standard", + "request": { + "method": "PUT", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "url": { + "raw": "https://{{api-endpoint}}/compliance/:complianceId", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "compliance", + ":complianceId" + ], + "variable": [ + { + "key": "complianceId", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/update-standard/](https://pan.dev/prisma-cloud/api/cspm/update-standard/)" + }, + "response": [] + }, + { + "name": "Update Compliance Standard Copy", + "request": { + "method": "DELETE", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "url": { + "raw": "https://{{api-endpoint}}/compliance/:complianceId", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "compliance", + ":complianceId" + ], + "variable": [ + { + "key": "complianceId", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/delete-standard/](https://pan.dev/prisma-cloud/api/cspm/delete-standard/)" + }, + "response": [] + }, + { + "name": "Clone Compliance Standard", + "request": { + "method": "POST", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "url": { + "raw": "https://{{api-endpoint}}/compliance/clone/:complianceId", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "compliance", + "clone", + ":complianceId" + ], + "variable": [ + { + "key": "complianceId", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/clone-standard/](https://pan.dev/prisma-cloud/api/cspm/clone-standard/)" + }, + "response": [] + }, + { + "name": "List Compliance Requirements", + "request": { + "method": "GET", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "url": { + "raw": "https://{{api-endpoint}}/compliance/:complianceId/requirement", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "compliance", + ":complianceId", + "requirement" + ], + "variable": [ + { + "key": "complianceId", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-requirements/](https://pan.dev/prisma-cloud/api/cspm/get-requirements/)" + }, + "response": [] + }, + { + "name": "Add Compliance Requirement", + "request": { + "method": "POST", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"description\": \"string\",\n \"name\": \"string\",\n \"requirementId\": \"string\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/compliance/:complianceId/requirement", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "compliance", + ":complianceId", + "requirement" + ], + "variable": [ + { + "key": "complianceId", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/add-requirement/](https://pan.dev/prisma-cloud/api/cspm/add-requirement/)" + }, + "response": [] + }, + { + "name": "Get Compliance Requirements by ID", + "request": { + "method": "GET", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "url": { + "raw": "https://{{api-endpoint}}/compliance/requirement/:requirementId", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "compliance", + "requirement", + ":requirementId" + ], + "variable": [ + { + "key": "requirementId", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-requirement-by-id/](https://pan.dev/prisma-cloud/api/cspm/get-requirement-by-id/)" + }, + "response": [] + }, + { + "name": "Update Compliance Requirement", + "request": { + "method": "PUT", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"description\": \"string\",\n \"name\": \"string\",\n \"requirementId\": \"string\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/compliance/requirement/:requirementId", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "compliance", + "requirement", + ":requirementId" + ], + "variable": [ + { + "key": "requirementId", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/update-requirement/](https://pan.dev/prisma-cloud/api/cspm/update-requirement/)" + }, + "response": [] + }, + { + "name": "Delete Compliance Requirement", + "request": { + "method": "DELETE", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/compliance/requirement/:requirementId", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "compliance", + "requirement", + ":requirementId" + ], + "variable": [ + { + "key": "requirementId", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/delete-requirement/](https://pan.dev/prisma-cloud/api/cspm/delete-requirement/)" + }, + "response": [] + }, + { + "name": "List Compliance Requirement Sections", + "request": { + "method": "GET", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "url": { + "raw": "https://{{api-endpoint}}/compliance/:requirementId/section", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "compliance", + ":requirementId", + "section" + ], + "variable": [ + { + "key": "requirementId", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-sections/](https://pan.dev/prisma-cloud/api/cspm/get-sections/)" + }, + "response": [] + }, + { + "name": "Add Compliance Requirement Section", + "request": { + "method": "POST", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"description\": \"string\",\n \"sectionId\": \"string\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/compliance/:requirementId/section", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "compliance", + ":requirementId", + "section" + ], + "variable": [ + { + "key": "requirementId", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/add-section/](https://pan.dev/prisma-cloud/api/cspm/add-section/)" + }, + "response": [] + }, + { + "name": "Update Compliance Requirement Section", + "request": { + "method": "PUT", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"description\": \"string\",\n \"sectionId\": \"string\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/compliance/requirement/section/:sectionId", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "compliance", + "requirement", + "section", + ":sectionId" + ], + "variable": [ + { + "key": "sectionId", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/update-section/](https://pan.dev/prisma-cloud/api/cspm/update-section/)" + }, + "response": [] + }, + { + "name": "Delete Compliance Requirement Section", + "request": { + "method": "DELETE", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"description\": \"string\",\n \"sectionId\": \"string\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/compliance/requirement/section/:sectionId", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "compliance", + "requirement", + "section", + ":sectionId" + ], + "variable": [ + { + "key": "sectionId", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/delete-section/](https://pan.dev/prisma-cloud/api/cspm/delete-section/)" + }, + "response": [] + } + ], + "description": "You can create your own custom compliance standards that are tailored to your own business needs, standards, and organizational policies. When defining a custom compliance standard, you can add requirements and sections. A custom compliance standard that has a minimum of one requirement and one section can be associated with policies that check for adherence to your standards." + }, + { + "name": "Data Security Dashboard", + "item": [ + { + "name": "Get Dashboard Alerts", + "request": { + "method": "POST", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"accountGroupIds\": [\n \"string\"\n ],\n \"accountGroupNames\": [\n \"string\"\n ],\n \"accountIds\": [\n \"string\"\n ],\n \"classifications\": [\n \"string\"\n ],\n \"limit\": 0,\n \"timeRange\": {\n \"relativeTimeType\": \"BACKWARD\",\n \"type\": \"relative\",\n \"value\": {\n \"amount\": 0,\n \"unit\": \"minute\"\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/dlp/api/v1/dashboard/alerts/aggregate", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "dlp", + "api", + "v1", + "dashboard", + "alerts", + "aggregate" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-dashboard-alerts/](https://pan.dev/prisma-cloud/api/cspm/get-dashboard-alerts/)" + }, + "response": [] + }, + { + "name": "Get Dashboard Objects By Classification", + "request": { + "method": "POST", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"accountGroupIds\": [\n \"string\"\n ],\n \"accountGroupNames\": [\n \"string\"\n ],\n \"accountIds\": [\n \"string\"\n ],\n \"classifications\": [\n \"string\"\n ],\n \"limit\": 0,\n \"timeRange\": {\n \"relativeTimeType\": \"BACKWARD\",\n \"type\": \"relative\",\n \"value\": {\n \"amount\": 0,\n \"unit\": \"minute\"\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/dlp/api/v1/dashboard/objects/aggregate/by-classification", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "dlp", + "api", + "v1", + "dashboard", + "objects", + "aggregate", + "by-classification" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-dashboard-object-by-classification/](https://pan.dev/prisma-cloud/api/cspm/get-dashboard-object-by-classification/)" + }, + "response": [] + }, + { + "name": "Get Dashboard Objects By Owner", + "request": { + "method": "POST", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"accountGroupIds\": [\n \"string\"\n ],\n \"accountGroupNames\": [\n \"string\"\n ],\n \"accountIds\": [\n \"string\"\n ],\n \"classifications\": [\n \"string\"\n ],\n \"limit\": 0,\n \"timeRange\": {\n \"relativeTimeType\": \"BACKWARD\",\n \"type\": \"relative\",\n \"value\": {\n \"amount\": 0,\n \"unit\": \"minute\"\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/dlp/api/v1/dashboard/objects/aggregate/by-owner", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "dlp", + "api", + "v1", + "dashboard", + "objects", + "aggregate", + "by-owner" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-dashboard-object-by-owner/](https://pan.dev/prisma-cloud/api/cspm/get-dashboard-object-by-owner/)" + }, + "response": [] + }, + { + "name": "Get Dashboard Objects By Region", + "request": { + "method": "POST", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"accountGroupIds\": [\n \"string\"\n ],\n \"accountGroupNames\": [\n \"string\"\n ],\n \"accountIds\": [\n \"string\"\n ],\n \"classifications\": [\n \"string\"\n ],\n \"limit\": 0,\n \"timeRange\": {\n \"relativeTimeType\": \"BACKWARD\",\n \"type\": \"relative\",\n \"value\": {\n \"amount\": 0,\n \"unit\": \"minute\"\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/dlp/api/v1/dashboard/objects/aggregate/by-region", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "dlp", + "api", + "v1", + "dashboard", + "objects", + "aggregate", + "by-region" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-dashboard-object-by-region/](https://pan.dev/prisma-cloud/api/cspm/get-dashboard-object-by-region/)" + }, + "response": [] + }, + { + "name": "Get Dashboard Sensitive Objects", + "request": { + "method": "POST", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"accountGroupIds\": [\n \"string\"\n ],\n \"accountGroupNames\": [\n \"string\"\n ],\n \"accountIds\": [\n \"string\"\n ],\n \"classifications\": [\n \"string\"\n ],\n \"limit\": 0,\n \"timeRange\": {\n \"relativeTimeType\": \"BACKWARD\",\n \"type\": \"relative\",\n \"value\": {\n \"amount\": 0,\n \"unit\": \"minute\"\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/dlp/api/v1/dashboard/objects/aggregate/sensitive-exposed", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "dlp", + "api", + "v1", + "dashboard", + "objects", + "aggregate", + "sensitive-exposed" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-dashboard-object-sensitive/](https://pan.dev/prisma-cloud/api/cspm/get-dashboard-object-sensitive/)" + }, + "response": [] + }, + { + "name": "Get Dashboard Resource Aggregate By Exposure", + "request": { + "method": "POST", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"accountGroupIds\": [\n \"string\"\n ],\n \"accountGroupNames\": [\n \"string\"\n ],\n \"accountIds\": [\n \"string\"\n ],\n \"classifications\": [\n \"string\"\n ],\n \"limit\": 0,\n \"timeRange\": {\n \"relativeTimeType\": \"BACKWARD\",\n \"type\": \"relative\",\n \"value\": {\n \"amount\": 0,\n \"unit\": \"minute\"\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/dlp/api/v1/dashboard/resources/aggregate/by-exposure", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "dlp", + "api", + "v1", + "dashboard", + "resources", + "aggregate", + "by-exposure" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-dashboard-resource-by-exposure/](https://pan.dev/prisma-cloud/api/cspm/get-dashboard-resource-by-exposure/)" + }, + "response": [] + }, + { + "name": "Get Dashboard Violations", + "request": { + "method": "POST", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"accountGroupIds\": [\n \"string\"\n ],\n \"accountGroupNames\": [\n \"string\"\n ],\n \"accountIds\": [\n \"string\"\n ],\n \"classifications\": [\n \"string\"\n ],\n \"limit\": 0,\n \"timeRange\": {\n \"relativeTimeType\": \"BACKWARD\",\n \"type\": \"relative\",\n \"value\": {\n \"amount\": 0,\n \"unit\": \"minute\"\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/dlp/api/v1/dashboard/violations/aggregate", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "dlp", + "api", + "v1", + "dashboard", + "violations", + "aggregate" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-dashboard-violations/](https://pan.dev/prisma-cloud/api/cspm/get-dashboard-violations/)" + }, + "response": [] + } + ], + "description": "The Data Security capabilities on Prisma Cloud enable you to discover and classify data stored in AWS S3 buckets and protect accidental exposure, misuse, or sharing of sensitive data. The data dashboard provides visibility into your S3 storage.\n\nTo get started with data security, see [Prisma Cloud Data Security](https://docs.prismacloud.io/en/classic/cspm-admin-guide/prisma-cloud-data-security/prisma-cloud-data-security). If you are upgraded to the Darwin release, see [Prisma Cloud Data Security](https://docs.prismacloud.io/en/enterprise-edition/content-collections/administration/configure-data-security/configure-data-security)." + }, + { + "name": "Data Security Inventory", + "item": [ + { + "name": "Get Data Usage", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/dlp/api/v1/inventory/data-scanned", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "dlp", + "api", + "v1", + "inventory", + "data-scanned" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-data-usage/](https://pan.dev/prisma-cloud/api/cspm/get-data-usage/)" + }, + "response": [] + }, + { + "name": "List Inventory Resources", + "request": { + "method": "POST", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"detailed\": true,\n \"fields\": [\n \"string\"\n ],\n \"filters\": [\n {\n \"name\": \"string\",\n \"operator\": \"tag:yaml.org,2002:value =\",\n \"value\": \"string\"\n }\n ],\n \"groupBy\": [\n \"string\"\n ],\n \"limit\": 0,\n \"offset\": 0,\n \"pageToken\": \"string\",\n \"sortBy\": [\n \"string\"\n ],\n \"tableLevel\": 1,\n \"timeRange\": {\n \"relativeTimeType\": \"BACKWARD\",\n \"type\": \"relative\",\n \"value\": {\n \"amount\": 0,\n \"unit\": \"minute\"\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/dlp/api/v1/inventory/objects/aggregate", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "dlp", + "api", + "v1", + "inventory", + "objects", + "aggregate" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-classification-report-v-2/](https://pan.dev/prisma-cloud/api/cspm/get-classification-report-v-2/)" + }, + "response": [] + }, + { + "name": "List Paginated Inventory Objects at Level 4", + "request": { + "method": "POST", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"detailed\": true,\n \"fields\": [\n \"string\"\n ],\n \"filters\": [\n {\n \"name\": \"string\",\n \"operator\": \"tag:yaml.org,2002:value =\",\n \"value\": \"string\"\n }\n ],\n \"groupBy\": [\n \"string\"\n ],\n \"limit\": 0,\n \"offset\": 0,\n \"orderBy\": {\n \"asc\": true,\n \"column\": \"string\"\n },\n \"page\": 0,\n \"pageToken\": \"string\",\n \"searchTerm\": \"string\",\n \"sortBy\": [\n \"string\"\n ],\n \"timeRange\": {\n \"relativeTimeType\": \"BACKWARD\",\n \"type\": \"relative\",\n \"value\": {\n \"amount\": 0,\n \"unit\": \"minute\"\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/dlp/api/v1/inventory/objects/aggregate/l4", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "dlp", + "api", + "v1", + "inventory", + "objects", + "aggregate", + "l4" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-inventory-objects-l-4/](https://pan.dev/prisma-cloud/api/cspm/get-inventory-objects-l-4/)" + }, + "response": [] + }, + { + "name": "Get Inventory Object Details", + "request": { + "method": "POST", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"objectId\": \"string\",\n \"tenantId\": \"string\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/dlp/api/v1/inventory/object/details", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "dlp", + "api", + "v1", + "inventory", + "object", + "details" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-inventory-object-details/](https://pan.dev/prisma-cloud/api/cspm/get-inventory-object-details/)" + }, + "response": [] + }, + { + "name": "Get Object Counts by Classification", + "request": { + "method": "POST", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"detailed\": true,\n \"fields\": [\n \"string\"\n ],\n \"filters\": [\n {\n \"name\": \"string\",\n \"operator\": \"tag:yaml.org,2002:value =\",\n \"value\": \"string\"\n }\n ],\n \"groupBy\": [\n \"string\"\n ],\n \"limit\": 0,\n \"offset\": 0,\n \"pageToken\": \"string\",\n \"sortBy\": [\n \"string\"\n ],\n \"tableLevel\": 1,\n \"timeRange\": {\n \"relativeTimeType\": \"BACKWARD\",\n \"type\": \"relative\",\n \"value\": {\n \"amount\": 0,\n \"unit\": \"minute\"\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/dlp/api/v1/inventory/objects/aggregate/by-classification", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "dlp", + "api", + "v1", + "inventory", + "objects", + "aggregate", + "by-classification" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-inventory-objects-by-classification/](https://pan.dev/prisma-cloud/api/cspm/get-inventory-objects-by-classification/)" + }, + "response": [] + }, + { + "name": "Get Aggregate Alert Data by Classification", + "request": { + "method": "POST", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"detailed\": true,\n \"fields\": [\n \"string\"\n ],\n \"filters\": [\n {\n \"name\": \"string\",\n \"operator\": \"tag:yaml.org,2002:value =\",\n \"value\": \"string\"\n }\n ],\n \"groupBy\": [\n \"string\"\n ],\n \"limit\": 0,\n \"offset\": 0,\n \"pageToken\": \"string\",\n \"sortBy\": [\n \"string\"\n ],\n \"tableLevel\": 1,\n \"timeRange\": {\n \"relativeTimeType\": \"BACKWARD\",\n \"type\": \"relative\",\n \"value\": {\n \"amount\": 0,\n \"unit\": \"minute\"\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/dlp/api/v1/inventory/objects/aggregate/alerts/by-classification", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "dlp", + "api", + "v1", + "inventory", + "objects", + "aggregate", + "alerts", + "by-classification" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-inventory-aggregate-alerts-by-classification/](https://pan.dev/prisma-cloud/api/cspm/get-inventory-aggregate-alerts-by-classification/)" + }, + "response": [] + }, + { + "name": "Get Aggregate Data by History", + "request": { + "method": "POST", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"detailed\": true,\n \"fields\": [\n \"string\"\n ],\n \"filters\": [\n {\n \"name\": \"string\",\n \"operator\": \"tag:yaml.org,2002:value =\",\n \"value\": \"string\"\n }\n ],\n \"groupBy\": [\n \"string\"\n ],\n \"limit\": 0,\n \"offset\": 0,\n \"pageToken\": \"string\",\n \"sortBy\": [\n \"string\"\n ],\n \"tableLevel\": 1,\n \"timeRange\": {\n \"relativeTimeType\": \"BACKWARD\",\n \"type\": \"relative\",\n \"value\": {\n \"amount\": 0,\n \"unit\": \"minute\"\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/dlp/api/v1/inventory/objects/aggregate/history", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "dlp", + "api", + "v1", + "inventory", + "objects", + "aggregate", + "history" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-inventory-aggregate-history/](https://pan.dev/prisma-cloud/api/cspm/get-inventory-aggregate-history/)" + }, + "response": [] + }, + { + "name": "Get Malware Report", + "request": { + "method": "POST", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"objectId\": \"string\",\n \"tenantId\": \"string\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/dlp/api/v1/inventory/object/malware/report/hash/:fileHash", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "dlp", + "api", + "v1", + "inventory", + "object", + "malware", + "report", + "hash", + ":fileHash" + ], + "variable": [ + { + "key": "fileHash", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-malware-report/](https://pan.dev/prisma-cloud/api/cspm/get-malware-report/)" + }, + "response": [] + }, + { + "name": "Get Inventory Resource Details", + "request": { + "method": "POST", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"objectId\": \"string\",\n \"tenantId\": \"string\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/dlp/api/v1/inventory/resource/details", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "dlp", + "api", + "v1", + "inventory", + "resource", + "details" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-inventory-resource-details/](https://pan.dev/prisma-cloud/api/cspm/get-inventory-resource-details/)" + }, + "response": [] + }, + { + "name": "Get Inventory Resource Objects", + "request": { + "method": "POST", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"objectId\": \"string\",\n \"tenantId\": \"string\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/dlp/api/v1/inventory/resource/objects", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "dlp", + "api", + "v1", + "inventory", + "resource", + "objects" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-inventory-resource-objects/](https://pan.dev/prisma-cloud/api/cspm/get-inventory-resource-objects/)" + }, + "response": [] + }, + { + "name": "Generate Snippet", + "request": { + "method": "POST", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"objectId\": \"string\",\n \"tenantId\": \"string\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/dlp/api/v1/inventory/snippet", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "dlp", + "api", + "v1", + "inventory", + "snippet" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/add-snippets/](https://pan.dev/prisma-cloud/api/cspm/add-snippets/)" + }, + "response": [] + }, + { + "name": "Get Snippet", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/dlp/api/v1/inventory/snippet/objects/:objectId/datapattern/:dataPatternId", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "dlp", + "api", + "v1", + "inventory", + "snippet", + "objects", + ":objectId", + "datapattern", + ":dataPatternId" + ], + "variable": [ + { + "key": "objectId", + "value": "" + }, + { + "key": "dataPatternId", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-snippets/](https://pan.dev/prisma-cloud/api/cspm/get-snippets/)" + }, + "response": [] + } + ], + "description": "The Data Security capabilities on Prisma Cloud enable you to discover and classify data stored in AWS S3 buckets and protect accidental exposure, misuse, or sharing of sensitive data. The data inventory provides information about the number of S3 storage buckets being monitored and about how objects are exposed—public, sensitive, or malware.\n\nTo get started with data security, see [Prisma Cloud Data Security](https://docs.prismacloud.io/en/classic/cspm-admin-guide/prisma-cloud-data-security/prisma-cloud-data-security). If you are upgraded to the Darwin release, see [Prisma Cloud Data Security](https://docs.prismacloud.io/en/enterprise-edition/content-collections/administration/configure-data-security/configure-data-security)." + }, + { + "name": "Data Security Onboarding", + "item": [ + { + "name": "Fetch Account Config By Storage UUID", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/config/v3/account/storageUUID/:id", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "config", + "v3", + "account", + "storageUUID", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-account-config-by-storage-uuid/](https://pan.dev/prisma-cloud/api/cspm/get-account-config-by-storage-uuid/)" + }, + "response": [] + }, + { + "name": "Fetch Account Config By PCDS Account ID", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/config/v3/account/:id", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "config", + "v3", + "account", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-account-config-by-pcds-account-id/](https://pan.dev/prisma-cloud/api/cspm/get-account-config-by-pcds-account-id/)" + }, + "response": [] + }, + { + "name": "Update the account config for the specified PCDS Account ID", + "request": { + "method": "PUT", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"redlockAccountId\": 0,\n \"accountId\": \"string\",\n \"storageUUID\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n \"cloudType\": \"aws\",\n \"accountType\": \"regular\",\n \"redlockTenantId\": 0,\n \"storageScanStatus\": \"initialized\",\n \"dssTenantId\": \"string\",\n \"accountName\": \"string\",\n \"scanOption\": \"none\",\n \"cloudConfig\": {}\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/config/v3/account/:id", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "config", + "v3", + "account", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/update-pcds-account-config/](https://pan.dev/prisma-cloud/api/cspm/update-pcds-account-config/)" + }, + "response": [] + }, + { + "name": "Performs a Permissions Check for the Given PCDS Account", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/config/v3/account/:id/status", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "config", + "v3", + "account", + ":id", + "status" + ], + "variable": [ + { + "key": "id", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-status-pcds-account/](https://pan.dev/prisma-cloud/api/cspm/get-status-pcds-account/)" + }, + "response": [] + }, + { + "name": "Generate an Azure Terraform Script", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/config/v3/account/:subscriptionId/acl-script", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "config", + "v3", + "account", + ":subscriptionId", + "acl-script" + ], + "variable": [ + { + "key": "subscriptionId", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/generate-network-acl-script-by-account-id/](https://pan.dev/prisma-cloud/api/cspm/generate-network-acl-script-by-account-id/)" + }, + "response": [] + }, + { + "name": "Generate an Azure Terraform Script", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/config/v3/tenant/:tenantId/:subscriptionId/terraform-script", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "config", + "v3", + "tenant", + ":tenantId", + ":subscriptionId", + "terraform-script" + ], + "variable": [ + { + "key": "tenantId", + "value": "" + }, + { + "key": "subscriptionId", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-azure-terraform-script/](https://pan.dev/prisma-cloud/api/cspm/get-azure-terraform-script/)" + }, + "response": [] + } + ] + }, + { + "name": "Data Security Settings", + "item": [ + { + "name": "Clone Data Pattern", + "request": { + "method": "POST", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/config/v3/dss-api/data-pattern/clone/dssTenantId/:dssTenantId", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "config", + "v3", + "dss-api", + "data-pattern", + "clone", + "dssTenantId", + ":dssTenantId" + ], + "variable": [ + { + "key": "dssTenantId", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/clone-dss-data-pattern/](https://pan.dev/prisma-cloud/api/cspm/clone-dss-data-pattern/)" + }, + "response": [] + }, + { + "name": "List Data Patterns", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/config/v3/dss-api/data-pattern/dssTenantId/:dssTenantId", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "config", + "v3", + "dss-api", + "data-pattern", + "dssTenantId", + ":dssTenantId" + ], + "variable": [ + { + "key": "dssTenantId", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-all-dss-data-patterns/](https://pan.dev/prisma-cloud/api/cspm/get-all-dss-data-patterns/)" + }, + "response": [] + }, + { + "name": "Add Data Pattern", + "request": { + "method": "POST", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "[]", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/config/v3/dss-api/data-pattern/dssTenantId/:dssTenantId", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "config", + "v3", + "dss-api", + "data-pattern", + "dssTenantId", + ":dssTenantId" + ], + "variable": [ + { + "key": "dssTenantId", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/add-dss-data-pattern/](https://pan.dev/prisma-cloud/api/cspm/add-dss-data-pattern/)" + }, + "response": [] + }, + { + "name": "Update Data Pattern", + "request": { + "method": "PUT", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "[]", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/config/v3/dss-api/data-pattern/dssTenantId/:dssTenantId", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "config", + "v3", + "dss-api", + "data-pattern", + "dssTenantId", + ":dssTenantId" + ], + "variable": [ + { + "key": "dssTenantId", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/update-dss-data-pattern/](https://pan.dev/prisma-cloud/api/cspm/update-dss-data-pattern/)" + }, + "response": [] + }, + { + "name": "Delete Data Pattern", + "request": { + "method": "DELETE", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/config/v3/dss-api/data-pattern/dssTenantId/:dssTenantId", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "config", + "v3", + "dss-api", + "data-pattern", + "dssTenantId", + ":dssTenantId" + ], + "variable": [ + { + "key": "dssTenantId", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/delete-dss-data-pattern/](https://pan.dev/prisma-cloud/api/cspm/delete-dss-data-pattern/)" + }, + "response": [] + }, + { + "name": "Get Data Pattern By Name", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/config/v3/dss-api/data-pattern/name/dssTenantId/:dssTenantId", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "config", + "v3", + "dss-api", + "data-pattern", + "name", + "dssTenantId", + ":dssTenantId" + ], + "variable": [ + { + "key": "dssTenantId", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-dss-data-pattern-name/](https://pan.dev/prisma-cloud/api/cspm/get-dss-data-pattern-name/)" + }, + "response": [] + }, + { + "name": "List Data Profiles", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/config/v3/dss-api/data-profile/dssTenantId/:dssTenantId", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "config", + "v3", + "dss-api", + "data-profile", + "dssTenantId", + ":dssTenantId" + ], + "variable": [ + { + "key": "dssTenantId", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-dss-data-profiles/](https://pan.dev/prisma-cloud/api/cspm/get-dss-data-profiles/)" + }, + "response": [] + }, + { + "name": "Update Data Profile Status", + "request": { + "method": "PUT", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "[\n {\n \"id\": \"string\",\n \"profile_status\": \"string\",\n \"updated_by\": \"string\"\n }\n]", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/config/v3/dss-api/data-profile/dssTenantId/:dssTenantId", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "config", + "v3", + "dss-api", + "data-profile", + "dssTenantId", + ":dssTenantId" + ], + "variable": [ + { + "key": "dssTenantId", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/enable-disable-dss-data-profiles/](https://pan.dev/prisma-cloud/api/cspm/enable-disable-dss-data-profiles/)" + }, + "response": [] + }, + { + "name": "Add Data Profile", + "request": { + "method": "POST", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"id\": \"string\",\n \"name\": \"string\",\n \"type\": \"string\",\n \"description\": \"string\",\n \"profile_type\": \"string\",\n \"status\": \"string\",\n \"profile_status\": \"string\",\n \"data_patterns_rule_1\": {\n \"operator_type\": \"string\",\n \"data_pattern_rules\": [\n {\n \"name\": \"string\",\n \"detection_technique\": \"string\",\n \"match_type\": \"string\",\n \"occurrence_operator_type\": \"string\",\n \"occurrence_count\": 0,\n \"occurrence_low\": 0,\n \"occurrence_high\": 0,\n \"confidence_level\": \"string\",\n \"supported_confidence_levels\": [\n \"string\"\n ]\n }\n ]\n },\n \"created_by\": \"string\",\n \"updated_by\": \"string\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/config/v3/dss-api/data-profile/dssTenantId/:dssTenantId", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "config", + "v3", + "dss-api", + "data-profile", + "dssTenantId", + ":dssTenantId" + ], + "variable": [ + { + "key": "dssTenantId", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/add-dss-data-profile/](https://pan.dev/prisma-cloud/api/cspm/add-dss-data-profile/)" + }, + "response": [] + }, + { + "name": "Get Data Profile Details", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/config/v3/dss-api/data-profile/dssTenantId/:dssTenantId/id/:profileId", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "config", + "v3", + "dss-api", + "data-profile", + "dssTenantId", + ":dssTenantId", + "id", + ":profileId" + ], + "variable": [ + { + "key": "dssTenantId", + "value": "" + }, + { + "key": "profileId", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-dss-data-profile-details/](https://pan.dev/prisma-cloud/api/cspm/get-dss-data-profile-details/)" + }, + "response": [] + }, + { + "name": "Update Data Profile", + "request": { + "method": "PUT", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"id\": \"string\",\n \"name\": \"string\",\n \"type\": \"string\",\n \"description\": \"string\",\n \"profile_type\": \"string\",\n \"status\": \"string\",\n \"profile_status\": \"string\",\n \"data_patterns_rule_1\": {\n \"operator_type\": \"string\",\n \"data_pattern_rules\": [\n {\n \"name\": \"string\",\n \"detection_technique\": \"string\",\n \"match_type\": \"string\",\n \"occurrence_operator_type\": \"string\",\n \"occurrence_count\": 0,\n \"occurrence_low\": 0,\n \"occurrence_high\": 0,\n \"confidence_level\": \"string\",\n \"supported_confidence_levels\": [\n \"string\"\n ]\n }\n ]\n },\n \"created_by\": \"string\",\n \"updated_by\": \"string\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/config/v3/dss-api/data-profile/dssTenantId/:dssTenantId/id/:profileId", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "config", + "v3", + "dss-api", + "data-profile", + "dssTenantId", + ":dssTenantId", + "id", + ":profileId" + ], + "variable": [ + { + "key": "dssTenantId", + "value": "" + }, + { + "key": "profileId", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/update-dss-data-profile/](https://pan.dev/prisma-cloud/api/cspm/update-dss-data-profile/)" + }, + "response": [] + }, + { + "name": "Clone Data Profile", + "request": { + "method": "POST", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/config/v3/dss-api/data-profile/dssTenantId/:dssTenantId/id/:profileId", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "config", + "v3", + "dss-api", + "data-profile", + "dssTenantId", + ":dssTenantId", + "id", + ":profileId" + ], + "variable": [ + { + "key": "dssTenantId", + "value": "" + }, + { + "key": "profileId", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/clone-dss-data-profile/](https://pan.dev/prisma-cloud/api/cspm/clone-dss-data-profile/)" + }, + "response": [] + }, + { + "name": "Delete Data Profile", + "request": { + "method": "DELETE", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/config/v3/dss-api/data-profile/dssTenantId/:dssTenantId/id/:profileId", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "config", + "v3", + "dss-api", + "data-profile", + "dssTenantId", + ":dssTenantId", + "id", + ":profileId" + ], + "variable": [ + { + "key": "dssTenantId", + "value": "" + }, + { + "key": "profileId", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/delete-dss-data-profile/](https://pan.dev/prisma-cloud/api/cspm/delete-dss-data-profile/)" + }, + "response": [] + }, + { + "name": "Get Snippet Configuration", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/config/v3/dss-api/snippets/dssTenantId/:dssTenantId", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "config", + "v3", + "dss-api", + "snippets", + "dssTenantId", + ":dssTenantId" + ], + "variable": [ + { + "key": "dssTenantId", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-dss-snippets-config/](https://pan.dev/prisma-cloud/api/cspm/get-dss-snippets-config/)" + }, + "response": [] + }, + { + "name": "Update Snippet Configuration", + "request": { + "method": "POST", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"snippetsEnabled\": true,\n \"maskLevel\": \"string\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/config/v3/dss-api/snippets/dssTenantId/:dssTenantId", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "config", + "v3", + "dss-api", + "snippets", + "dssTenantId", + ":dssTenantId" + ], + "variable": [ + { + "key": "dssTenantId", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/update-dss-snippets-config/](https://pan.dev/prisma-cloud/api/cspm/update-dss-snippets-config/)" + }, + "response": [] + }, + { + "name": "Perform a Credit Estimation For The Specified Resources", + "request": { + "method": "POST", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"scanOption\": \"exposure_only\",\n \"scanType\": \"not_selected\",\n \"resources\": [\n {\n \"resourceName\": \"string\",\n \"resourceGroup\": \"string\",\n \"accountId\": \"string\",\n \"cloudType\": \"aws\"\n }\n ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/config/v3/estimated-credits", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "config", + "v3", + "estimated-credits" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-credit-estimation/](https://pan.dev/prisma-cloud/api/cspm/get-credit-estimation/)" + }, + "response": [] + }, + { + "name": "Update the Resources Scan Config", + "request": { + "method": "PUT", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"enableScanning\": true,\n \"scanType\": \"not_selected\",\n \"scanOption\": \"exposure_only\",\n \"resources\": [\n {\n \"resourceName\": \"string\",\n \"resourceGroup\": \"string\",\n \"accountId\": \"string\",\n \"cloudType\": \"aws\"\n }\n ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/config/v3/resource/configure", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "config", + "v3", + "resource", + "configure" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/configure-resources/](https://pan.dev/prisma-cloud/api/cspm/configure-resources/)" + }, + "response": [] + }, + { + "name": "Fetch All Resources For The Given PCDS Tenant", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/config/v3/resources", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "config", + "v3", + "resources" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-resources/](https://pan.dev/prisma-cloud/api/cspm/get-resources/)" + }, + "response": [] + }, + { + "name": "Generate an Azure Terraform Script for all Azure accounts under the specified PCDS Tenant", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/config/v3/tenant/acl-script", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "config", + "v3", + "tenant", + "acl-script" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/generate-network-acl-script-by-tenant-id/](https://pan.dev/prisma-cloud/api/cspm/generate-network-acl-script-by-tenant-id/)" + }, + "response": [] + }, + { + "name": "Fetch The Tenant Config For The Given PCDS Tenant", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/config/v3/tenant/config", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "config", + "v3", + "tenant", + "config" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-tenant-config/](https://pan.dev/prisma-cloud/api/cspm/get-tenant-config/)" + }, + "response": [] + }, + { + "name": "Update the PCDS Tenant Resource Report Frequency", + "request": { + "method": "PUT", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"sizeReportingFrequency\": \"None\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/config/v3/tenant/resource/sizing/configure", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "config", + "v3", + "tenant", + "resource", + "sizing", + "configure" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/update-report-frequency/](https://pan.dev/prisma-cloud/api/cspm/update-report-frequency/)" + }, + "response": [] + }, + { + "name": "List Data Resources", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/dlp/api/v1/resource-inventory/resources", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "dlp", + "api", + "v1", + "resource-inventory", + "resources" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-resource-inventory/](https://pan.dev/prisma-cloud/api/cspm/get-resource-inventory/)" + }, + "response": [] + } + ], + "description": "Prisma Cloud Data Security enables you to discover and classify data stored in AWS S3 buckets and protect accidental exposure, misuse, or sharing of sensitive data. You can use the data security settings APIs to manage data profiles, data patterns, and snippets.\n\n### Error Handling[​](https://pan.dev/prisma-cloud/api/cspm/data-security-settings/#error-handling)\n\nAs with other Prisma Cloud public API requests, Data Security Settings API requests return standard HTTP response codes. When more details are available, the error response includes the following:\n\n| Property | Type | Description |\n| --- | --- | --- |\n| message | string | Error message |\n| name | string | Exception name |\n| detail | string | Exception details |\n\nTo get started with data security, see [Prisma Cloud Data Security](https://docs.prismacloud.io/en/classic/cspm-admin-guide/prisma-cloud-data-security/prisma-cloud-data-security). If you are upgraded to the Darwin release, see [Prisma Cloud Data Security](https://docs.prismacloud.io/en/enterprise-edition/content-collections/administration/configure-data-security/configure-data-security)." + }, + { + "name": "IAM IDP", + "item": [ + { + "name": "Test IDP Integration", + "request": { + "method": "POST", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"id\": \"test_id\",\n \"integrationConfig\": {\n \"apiToken\": \"11111111111111\",\n \"domain\": \"my-domain.okta.com\"\n },\n \"integrationType\": \"OKTA_IDP\",\n \"name\": \"Integration_name\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/api/v1/idp/integration/test", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "api", + "v1", + "idp", + "integration", + "test" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/test-integration-with-post/](https://pan.dev/prisma-cloud/api/cspm/test-integration-with-post/)" + }, + "response": [] + } + ], + "description": "Prisma Cloud identity and access management (IAM) security integrates with the identity provider (IdP) service Okta to ingest single sign-on (SSO) data for the effective permissions calculation in the IAM Security module.\n\nFor more information, see [Integrate Prisma Cloud with Okta](https://docs.prismacloud.io/en/classic/cspm-admin-guide/prisma-cloud-iam-security/integrate-prisma-cloud-with-okta). If you are upgraded to the Darwin release, see [Integrate Prisma Cloud with Okta](https://docs.prismacloud.io/en/enterprise-edition/content-collections/administration/configure-iam-security/integrate-prisma-cloud-with-okta) ." + }, + { + "name": "IAM", + "item": [ + { + "name": "Get Permissions", + "request": { + "method": "POST", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"id\": \"123456\",\n \"limit\": 5,\n \"query\": \"config from iam where ...\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/api/v1/permission", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "api", + "v1", + "permission" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-permissions-with-post/](https://pan.dev/prisma-cloud/api/cspm/get-permissions-with-post/)" + }, + "response": [] + }, + { + "name": "Get Permission Accesses", + "request": { + "method": "POST", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"limit\": 5,\n \"permissionId\": \"111111\",\n \"query\": \"config from iam where ...\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/api/v1/permission/access", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "api", + "v1", + "permission", + "access" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-permissions-access-with-post/](https://pan.dev/prisma-cloud/api/cspm/get-permissions-access-with-post/)" + }, + "response": [] + }, + { + "name": "Get Remediation", + "request": { + "method": "POST", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"alerts\": [\n \"I-1234\",\n \"I-1235\"\n ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/api/v1/permission/alert/remediation", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "api", + "v1", + "permission", + "alert", + "remediation" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-remediation-with-post/](https://pan.dev/prisma-cloud/api/cspm/get-remediation-with-post/)" + }, + "response": [] + }, + { + "name": "Get IAM Query", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/api/v1/permission/alert/search?alertId", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "api", + "v1", + "permission", + "alert", + "search" + ], + "query": [ + { + "key": "alertId", + "value": null + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-rql-with-get/](https://pan.dev/prisma-cloud/api/cspm/get-rql-with-get/)" + }, + "response": [] + }, + { + "name": "Get Query Suggestions", + "request": { + "method": "POST", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"query\": \"config from iam where dest.cloud.type='AWS'\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/api/v1/suggest", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "api", + "v1", + "suggest" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-suggestions-with-post/](https://pan.dev/prisma-cloud/api/cspm/get-suggestions-with-post/)" + }, + "response": [] + }, + { + "name": "Get Permissions", + "request": { + "method": "POST", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"query\": \"config from iam where dest.cloud.type='AWS'\",\n \"searchId\": \"ff4fcb80-03f6-41dd-8bd8-6179fd46b3a4\",\n \"nextPageToken\": \"++fdfkjsdlfsdfdFDSFDFSDFdfdssfdFDS\",\n \"groupByFields\": [\n \"source\",\n \"sourceCloudAccount\",\n \"grantedByEntity\",\n \"entityCloudAccount\",\n \"grantedByPolicy\",\n \"policyCloudAccount\",\n \"grantedByLevel\",\n \"action\",\n \"destination\",\n \"destCloudAccount\",\n \"lastAccess\"\n ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/iam/api/v4/search/permission?limit", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "iam", + "api", + "v4", + "search", + "permission" + ], + "query": [ + { + "key": "limit", + "value": null + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/permission-search-v-4/](https://pan.dev/prisma-cloud/api/cspm/permission-search-v-4/)" + }, + "response": [] + }, + { + "name": "Get Permission Accesses", + "request": { + "method": "POST", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"query\": \"config from iam where source.cloud.type = 'AWS'\",\n \"nextPageToken\": \"++fdfkjsdlfsdfdFDSFDFSDFdfdssfdFDS\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/iam/api/v3/permission/:permission-id/list_access", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "iam", + "api", + "v3", + "permission", + ":permission-id", + "list_access" + ], + "variable": [ + { + "key": "permission-id", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/permissions-accesses-v-3/](https://pan.dev/prisma-cloud/api/cspm/permissions-accesses-v-3/)" + }, + "response": [] + }, + { + "name": "Get Query Suggestions", + "request": { + "method": "POST", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"query\": \"config from iam where dest.cloud.type = 'AWS'\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/iam/api/v2/suggestion", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "iam", + "api", + "v2", + "suggestion" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/iam-suggest-v-2/](https://pan.dev/prisma-cloud/api/cspm/iam-suggest-v-2/)" + }, + "response": [] + }, + { + "name": "Get Permissions Role or Policy Definition", + "request": { + "method": "POST", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"permissionId\": \"06c3cb4403ac276ff59679139b8e6afca2afe93100c8b39014f033ca0339ff0f\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/iam/api/v2/search/iam_config", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "iam", + "api", + "v2", + "search", + "iam_config" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/permission-raw-config-definition/](https://pan.dev/prisma-cloud/api/cspm/permission-raw-config-definition/)" + }, + "response": [] + }, + { + "name": "Get Cloud Identity Inventory (CII) Resource Related Assets", + "request": { + "method": "POST", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"relationshipType\": \"aws_policy_role\",\n \"lastAccessFromTime\": 1678785157,\n \"lastAccessToTime\": 1678785157,\n \"nextPageToken\": \"++fdfkjsdlfsdfdFDSFDFSDFdfdssfdFDS\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/iam/api/v1/asset/:asset-id/related-asset", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "iam", + "api", + "v1", + "asset", + ":asset-id", + "related-asset" + ], + "variable": [ + { + "key": "asset-id", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/cii-related-assets-v-1/](https://pan.dev/prisma-cloud/api/cspm/cii-related-assets-v-1/)" + }, + "response": [] + }, + { + "name": "Get Remediation Command", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/iam/api/v2/alert/:alertId/remediation_command", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "iam", + "api", + "v2", + "alert", + ":alertId", + "remediation_command" + ], + "variable": [ + { + "key": "alertId", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/alert-remediation-command/](https://pan.dev/prisma-cloud/api/cspm/alert-remediation-command/)" + }, + "response": [] + }, + { + "name": "Get IAM Query", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/iam/api/v2/alert/:alertId/query", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "iam", + "api", + "v2", + "alert", + ":alertId", + "query" + ], + "variable": [ + { + "key": "alertId", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/investigate-alert/](https://pan.dev/prisma-cloud/api/cspm/investigate-alert/)" + }, + "response": [] + }, + { + "name": "Get Least Privilege Access Metadata of an Asset", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/iam/api/v1/assets/:assetId/over-permissive-metadata", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "iam", + "api", + "v1", + "assets", + ":assetId", + "over-permissive-metadata" + ], + "variable": [ + { + "key": "assetId", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/least-privilege-access-metadata-v-1/](https://pan.dev/prisma-cloud/api/cspm/least-privilege-access-metadata-v-1/)" + }, + "response": [] + }, + { + "name": "Get Existing Least Privilege Access Suggestions for an Asset", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/iam/api/v1/assets/:assetId/existing-least-privileged-access", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "iam", + "api", + "v1", + "assets", + ":assetId", + "existing-least-privileged-access" + ], + "variable": [ + { + "key": "assetId", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/existing-least-privilege-access-v-1/](https://pan.dev/prisma-cloud/api/cspm/existing-least-privilege-access-v-1/)" + }, + "response": [] + }, + { + "name": "Get New Least Privilege Access Suggestions for an Asset", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/iam/api/v1/assets/:assetId/custom-least-privileged-access", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "iam", + "api", + "v1", + "assets", + ":assetId", + "custom-least-privileged-access" + ], + "variable": [ + { + "key": "assetId", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/custom-least-privilege-access-v-1/](https://pan.dev/prisma-cloud/api/cspm/custom-least-privilege-access-v-1/)" + }, + "response": [] + }, + { + "name": "Get Least Privilege Access Metadata of a Resource", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/iam/api/v1/resources/:resourceId/over-permissive-metadata", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "iam", + "api", + "v1", + "resources", + ":resourceId", + "over-permissive-metadata" + ], + "variable": [ + { + "key": "resourceId", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/least-privilege-access-metadata-by-resource-v-1/](https://pan.dev/prisma-cloud/api/cspm/least-privilege-access-metadata-by-resource-v-1/)" + }, + "response": [] + }, + { + "name": "Get Least Privilege Access Suggestions for a Resource", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/iam/api/v1/resources/:resourceId/existing-least-privileged-access", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "iam", + "api", + "v1", + "resources", + ":resourceId", + "existing-least-privileged-access" + ], + "variable": [ + { + "key": "resourceId", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/existing-least-privilege-access-by-resource-v-1/](https://pan.dev/prisma-cloud/api/cspm/existing-least-privilege-access-by-resource-v-1/)" + }, + "response": [] + }, + { + "name": "Get New Least Privilege Access Suggestions for a Resource", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/iam/api/v1/resources/:resourceId/custom-least-privileged-access", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "iam", + "api", + "v1", + "resources", + ":resourceId", + "custom-least-privileged-access" + ], + "variable": [ + { + "key": "resourceId", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/custom-least-privilege-access-by-resource-v-1/](https://pan.dev/prisma-cloud/api/cspm/custom-least-privilege-access-by-resource-v-1/)" + }, + "response": [] + } + ], + "description": "Prisma Cloud identity and access management (IAM) security provides:\n\n- Visiblity—Query all relevant IAM entities\n \n- Gonvernance—Monitor your cloud environment for overly-used permissions\n \n- Response—Automatically remediate permissions\n \n\nThe IAM security endpoints enable you to investigate IAM data programmatically.\n\nFor more information, see [Primsa Cloud IAM Security](https://docs.prismacloud.io/en/classic/cspm-admin-guide/prisma-cloud-iam-security/what-is-prisma-cloud-iam-security) . If you are upgraded to the Darwin release, see \\[Primsa Cloud IAM Security\\][https://docs.prismacloud.io/en/enterprise-edition/content-collections/administration/configure-iam-security/what-is-prisma-cloud-iam-security](https://docs.prismacloud.io/en/enterprise-edition/content-collections/administration/configure-iam-security/what-is-prisma-cloud-iam-security)\n\n### Error Handling[​](https://pan.dev/prisma-cloud/api/cspm/iam/#error-handling)\n\nLike other Prisma Cloud public API requests, the IAM security API requests return standard HTTP response codes. Unlike most other CSPM API error handling, IAM security API error responses do not include an [x-redlock-status](https://prisma-cloud/api/cspm/api-errors) in the response header.\n\n### Pagination[​](https://pan.dev/prisma-cloud/api/cspm/iam/#pagination)\n\nYou can control the number of items in a response for endpoints that support pagination. Use request parameter **limit** to control the maximum number of items in a response. If the response includes **data.nextPageToken**, use **data.nextPageToken** as the request parameter **pageToken** in a request for the next page of data.\n\nThe following table summarizes the request parameters for pagination:\n\n| Request Parameter | Description |\n| --- | --- |\n| **limit** | Maximum number of items to return in a page. |\n| **pageToken** | Use the **data.nextPageToken** value from the previous response object to return the next page of data. |" + }, + { + "name": "IP Allow List", + "item": [ + { + "name": "List Networks", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/allow_list/network", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "allow_list", + "network" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-networks-list/](https://pan.dev/prisma-cloud/api/cspm/get-networks-list/)" + }, + "response": [] + }, + { + "name": "Add Network", + "request": { + "method": "POST", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"string\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/allow_list/network", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "allow_list", + "network" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/add-a-network/](https://pan.dev/prisma-cloud/api/cspm/add-a-network/)" + }, + "response": [] + }, + { + "name": "Network Info", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/allow_list/network/:networkUuid", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "allow_list", + "network", + ":networkUuid" + ], + "variable": [ + { + "key": "networkUuid", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-network-info/](https://pan.dev/prisma-cloud/api/cspm/get-network-info/)" + }, + "response": [] + }, + { + "name": "Rename Network", + "request": { + "method": "PUT", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"string\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/allow_list/network/:networkUuid", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "allow_list", + "network", + ":networkUuid" + ], + "variable": [ + { + "key": "networkUuid", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/rename-a-network/](https://pan.dev/prisma-cloud/api/cspm/rename-a-network/)" + }, + "response": [] + }, + { + "name": "Add CIDR", + "request": { + "method": "POST", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"cidr\": \"string\",\n \"description\": \"string\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/allow_list/network/:networkUuid/cidr", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "allow_list", + "network", + ":networkUuid", + "cidr" + ], + "variable": [ + { + "key": "networkUuid", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/add-cidr-block/](https://pan.dev/prisma-cloud/api/cspm/add-cidr-block/)" + }, + "response": [] + }, + { + "name": "Update CIDR", + "request": { + "method": "PUT", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"cidr\": \"string\",\n \"description\": \"string\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/allow_list/network/:networkUuid/cidr/:cidrUuid", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "allow_list", + "network", + ":networkUuid", + "cidr", + ":cidrUuid" + ], + "variable": [ + { + "key": "networkUuid", + "value": "" + }, + { + "key": "cidrUuid", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/update-cidr-block/](https://pan.dev/prisma-cloud/api/cspm/update-cidr-block/)" + }, + "response": [] + }, + { + "name": "Delete CIDR", + "request": { + "method": "DELETE", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"cidr\": \"string\",\n \"description\": \"string\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/allow_list/network/:networkUuid/cidr/:cidrUuid", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "allow_list", + "network", + ":networkUuid", + "cidr", + ":cidrUuid" + ], + "variable": [ + { + "key": "networkUuid", + "value": "" + }, + { + "key": "cidrUuid", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/delete-cidr-block/](https://pan.dev/prisma-cloud/api/cspm/delete-cidr-block/)" + }, + "response": [] + }, + { + "name": "List Login IP Allow Lists", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/ip_allow_list_login", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "ip_allow_list_login" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/list-login-ip-allow-lists/](https://pan.dev/prisma-cloud/api/cspm/list-login-ip-allow-lists/)" + }, + "response": [] + }, + { + "name": "Get Login IP Allow List", + "request": { + "method": "GET", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "url": { + "raw": "https://{{api-endpoint}}/ip_allow_list_login/:id", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "ip_allow_list_login", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/insert-login-ip-allow-list/](https://pan.dev/prisma-cloud/api/cspm/insert-login-ip-allow-list/)" + }, + "response": [] + }, + { + "name": "Update Login IP Allow List", + "request": { + "method": "PUT", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"cidr\": [\n \"string\"\n ],\n \"description\": \"string\",\n \"name\": \"string\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/ip_allow_list_login/:id", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "ip_allow_list_login", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/update-login-ip-allow-list/](https://pan.dev/prisma-cloud/api/cspm/update-login-ip-allow-list/)" + }, + "response": [] + }, + { + "name": "Delete Login IP Allow List", + "request": { + "method": "DELETE", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/ip_allow_list_login/:id", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "ip_allow_list_login", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/delete-login-ip-allow-list/](https://pan.dev/prisma-cloud/api/cspm/delete-login-ip-allow-list/)" + }, + "response": [] + }, + { + "name": "Get Login IP Allow List Status", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/ip_allow_list_login/status", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "ip_allow_list_login", + "status" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-login-ip-allow-list-status/](https://pan.dev/prisma-cloud/api/cspm/get-login-ip-allow-list-status/)" + }, + "response": [] + }, + { + "name": "Update Login IP Allow List Status", + "request": { + "method": "PATCH", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/ip_allow_list_login/status", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "ip_allow_list_login", + "status" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/update-login-ip-allow-list-status/](https://pan.dev/prisma-cloud/api/cspm/update-login-ip-allow-list-status/)" + }, + "response": [] + } + ], + "description": "Manage a list of trusted IP addresses with respect to alerts and a list of trusted login IP addresses." + }, + { + "name": "Integrations", + "item": [ + { + "name": "Get Supported Integration Types", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/api/v1/tenant/:prismaId/integration/channels", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "api", + "v1", + "tenant", + ":prismaId", + "integration", + "channels" + ], + "variable": [ + { + "key": "prismaId", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-supported-integration-channels-v-1/](https://pan.dev/prisma-cloud/api/cspm/get-supported-integration-channels-v-1/)" + }, + "response": [] + }, + { + "name": "List Integrations", + "request": { + "method": "GET", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "url": { + "raw": "https://{{api-endpoint}}/api/v1/tenant/:prismaId/integration", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "api", + "v1", + "tenant", + ":prismaId", + "integration" + ], + "variable": [ + { + "key": "prismaId", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-all-integrations-v-1/](https://pan.dev/prisma-cloud/api/cspm/get-all-integrations-v-1/)" + }, + "response": [] + }, + { + "name": "Add Integration", + "request": { + "method": "POST", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"description\": \"This is the sample integration\",\n \"integrationConfig\": {},\n \"integrationType\": \"slack\",\n \"name\": \"sample-integration\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/api/v1/tenant/:prismaId/integration", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "api", + "v1", + "tenant", + ":prismaId", + "integration" + ], + "variable": [ + { + "key": "prismaId", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/create-integration-v-1/](https://pan.dev/prisma-cloud/api/cspm/create-integration-v-1/)" + }, + "response": [] + }, + { + "name": "Get Integrations By ID", + "request": { + "method": "GET", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "url": { + "raw": "https://{{api-endpoint}}/api/v1/tenant/:prismaId/integration/:id", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "api", + "v1", + "tenant", + ":prismaId", + "integration", + ":id" + ], + "variable": [ + { + "key": "prismaId", + "value": "" + }, + { + "key": "id", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-integration-v-1/](https://pan.dev/prisma-cloud/api/cspm/get-integration-v-1/)" + }, + "response": [] + }, + { + "name": "Update Integration State", + "request": { + "method": "PATCH", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"enabled\": true\n}" + }, + "url": { + "raw": "https://{{api-endpoint}}/api/v1/tenant/:prismaId/integration/:id", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "api", + "v1", + "tenant", + ":prismaId", + "integration", + ":id" + ], + "variable": [ + { + "key": "prismaId", + "value": "" + }, + { + "key": "id", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/update-integration-state-v-1/](https://pan.dev/prisma-cloud/api/cspm/update-integration-state-v-1/)" + }, + "response": [] + }, + { + "name": "Update Integration", + "request": { + "method": "PUT", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"description\": \"This is the sample integration\",\n \"enabled\": true,\n \"integrationConfig\": {},\n \"name\": \"sample-integration\"\n}" + }, + "url": { + "raw": "https://{{api-endpoint}}/api/v1/tenant/:prismaId/integration/:id", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "api", + "v1", + "tenant", + ":prismaId", + "integration", + ":id" + ], + "variable": [ + { + "key": "prismaId", + "value": "" + }, + { + "key": "id", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/update-integration-v-1/](https://pan.dev/prisma-cloud/api/cspm/update-integration-v-1/)" + }, + "response": [] + }, + { + "name": "Delete Integration", + "request": { + "method": "DELETE", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "url": { + "raw": "https://{{api-endpoint}}/api/v1/tenant/:prismaId/integration/:id", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "api", + "v1", + "tenant", + ":prismaId", + "integration", + ":id" + ], + "variable": [ + { + "key": "prismaId", + "value": "" + }, + { + "key": "id", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/delete-integration-v-1/](https://pan.dev/prisma-cloud/api/cspm/delete-integration-v-1/)" + }, + "response": [] + }, + { + "name": "Test Integration", + "request": { + "method": "POST", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"integrationConfig\": {},\n \"integrationType\": \"slack\",\n \"name\": \"sample-integration\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/api/v1/tenant/:prismaId/integration/test", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "api", + "v1", + "tenant", + ":prismaId", + "integration", + "test" + ], + "variable": [ + { + "key": "prismaId", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/test-integration-v-1/](https://pan.dev/prisma-cloud/api/cspm/test-integration-v-1/)" + }, + "response": [] + }, + { + "name": "Get Security Hub Enabled Regions by AWS Account ID", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/api/v1/tenant/:prismaId/integration/securityhub/regions/:accountId", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "api", + "v1", + "tenant", + ":prismaId", + "integration", + "securityhub", + "regions", + ":accountId" + ], + "variable": [ + { + "key": "prismaId", + "value": "" + }, + { + "key": "accountId", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-security-hub-region-by-account-id-v-1/](https://pan.dev/prisma-cloud/api/cspm/get-security-hub-region-by-account-id-v-1/)" + }, + "response": [] + }, + { + "name": "Get Security Hub Enabled AWS Accounts", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/api/v1/tenant/:prismaId/integration/securityhub/accounts", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "api", + "v1", + "tenant", + ":prismaId", + "integration", + "securityhub", + "accounts" + ], + "variable": [ + { + "key": "prismaId", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-security-hub-accounts-v-1/](https://pan.dev/prisma-cloud/api/cspm/get-security-hub-accounts-v-1/)" + }, + "response": [] + } + ], + "description": "With multiple out-of-the-box integration options, you can integrate Prisma Cloud into security workflows and technologies that already exist in your organization.\n\n**Note**: For Prisma Cloud integrations with the following, see [Integrations Pull](https://pan.dev/prisma-cloud/api/cspm/integrations-pull/):\n\n- Okta\n \n- Qualys\n \n- Tenable\n \n\n### Integration Configuration[​](https://pan.dev/prisma-cloud/api/cspm/integrations/#integration-configuration)\n\nThe model for an integration between Prisma Cloud and an external system includes an **integrationConfig** parameter which is a map of key/value pairs. The type of integration defines the content of these key/value pairs. See [Integration Configurations](https://pan.dev/prisma-cloud/api/cspm/api-integration-config/) for more information about integration API request body details, including the **integrationConfig** request parameter key/value pairs that apply to your specific integration API." + }, + { + "name": "Integrations Pull", + "item": [ + { + "name": "Metadata for All Integrations", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/integration/name?type&onlyEnabled", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "integration", + "name" + ], + "query": [ + { + "key": "type", + "value": null, + "description": "Integration type" + }, + { + "key": "onlyEnabled", + "value": null, + "description": "Only enabled integration" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-all-integrations-metadata/](https://pan.dev/prisma-cloud/api/cspm/get-all-integrations-metadata/)" + }, + "response": [] + }, + { + "name": "List All Integrations", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/integration", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "integration" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-all-integrations/](https://pan.dev/prisma-cloud/api/cspm/get-all-integrations/)" + }, + "response": [] + }, + { + "name": "Add Integration", + "request": { + "method": "POST", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"description\": \"string\",\n \"enabled\": true,\n \"integrationConfig\": {},\n \"integrationType\": \"EMAIL\",\n \"name\": \"string\",\n \"reason\": {}\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/integration", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "integration" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/save-integration/](https://pan.dev/prisma-cloud/api/cspm/save-integration/)" + }, + "response": [] + }, + { + "name": "Test Integration", + "request": { + "method": "POST", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"description\": \"string\",\n \"enabled\": true,\n \"integrationConfig\": {},\n \"integrationType\": \"EMAIL\",\n \"name\": \"string\",\n \"reason\": {}\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/integration/test", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "integration", + "test" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/test-integration/](https://pan.dev/prisma-cloud/api/cspm/test-integration/)" + }, + "response": [] + }, + { + "name": "Get Integration By ID", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/integration/:id", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "integration", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-integration-by-id/](https://pan.dev/prisma-cloud/api/cspm/get-integration-by-id/)" + }, + "response": [] + }, + { + "name": "Update Integration", + "request": { + "method": "PUT", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"description\": \"string\",\n \"enabled\": true,\n \"integrationConfig\": {},\n \"integrationType\": \"EMAIL\",\n \"name\": \"string\",\n \"reason\": {}\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/integration/:id", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "integration", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/update-integration/](https://pan.dev/prisma-cloud/api/cspm/update-integration/)" + }, + "response": [] + }, + { + "name": "Update Integration Copy", + "request": { + "method": "DELETE", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/integration/:id", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "integration", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/delete-integration/](https://pan.dev/prisma-cloud/api/cspm/delete-integration/)" + }, + "response": [] + } + ], + "description": "With Prisma Cloud service’s multiple out-of-the-box integration options, you can integrate Prisma Cloud into existing security workflows and technologies of your organization.\n\nYou can use [Integrations V1](https://pan.dev/prisma-cloud/api/cspm/integrations/) for most external integrations. Use the following API endpoints, though, for integrations with:\n\n- Okta\n \n- Qualys\n \n- Tenable\n \n\nIn addition to pushing data to these external systems, Prisma Cloud also pulls data.\n\n## Integration Configuration[​](https://pan.dev/prisma-cloud/api/cspm/integrations-pull/#integration-configuration)\n\nThe model for an integration between Prisma Cloud and an external system includes an **integrationConfig** parameter which is a map of key/value pairs. The type of integration defines the content of these key/value pairs. See [Integration Configurations](https://pan.dev/prisma-cloud/api/cspm/api-integration-config/) for more information about integration API request body details, including the **integrationConfig** request parameter key/value pairs that apply to your specific integration API." + }, + { + "name": "Licensing", + "item": [ + { + "name": "Usage Count By Cloud Type", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": { + "raw": "https://{{api-endpoint}}/license/api/v2/usage", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "license", + "api", + "v2", + "usage" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/license-usage-count-by-cloud-paginated-v-2/](https://pan.dev/prisma-cloud/api/cspm/license-usage-count-by-cloud-paginated-v-2/)" + }, + "response": [] + }, + { + "name": "Resource Usage Over Time", + "request": { + "method": "POST", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n\t\"accountIds\": [\"string\"],\n\t\"limit\": int32,\n \"cloudTypes\": [\"string\"],\n \"pageToken\": \"string\",\n \"offset\": int64\n}" + }, + "url": { + "raw": "https://{{api-endpoint}}/license/api/v2/time_series", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "license", + "api", + "v2", + "time_series" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/license-usage-graph-v-2/](https://pan.dev/prisma-cloud/api/cspm/license-usage-graph-v-2/)" + }, + "response": [] + }, + { + "name": "Credit allocation rules and usage", + "request": { + "method": "POST", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"timeRange\": {\n \"type\": \"relative\",\n \"value\": {\n \"unit\": \"hour\",\n \"amount\": 0,\n \"startTime\": 0,\n \"endTime\": 0\n }\n },\n \"ruleNames\": [\n \"string\"\n ],\n \"accountGroupIds\": [\n \"string\"\n ],\n \"thresholdFilter\": \"AboveThreshold\",\n \"limit\": 100,\n \"pageToken\": \"string\"\n}" + }, + "url": { + "raw": "https://{{api-endpoint}}/license/api/v1/credit-allocation-rules", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "license", + "api", + "v1", + "credit-allocation-rules" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-credit-allocation-rules/](https://pan.dev/prisma-cloud/api/cspm/get-credit-allocation-rules/)" + }, + "response": [] + }, + { + "name": "Create credit allocation rule", + "request": { + "method": "POST", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"id\": \"string\",\n \"customerId\": 0,\n \"prismaId\": 0,\n \"name\": \"string\",\n \"targetType\": \"AccountGroup\",\n \"allocatedCredits\": 0,\n \"alarmThreshold\": 0,\n \"accountGroups\": [\n \"string\"\n ],\n \"usedCredits\": 0,\n \"percentage\": 0\n}" + }, + "url": { + "raw": "https://{{api-endpoint}}/license/api/v1/credit-allocation-rule", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "license", + "api", + "v1", + "credit-allocation-rule" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/create-credit-allocation-rule/](https://pan.dev/prisma-cloud/api/cspm/create-credit-allocation-rule/)" + }, + "response": [] + }, + { + "name": "Credit allocation rule summary", + "request": { + "method": "POST", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"timeRange\": {\n \"type\": \"relative\",\n \"value\": {\n \"unit\": \"hour\",\n \"amount\": 0,\n \"startTime\": 0,\n \"endTime\": 0\n }\n }\n}" + }, + "url": { + "raw": "https://{{api-endpoint}}/license/api/v1/credit-allocation-rule-summary", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "license", + "api", + "v1", + "credit-allocation-rule-summary" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-credit-allocation-rule-summary/](https://pan.dev/prisma-cloud/api/cspm/get-credit-allocation-rule-summary/)" + }, + "response": [] + }, + { + "name": "Credit allocation rule", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": { + "raw": "https://{{api-endpoint}}/license/api/v1/credit-allocation-rule/:ruleId", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "license", + "api", + "v1", + "credit-allocation-rule", + ":ruleId" + ], + "variable": [ + { + "key": "ruleId", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-credit-allocation-rule/](https://pan.dev/prisma-cloud/api/cspm/get-credit-allocation-rule/)" + }, + "response": [] + }, + { + "name": "Delete credit allocation rule", + "request": { + "method": "DELETE", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": { + "raw": "https://{{api-endpoint}}/license/api/v1/credit-allocation-rule/:ruleId", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "license", + "api", + "v1", + "credit-allocation-rule", + ":ruleId" + ], + "variable": [ + { + "key": "ruleId", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/delete-credit-allocation-rule/](https://pan.dev/prisma-cloud/api/cspm/delete-credit-allocation-rule/)" + }, + "response": [] + }, + { + "name": "Update credit allocation rule", + "request": { + "method": "PATCH", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"id\": \"string\",\n \"customerId\": 0,\n \"prismaId\": 0,\n \"name\": \"string\",\n \"targetType\": \"AccountGroup\",\n \"allocatedCredits\": 0,\n \"alarmThreshold\": 0,\n \"accountGroups\": [\n \"string\"\n ],\n \"usedCredits\": 0,\n \"percentage\": 0\n}" + }, + "url": { + "raw": "https://{{api-endpoint}}/license/api/v1/credit-allocation-rule/:ruleId", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "license", + "api", + "v1", + "credit-allocation-rule", + ":ruleId" + ], + "variable": [ + { + "key": "ruleId", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/update-credit-allocation-rule/](https://pan.dev/prisma-cloud/api/cspm/update-credit-allocation-rule/)" + }, + "response": [] + }, + { + "name": "Credit allocation rule", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": { + "raw": "https://{{api-endpoint}}/license/api/v1/credit-allocation-rule-names", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "license", + "api", + "v1", + "credit-allocation-rule-names" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-credit-allocation-rule-names/](https://pan.dev/prisma-cloud/api/cspm/get-credit-allocation-rule-names/)" + }, + "response": [] + } + ], + "description": "The Prisma Cloud License endpoints enable you to query your Prisma Cloud usage." + }, + { + "name": "Login", + "item": [ + { + "name": "Login Generate Token", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "var jsonData = JSON.parse(responseBody);", + "postman.setEnvironmentVariable(\"token\", jsonData.token);" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8" + }, + { + "key": "content-type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"username\": \"{{ACCESS_KEY}}\",\n \"password\": \"{{SECRET_KEY}}\"\n}" + }, + "url": { + "raw": "https://{{api-endpoint}}/login", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "login" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/app-login/](https://pan.dev/prisma-cloud/api/cspm/app-login/)\n\nReturns a JWT auth token for accessing the Prisma Cloud APIs. To generate a token, you must have an access key and include the following values in the request body parameter — access key ID as the username and your secret key as the password. Prisma Cloud requires this JWT in the request header to authorize API access." + }, + "response": [] + }, + { + "name": "Refresh Token", + "request": { + "method": "GET", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "url": { + "raw": "https://{{api-endpoint}}/auth_token/extend", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "auth_token", + "extend" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/extend-session/](https://pan.dev/prisma-cloud/api/cspm/extend-session/)\n\nExtend a user's session. The JWT token returned is valid until the next session timeout occurs. This method requires a valid session token to be passed (token from a prior successful extend or login calls)." + }, + "response": [] + } + ] + }, + { + "name": "Notification Templates", + "item": [ + { + "name": "List Templates", + "request": { + "method": "GET", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "url": { + "raw": "https://{{api-endpoint}}/api/v1/tenant/:prismaId/template", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "api", + "v1", + "tenant", + ":prismaId", + "template" + ], + "variable": [ + { + "key": "prismaId", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-all-templates-v-1/](https://pan.dev/prisma-cloud/api/cspm/get-all-templates-v-1/)" + }, + "response": [] + }, + { + "name": "Add Template", + "request": { + "method": "POST", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"integrationId\": \"123e4567-e89b-42d3-a456-55664244\",\n \"integrationType\": \"email\",\n \"name\": \"sample-template\",\n \"templateConfig\": {}\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/api/v1/tenant/:prismaId/template", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "api", + "v1", + "tenant", + ":prismaId", + "template" + ], + "variable": [ + { + "key": "prismaId", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/create-template-v-1/](https://pan.dev/prisma-cloud/api/cspm/create-template-v-1/)" + }, + "response": [] + }, + { + "name": "Get Template by ID", + "request": { + "method": "GET", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "url": { + "raw": "https://{{api-endpoint}}/api/v1/tenant/:prismaId/template/:id", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "api", + "v1", + "tenant", + ":prismaId", + "template", + ":id" + ], + "variable": [ + { + "key": "prismaId", + "value": "" + }, + { + "key": "id", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-template-v-1/](https://pan.dev/prisma-cloud/api/cspm/get-template-v-1/)" + }, + "response": [] + }, + { + "name": "Update Template", + "request": { + "method": "PATCH", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"createdBy\": \"string\",\n \"createdTs\": 0,\n \"enabled\": true,\n \"id\": \"string\",\n \"integrationId\": \"string\",\n \"integrationType\": \"email\",\n \"lastModifiedBy\": \"string\",\n \"lastModifiedTs\": 0,\n \"name\": \"string\",\n \"templateConfig\": {}\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/api/v1/tenant/:prismaId/template/:id", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "api", + "v1", + "tenant", + ":prismaId", + "template", + ":id" + ], + "variable": [ + { + "key": "prismaId", + "value": "" + }, + { + "key": "id", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/update-template-v-1/](https://pan.dev/prisma-cloud/api/cspm/update-template-v-1/)" + }, + "response": [] + }, + { + "name": "Delete Template", + "request": { + "method": "DELETE", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/api/v1/tenant/:prismaId/template/:id", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "api", + "v1", + "tenant", + ":prismaId", + "template", + ":id" + ], + "variable": [ + { + "key": "prismaId", + "value": "" + }, + { + "key": "id", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/delete-template-v-1/](https://pan.dev/prisma-cloud/api/cspm/delete-template-v-1/)" + }, + "response": [] + }, + { + "name": "Test Template", + "request": { + "method": "POST", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"integrationId\": \"string\",\n \"integrationType\": \"email\",\n \"name\": \"string\",\n \"templateConfig\": {}\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/api/v1/tenant/:prismaId/template/test", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "api", + "v1", + "tenant", + ":prismaId", + "template", + "test" + ], + "variable": [ + { + "key": "prismaId", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/test-template-v-1/](https://pan.dev/prisma-cloud/api/cspm/test-template-v-1/)" + }, + "response": [] + } + ], + "description": "Notification templates allow you to configure notifications about the Prisma Cloud alerts to:\n\n- Email\n \n- ServiceNow\n \n- Jira" + }, + { + "name": "Cloud Ingested Logs", + "item": [ + { + "name": "Get AWS Eventbridge configuration details", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/audit_logs/v2/tenant/:tenantId/aws_accounts/:accountId/eventbridge_config", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "audit_logs", + "v2", + "tenant", + ":tenantId", + "aws_accounts", + ":accountId", + "eventbridge_config" + ], + "variable": [ + { + "key": "tenantId", + "value": "" + }, + { + "key": "accountId", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-eventbridge-configuration-details/](https://pan.dev/prisma-cloud/api/cspm/get-eventbridge-configuration-details/)" + }, + "response": [] + }, + { + "name": "Update AWS Eventbridge configuration", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/audit_logs/v2/tenant/:tenantId/aws_accounts/:accountId/eventbridge_config", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "audit_logs", + "v2", + "tenant", + ":tenantId", + "aws_accounts", + ":accountId", + "eventbridge_config" + ], + "variable": [ + { + "key": "tenantId", + "value": "" + }, + { + "key": "accountId", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/save-or-update-eventbridge-config/](https://pan.dev/prisma-cloud/api/cspm/save-or-update-eventbridge-config/)" + }, + "response": [] + }, + { + "name": "Get AWS Eventbridge config status", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/audit_logs/v2/tenant/:tenantId/aws_accounts/:accountId/eventbridge_config/status", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "audit_logs", + "v2", + "tenant", + ":tenantId", + "aws_accounts", + ":accountId", + "eventbridge_config", + "status" + ], + "variable": [ + { + "key": "tenantId", + "value": "" + }, + { + "key": "accountId", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-eventbridge-configuration-status/](https://pan.dev/prisma-cloud/api/cspm/get-eventbridge-configuration-status/)" + }, + "response": [] + }, + { + "name": "Generate AWS Eventbridge CFT", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/audit_logs/v2/tenant/:tenantId/aws_accounts/:accountId/eventbridge_config/cft_download", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "audit_logs", + "v2", + "tenant", + ":tenantId", + "aws_accounts", + ":accountId", + "eventbridge_config", + "cft_download" + ], + "variable": [ + { + "key": "tenantId", + "value": "" + }, + { + "key": "accountId", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/generate-eventbridge-cft/](https://pan.dev/prisma-cloud/api/cspm/generate-eventbridge-cft/)" + }, + "response": [] + }, + { + "name": "Fetch AWS S3 Flow Log details", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/cloud-accounts-manager/v1/cloud-accounts/aws/:accountId/features/aws-flow-logs/s3", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "cloud-accounts-manager", + "v1", + "cloud-accounts", + "aws", + ":accountId", + "features", + "aws-flow-logs", + "s3" + ], + "variable": [ + { + "key": "accountId", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-aws-s-3-flowlog/](https://pan.dev/prisma-cloud/api/cspm/get-aws-s-3-flowlog/)" + }, + "response": [] + }, + { + "name": "Save AWS S3 Flow Log details", + "request": { + "method": "PATCH", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"accountId\": 0,\n \"loggingAccounts\": [\n {\n \"awsS3FlowLogsLoggingAccountId\": 0,\n \"bucketIds\": [\n 0\n ],\n \"buckets\": [\n \"string\"\n ],\n \"loggingAccountId\": \"string\"\n }\n ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/cloud-accounts-manager/v1/cloud-accounts/aws/:accountId/features/aws-flow-logs/s3", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "cloud-accounts-manager", + "v1", + "cloud-accounts", + "aws", + ":accountId", + "features", + "aws-flow-logs", + "s3" + ], + "variable": [ + { + "key": "accountId", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/save-aws-s-3-flowlog/](https://pan.dev/prisma-cloud/api/cspm/save-aws-s-3-flowlog/)" + }, + "response": [] + }, + { + "name": "Check AWS S3 Flow Log status", + "request": { + "method": "POST", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"awsS3FlowLogsLoggingAccountId\": 0,\n \"bucketIds\": [\n 0\n ],\n \"buckets\": [\n \"string\"\n ],\n \"loggingAccountId\": \"string\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/cloud-accounts-manager/v1/cloud-accounts/aws/:accountId/features/aws-flow-logs/s3/status", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "cloud-accounts-manager", + "v1", + "cloud-accounts", + "aws", + ":accountId", + "features", + "aws-flow-logs", + "s3", + "status" + ], + "variable": [ + { + "key": "accountId", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/check-aws-s-3-flowlog/](https://pan.dev/prisma-cloud/api/cspm/check-aws-s-3-flowlog/)" + }, + "response": [] + } + ], + "description": "You can use the AWS S3 Flow Logs API for AWS S3 onboarding for organization and standalone accounts on all supported stacks." + }, + { + "name": "SSO", + "item": [ + { + "name": "Get SAML Configuration", + "request": { + "method": "POST", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"awsS3FlowLogsLoggingAccountId\": 0,\n \"bucketIds\": [\n 0\n ],\n \"buckets\": [\n \"string\"\n ],\n \"loggingAccountId\": \"string\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/cloud-accounts-manager/v1/cloud-accounts/aws/:accountId/features/aws-flow-logs/s3/status", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "cloud-accounts-manager", + "v1", + "cloud-accounts", + "aws", + ":accountId", + "features", + "aws-flow-logs", + "s3", + "status" + ], + "variable": [ + { + "key": "accountId", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-saml-config/](https://pan.dev/prisma-cloud/api/cspm/get-saml-config/)" + }, + "response": [] + }, + { + "name": "Update SAML Configuration", + "request": { + "method": "PUT", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"identityProvider\": \"string\",\n \"certificate\": \"string\",\n \"enabled\": false,\n \"logoutRedirectUrl\": \"string\",\n \"relayStateParamName\": \"string\",\n \"autoProvisionEnabled\": false,\n \"requireAccessSamlUrlPublic\": true,\n \"autoProvisionSamlEmail\": \"string\",\n \"autoProvisionSamlFirstName\": \"string\",\n \"autoProvisionSamlLastName\": \"string\",\n \"autoProvisionSamlRole\": \"string\",\n \"autoProvisionSamlTimezone\": \"string\",\n \"redLockAccessSamlUrl\": \"string\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/authn/v1/saml/config", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "authn", + "v1", + "saml", + "config" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/update-saml-config/](https://pan.dev/prisma-cloud/api/cspm/update-saml-config/)" + }, + "response": [] + }, + { + "name": "Create SAML Configuration", + "request": { + "method": "POST", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"identityProvider\": \"string\",\n \"certificate\": \"string\",\n \"enabled\": false,\n \"logoutRedirectUrl\": \"string\",\n \"relayStateParamName\": \"string\",\n \"autoProvisionEnabled\": false,\n \"requireAccessSamlUrlPublic\": true,\n \"autoProvisionSamlEmail\": \"string\",\n \"autoProvisionSamlFirstName\": \"string\",\n \"autoProvisionSamlLastName\": \"string\",\n \"autoProvisionSamlRole\": \"string\",\n \"autoProvisionSamlTimezone\": \"string\",\n \"redLockAccessSamlUrl\": \"string\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/authn/v1/saml/config", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "authn", + "v1", + "saml", + "config" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/create-saml-config/](https://pan.dev/prisma-cloud/api/cspm/create-saml-config/)" + }, + "response": [] + }, + { + "name": "Get OIDC Configuration", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/authn/api/v1/oauth2/config", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "authn", + "api", + "v1", + "oauth2", + "config" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-oauth-2-config/](https://pan.dev/prisma-cloud/api/cspm/get-oauth-2-config/)" + }, + "response": [] + }, + { + "name": "Update OIDC Configuration", + "request": { + "method": "PUT", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"clientId\": \"string\",\n \"clientSecret\": \"string\",\n \"issuer\": \"string\",\n \"scopes\": \"[openid, email, profile]\",\n \"grantType\": \"authorization_code\",\n \"withPkce\": true,\n \"idpAuthUri\": \"string\",\n \"tokenUri\": \"string\",\n \"jwkSetUri\": \"string\",\n \"endSessionUri\": \"string\",\n \"isActive\": true,\n \"isJitEnabled\": true,\n \"jitRoleClaimName\": \"string\",\n \"jitDefaultRoleId\": \"string\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/authn/api/v1/oauth2/config", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "authn", + "api", + "v1", + "oauth2", + "config" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/update-oauth-2-config/](https://pan.dev/prisma-cloud/api/cspm/update-oauth-2-config/)" + }, + "response": [] + }, + { + "name": "Create an OIDC Configuration", + "request": { + "method": "POST", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"clientId\": \"string\",\n \"clientSecret\": \"string\",\n \"issuer\": \"string\",\n \"scopes\": \"[openid, email, profile]\",\n \"grantType\": \"authorization_code\",\n \"withPkce\": true,\n \"idpAuthUri\": \"string\",\n \"tokenUri\": \"string\",\n \"jwkSetUri\": \"string\",\n \"endSessionUri\": \"string\",\n \"isActive\": true,\n \"isJitEnabled\": true,\n \"jitRoleClaimName\": \"string\",\n \"jitDefaultRoleId\": \"string\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/authn/api/v1/oauth2/config", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "authn", + "api", + "v1", + "oauth2", + "config" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/create-oauth-2-config/](https://pan.dev/prisma-cloud/api/cspm/create-oauth-2-config/)" + }, + "response": [] + }, + { + "name": "Update OIDC Configuration Partially", + "request": { + "method": "PATCH", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"clientId\": \"string\",\n \"clientSecret\": \"string\",\n \"issuer\": \"string\",\n \"scopes\": \"[openid, email, profile]\",\n \"grantType\": \"authorization_code\",\n \"withPkce\": true,\n \"idpAuthUri\": \"string\",\n \"tokenUri\": \"string\",\n \"jwkSetUri\": \"string\",\n \"endSessionUri\": \"string\",\n \"isActive\": true,\n \"isJitEnabled\": true,\n \"jitRoleClaimName\": \"string\",\n \"jitDefaultRoleId\": \"string\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/authn/api/v1/oauth2/config", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "authn", + "api", + "v1", + "oauth2", + "config" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/patch-oauth-2-config/](https://pan.dev/prisma-cloud/api/cspm/patch-oauth-2-config/)" + }, + "response": [] + }, + { + "name": "Get OIDC Login URL", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/authn/api/v1/oauth2/login", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "authn", + "api", + "v1", + "oauth2", + "login" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-oidc-login-url/](https://pan.dev/prisma-cloud/api/cspm/get-oidc-login-url/)" + }, + "response": [] + } + ], + "description": "On Prisma Cloud, you can enable single sign-on (SSO) using an Identity Provider (IdP) that supports Security Assertion Markup Language (SAML) or OpenID Connect (OIDC), such as Okta, Microsoft Active Directory Federation Services (ADFS), Azure Active Directory (AD), Google, or OneLogin. Prisma Cloud System Administrators can use the following APIs to configure tenant SSO." + }, + { + "name": "Permission Groups", + "item": [ + { + "name": "Get Permission Group by ID", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/authz/v1/permission_group/:id", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "authz", + "v1", + "permission_group", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-1/](https://pan.dev/prisma-cloud/api/cspm/get-1/)" + }, + "response": [] + }, + { + "name": "Update the Permission Group", + "request": { + "method": "PUT", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"string\",\n \"description\": \"string\",\n \"features\": [\n {\n \"featureName\": \"string\",\n \"operations\": {}\n }\n ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/authz/v1/permission_group/:id", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "authz", + "v1", + "permission_group", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/update/](https://pan.dev/prisma-cloud/api/cspm/update/)" + }, + "response": [] + }, + { + "name": "Delete a Permission Group by ID", + "request": { + "method": "DELETE", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/authz/v1/permission_group/:id", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "authz", + "v1", + "permission_group", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/delete-permission-group/](https://pan.dev/prisma-cloud/api/cspm/delete-permission-group/)" + }, + "response": [] + }, + { + "name": "Get All Permission Groups", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/authz/v1/permission_group", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "authz", + "v1", + "permission_group" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-all/](https://pan.dev/prisma-cloud/api/cspm/get-all/)" + }, + "response": [] + }, + { + "name": "Add a Permission Group", + "request": { + "method": "POST", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"string\",\n \"description\": \"string\",\n \"features\": [\n {\n \"featureName\": \"string\",\n \"operations\": {}\n }\n ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/authz/v1/permission_group", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "authz", + "v1", + "permission_group" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/save/](https://pan.dev/prisma-cloud/api/cspm/save/)" + }, + "response": [] + }, + { + "name": "Get All Active Features", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/authz/v1/feature", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "authz", + "v1", + "feature" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-features/](https://pan.dev/prisma-cloud/api/cspm/get-features/)" + }, + "response": [] + } + ], + "description": "Permission groups enable you to restrict access to one or more features available on the Prisma Cloud administrative console. Permission group APIs allow you to retrieve, update or delete one or more existing permissions groups. You can also use these APIs to create a custom permission group and then you must attach it to a role and assign the role to a user." + }, + { + "name": "Policy", + "item": [ + { + "name": "List Policy Filters", + "request": { + "method": "GET", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "url": { + "raw": "https://{{api-endpoint}}/filter/policy/suggest", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "filter", + "policy", + "suggest" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-policy-filters-and-options/](https://pan.dev/prisma-cloud/api/cspm/get-policy-filters-and-options/)" + }, + "response": [] + }, + { + "name": "List Policy Filter Autocomplete Suggestions", + "request": { + "method": "POST", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"filterName\": \"string\",\n \"query\": \"string\"\n}" + }, + "url": { + "raw": "https://{{api-endpoint}}/filter/policy/suggest", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "filter", + "policy", + "suggest" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-policy-filter-options/](https://pan.dev/prisma-cloud/api/cspm/get-policy-filter-options/)" + }, + "response": [] + }, + { + "name": "List Policies", + "request": { + "method": "GET", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "url": { + "raw": "https://{{api-endpoint}}/v2/policy?policy.severity=high&policy.type=config", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "v2", + "policy" + ], + "query": [ + { + "key": "policy.name", + "value": "POLICY_NAME", + "description": "Policy name", + "disabled": true + }, + { + "key": "policy.severity", + "value": "high", + "description": "Policy severity" + }, + { + "key": "policy.label", + "value": "POLICY_LABEL", + "description": "Policy label", + "disabled": true + }, + { + "key": "policy.type", + "value": "config", + "description": "config, network, or audit_event" + }, + { + "key": "policy.complianceStandard", + "value": "C_STANDARD", + "description": "Compliance Standard name", + "disabled": true + }, + { + "key": "policy.complianceRequirement", + "value": "C_REQUIREMENT", + "description": "Compliance requirement name", + "disabled": true + }, + { + "key": "policy.complianceSection", + "value": "C_SECTION", + "description": "Compliance section name", + "disabled": true + }, + { + "key": "policy.enabled", + "value": "true", + "description": "true or false", + "disabled": true + }, + { + "key": "policy.policyMode", + "value": "custom", + "description": "custom or redlock_default", + "disabled": true + }, + { + "key": "policy.remediable", + "value": "true", + "description": "true or false", + "disabled": true + }, + { + "key": "cloud.type", + "value": "aws", + "description": "aws, azure, gcp, or alibaba_cloud", + "disabled": true + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-policies/](https://pan.dev/prisma-cloud/api/cspm/get-policies/)" + }, + "response": [] + }, + { + "name": "Add Policy", + "request": { + "method": "POST", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"cloudType\": \"ALL\",\n \"complianceMetadata\": [\n {\n \"complianceId\": \"string\",\n \"customAssigned\": true,\n \"policyId\": \"string\",\n \"requirementDescription\": \"string\",\n \"requirementId\": \"string\",\n \"requirementName\": \"string\",\n \"sectionDescription\": \"string\",\n \"sectionId\": \"string\",\n \"sectionLabel\": \"string\",\n \"standardDescription\": \"string\",\n \"standardId\": \"string\",\n \"standardName\": \"string\"\n }\n ],\n \"description\": \"string\",\n \"enabled\": true,\n \"findingTypes\": [\n \"string\"\n ],\n \"labels\": [\n \"string\"\n ],\n \"name\": \"string\",\n \"policyType\": {},\n \"recommendation\": \"string\",\n \"remediation\": {\n \"actions\": [\n {\n \"operation\": \"string\",\n \"payload\": \"string\"\n }\n ],\n \"cliScriptTemplate\": \"string\",\n \"description\": \"string\"\n },\n \"rule\": {\n \"criteria\": \"string\",\n \"dataCriteria\": {\n \"classificationResult\": \"string\",\n \"exposure\": \"private\",\n \"extension\": [\n \"string\"\n ]\n },\n \"name\": \"string\",\n \"parameters\": {},\n \"type\": \"Config\"\n },\n \"severity\": \"high\"\n}" + }, + "url": { + "raw": "https://{{api-endpoint}}/policy", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "policy" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/add-policy/](https://pan.dev/prisma-cloud/api/cspm/add-policy/)" + }, + "response": [] + }, + { + "name": "Policy Info", + "request": { + "method": "GET", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "url": { + "raw": "https://{{api-endpoint}}/policy/:id", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "policy", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "Policy ID" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-policy/](https://pan.dev/prisma-cloud/api/cspm/get-policy/)" + }, + "response": [] + }, + { + "name": "Update Policy", + "request": { + "method": "PUT", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"cloudType\": \"ALL\",\n \"complianceMetadata\": [\n {\n \"complianceId\": \"string\",\n \"customAssigned\": true,\n \"policyId\": \"string\",\n \"requirementDescription\": \"string\",\n \"requirementId\": \"string\",\n \"requirementName\": \"string\",\n \"sectionDescription\": \"string\",\n \"sectionId\": \"string\",\n \"sectionLabel\": \"string\",\n \"standardDescription\": \"string\",\n \"standardId\": \"string\",\n \"standardName\": \"string\"\n }\n ],\n \"description\": \"string\",\n \"enabled\": true,\n \"findingTypes\": [\n \"string\"\n ],\n \"labels\": [\n \"string\"\n ],\n \"name\": \"string\",\n \"policyType\": {},\n \"recommendation\": \"string\",\n \"remediation\": {\n \"actions\": [\n {\n \"operation\": \"string\",\n \"payload\": \"string\"\n }\n ],\n \"cliScriptTemplate\": \"string\",\n \"description\": \"string\"\n },\n \"rule\": {\n \"criteria\": \"string\",\n \"dataCriteria\": {\n \"classificationResult\": \"string\",\n \"exposure\": \"private\",\n \"extension\": [\n \"string\"\n ]\n },\n \"name\": \"string\",\n \"parameters\": {},\n \"type\": \"Config\"\n },\n \"severity\": \"high\"\n}" + }, + "url": { + "raw": "https://{{api-endpoint}}/policy/:id", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "policy", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "Policy ID" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/update-policy/](https://pan.dev/prisma-cloud/api/cspm/update-policy/)" + }, + "response": [] + }, + { + "name": "Delete Policy", + "request": { + "method": "DELETE", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "url": { + "raw": "https://{{api-endpoint}}/policy/:id", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "policy", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/delete-policy/](https://pan.dev/prisma-cloud/api/cspm/delete-policy/)" + }, + "response": [] + }, + { + "name": "Update Policy Status", + "request": { + "method": "PATCH", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "url": { + "raw": "https://{{api-endpoint}}/policy/:id/status/:enabled", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "policy", + ":id", + "status", + ":enabled" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "Policy ID" + }, + { + "key": "enabled", + "value": "", + "description": "Policy status (true = enabled)" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/update-policy-status/](https://pan.dev/prisma-cloud/api/cspm/update-policy-status/)" + }, + "response": [] + }, + { + "name": "List Policy Compliance Standards", + "request": { + "method": "GET", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "url": { + "raw": "https://{{api-endpoint}}/policy/compliance", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "policy", + "compliance" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-compliance-standards/](https://pan.dev/prisma-cloud/api/cspm/get-compliance-standards/)" + }, + "response": [] + }, + { + "name": "Pre-validate Policy Rule", + "request": { + "method": "POST", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"cloudType\": \"ALL\",\n \"complianceMetadata\": [\n {\n \"complianceId\": \"string\",\n \"customAssigned\": true,\n \"policyId\": \"string\",\n \"requirementDescription\": \"string\",\n \"requirementId\": \"string\",\n \"requirementName\": \"string\",\n \"sectionDescription\": \"string\",\n \"sectionId\": \"string\",\n \"sectionLabel\": \"string\",\n \"standardDescription\": \"string\",\n \"standardId\": \"string\",\n \"standardName\": \"string\"\n }\n ],\n \"description\": \"string\",\n \"enabled\": true,\n \"findingTypes\": [\n \"string\"\n ],\n \"labels\": [\n \"string\"\n ],\n \"name\": \"string\",\n \"policyType\": {},\n \"recommendation\": \"string\",\n \"remediation\": {\n \"actions\": [\n {\n \"operation\": \"string\",\n \"payload\": \"string\"\n }\n ],\n \"cliScriptTemplate\": \"string\",\n \"description\": \"string\"\n },\n \"rule\": {\n \"criteria\": \"string\",\n \"dataCriteria\": {\n \"classificationResult\": \"string\",\n \"exposure\": \"private\",\n \"extension\": [\n \"string\"\n ]\n },\n \"name\": \"string\",\n \"parameters\": {},\n \"type\": \"Config\"\n },\n \"severity\": \"high\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/policy/rule/validate", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "policy", + "rule", + "validate" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/policy-rule-validate/](https://pan.dev/prisma-cloud/api/cspm/policy-rule-validate/)" + }, + "response": [] + } + ], + "description": "A policy is a set of one or more constraints or conditions that must be adhered to. Prisma Cloud provides predefined policies for configurations and access controls that adhere to established security best practices such as PCI, GDPR, ISO 27001:2013, and NIST. These Prisma Cloud default polices cannot be modified. In addition to these, you can create custom policies to monitor for violations and to enforce your own organizational standards." + }, + { + "name": "Reports", + "item": [ + { + "name": "Get Reports Metadata", + "request": { + "method": "GET", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "url": { + "raw": "https://{{api-endpoint}}/report-service/api/v1/report?report_types&page&size", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "report-service", + "api", + "v1", + "report" + ], + "query": [ + { + "key": "report_types", + "value": null, + "description": "Report types to be retrieved. You can specify multiple report types as comma separated values" + }, + { + "key": "page", + "value": null, + "description": "The required page number for the paginated results. Page number starts from the 0. Default value is 0" + }, + { + "key": "size", + "value": null, + "description": "The number of results to be returned as part of the page response. Default value is 100" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/list-reports/](https://pan.dev/prisma-cloud/api/cspm/list-reports/)" + }, + "response": [] + }, + { + "name": "Add Report Config", + "request": { + "method": "POST", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"cloudType\": \"aws\",\n \"counts\": {},\n \"locale\": \"string\",\n \"name\": \"string\",\n \"target\": {\n \"accountGroups\": [\n \"string\"\n ],\n \"accounts\": [\n \"string\"\n ],\n \"complianceStandardIds\": [\n \"string\"\n ],\n \"compressionEnabled\": true,\n \"downloadNow\": true,\n \"notifyTo\": [\n \"string\"\n ],\n \"regions\": [\n \"string\"\n ],\n \"schedule\": \"string\",\n \"scheduleEnabled\": true\n },\n \"type\": \"COMPLIANCE\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/v2/report", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "v2", + "report" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/save-report-v-2/](https://pan.dev/prisma-cloud/api/cspm/save-report-v-2/)" + }, + "response": [] + }, + { + "name": "Get Report Types", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/report/type", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "report", + "type" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-report-types/](https://pan.dev/prisma-cloud/api/cspm/get-report-types/)" + }, + "response": [] + }, + { + "name": "Get Report Config", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/report/:id", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "report", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-specified-report/](https://pan.dev/prisma-cloud/api/cspm/get-specified-report/)" + }, + "response": [] + }, + { + "name": "Update Report Config", + "request": { + "method": "PUT", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"cloudType\": \"aws\",\n \"counts\": {},\n \"locale\": \"string\",\n \"name\": \"string\",\n \"target\": {\n \"accountGroups\": [\n \"string\"\n ],\n \"accounts\": [\n \"string\"\n ],\n \"complianceStandardIds\": [\n \"string\"\n ],\n \"compressionEnabled\": true,\n \"downloadNow\": true,\n \"notifyTo\": [\n \"string\"\n ],\n \"regions\": [\n \"string\"\n ],\n \"schedule\": \"string\",\n \"scheduleEnabled\": true,\n \"timeRange\": {\n \"relativeTimeType\": \"BACKWARD\",\n \"type\": \"relative\",\n \"value\": {\n \"amount\": 0,\n \"unit\": \"minute\"\n }\n }\n },\n \"type\": \"COMPLIANCE\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/report/:id", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "report", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/update-report/](https://pan.dev/prisma-cloud/api/cspm/update-report/)" + }, + "response": [] + }, + { + "name": "Delete Report Config", + "request": { + "method": "DELETE", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/report/:id", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "report", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/delete-report/](https://pan.dev/prisma-cloud/api/cspm/delete-report/)" + }, + "response": [] + }, + { + "name": "Download Report", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/report/:id/download", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "report", + ":id", + "download" + ], + "variable": [ + { + "key": "id", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/download-report/](https://pan.dev/prisma-cloud/api/cspm/download-report/)" + }, + "response": [] + }, + { + "name": "Historical Reports Data", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/report/:id/history", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "report", + ":id", + "history" + ], + "variable": [ + { + "key": "id", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-historical-report-by-id/](https://pan.dev/prisma-cloud/api/cspm/get-historical-report-by-id/)" + }, + "response": [] + }, + { + "name": "Historical Report Data", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/report/:id/:lastScheduled", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "report", + ":id", + ":lastScheduled" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "Report ID" + }, + { + "key": "lastScheduled", + "value": "", + "description": "Timestamp of report generation" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-last-scheduled-report-by-id/](https://pan.dev/prisma-cloud/api/cspm/get-last-scheduled-report-by-id/)" + }, + "response": [] + }, + { + "name": "Download Historical Report", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/report/:id/:lastScheduled/download", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "report", + ":id", + ":lastScheduled", + "download" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "Report ID" + }, + { + "key": "lastScheduled", + "value": "", + "description": "Timestamp of report generation" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/download-historical-by-id/](https://pan.dev/prisma-cloud/api/cspm/download-historical-by-id/)" + }, + "response": [] + }, + { + "name": "Report Overview Filters and Options", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/filter/report/suggest", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "filter", + "report", + "suggest" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-report-filters-and-options/](https://pan.dev/prisma-cloud/api/cspm/get-report-filters-and-options/)" + }, + "response": [] + }, + { + "name": "Report Overview Filter Autocomplete Suggestions", + "request": { + "method": "POST", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"filterName\": \"string\",\n \"query\": \"string\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/filter/report/suggest", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "filter", + "report", + "suggest" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-report-posture-filter-options/](https://pan.dev/prisma-cloud/api/cspm/get-report-posture-filter-options/)" + }, + "response": [] + } + ], + "description": "Creating compliance reports is the best way to monitor your cloud accounts across all cloud types and ensure that you are adhering to all compliance standards. You can create compliance reports based on a cloud compliance standard for immediate download or schedule recurring reports so you can monitor compliance to the standard over time. From a single report, you have a consolidated view of how well all of your cloud accounts are adhering to the selected standard. You can also download historic reports so that you can see your compliance trend." + }, + { + "name": "Resource Explorer", + "item": [ + { + "name": "Get Alerts for Resource", + "request": { + "method": "POST", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"excludeSeverityList\": [\n \"string\"\n ],\n \"findingType\": [\n \"string\"\n ],\n \"riskFactors\": [\n \"CRITICAL_SEVERITY\"\n ],\n \"rrn\": \"string\",\n \"rrnList\": [\n \"string\"\n ],\n \"timelineItemId\": \"string\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/resource/alert", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "resource", + "alert" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-alerts-for-resource/](https://pan.dev/prisma-cloud/api/cspm/get-alerts-for-resource/)" + }, + "response": [] + }, + { + "name": "Get Resource Network Settings", + "request": { + "method": "POST", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"excludeSeverityList\": [\n \"string\"\n ],\n \"findingType\": [\n \"string\"\n ],\n \"riskFactors\": [\n \"CRITICAL_SEVERITY\"\n ],\n \"rrn\": \"string\",\n \"rrnList\": [\n \"string\"\n ],\n \"timelineItemId\": \"string\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/resource/network", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "resource", + "network" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-network-for-resource/](https://pan.dev/prisma-cloud/api/cspm/get-network-for-resource/)" + }, + "response": [] }, - "description": "Returns list of user role IDs and names." - }, - "response": [] - }, - { - "name": "User Role Info", - "request": { - "method": "GET", - "header": [ - { - "key": "accept", - "type": "text", - "value": "application/json; charset=UTF-8" - }, - { - "key": "content-type", - "type": "text", - "value": "application/json" - }, - { - "key": "x-redlock-auth", - "type": "text", - "value": "{{token}}" - } - ], - "url": { - "raw": "https://{{api-endpoint}}/user/role/ROLE_ID_HERE", - "protocol": "https", - "host": [ - "{{api-endpoint}}" - ], - "path": [ - "user", - "role", - "ROLE_ID_HERE" - ] + { + "name": "List Host Findings For Alert", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/resource/external_finding?alertID&type&source", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "resource", + "external_finding" + ], + "query": [ + { + "key": "alertID", + "value": null + }, + { + "key": "type", + "value": null + }, + { + "key": "source", + "value": null + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-host-findings-for-alert/](https://pan.dev/prisma-cloud/api/cspm/get-host-findings-for-alert/)" + }, + "response": [] }, - "description": "Retrieve all information about an user role using its ID." - }, - "response": [] - }, - { - "name": "Update User Role", - "request": { - "method": "PUT", - "header": [ - { - "key": "accept", - "type": "text", - "value": "application/json; charset=UTF-8" - }, - { - "key": "content-type", - "type": "text", - "value": "application/json" - }, - { - "key": "x-redlock-auth", - "type": "text", - "value": "{{token}}" - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"name\": \"ROLE_NAME\",\n \"description\": \"Role Description\",\n \"roleType\": \"PERMISSION_GROUP_NAME\",\n \"accountGroupIds\": [\"ACCOUNT_GROUP_ID\"],\n \"resourceListIds\": [\"RESOURCE_LIST_IDS\"],\n \"associatedUsers\": [\"ASSOCIATED_USERS\"],\n \"restrictDismissalAccess\": false,\n \"additionalAttributes\": {\n \"onlyAllowCIAccess\": false,\n \"onlyAllowComputeAccess\": false,\n \"hasDefenderPermissions\": false,\n \"onlyAllowReadAccess\": false\n }\n}" - }, - "url": { - "raw": "https://{{api-endpoint}}/user/role/ROLE_ID_HERE", - "protocol": "https", - "host": [ - "{{api-endpoint}}" - ], - "path": [ - "user", - "role", - "ROLE_ID_HERE" - ] + { + "name": "List Host Findings", + "request": { + "method": "POST", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"excludeSeverityList\": [\n \"string\"\n ],\n \"findingType\": [\n \"string\"\n ],\n \"riskFactors\": [\n \"CRITICAL_SEVERITY\"\n ],\n \"rrn\": \"string\",\n \"rrnList\": [\n \"string\"\n ],\n \"timelineItemId\": \"string\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/resource/external_finding", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "resource", + "external_finding" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-host-findings/](https://pan.dev/prisma-cloud/api/cspm/get-host-findings/)" + }, + "response": [] }, - "description": "Updates a specific user role based upon ID. " - }, - "response": [] + { + "name": "Get External Ingest Integrations for the resource", + "request": { + "method": "POST", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"excludeSeverityList\": [\n \"string\"\n ],\n \"findingType\": [\n \"string\"\n ],\n \"riskFactors\": [\n \"CRITICAL_SEVERITY\"\n ],\n \"rrn\": \"string\",\n \"rrnList\": [\n \"string\"\n ],\n \"timelineItemId\": \"string\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/resource/external_finding", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "resource", + "external_finding" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-external-integrations-for-resource/](https://pan.dev/prisma-cloud/api/cspm/get-external-integrations-for-resource/)" + }, + "response": [] + } + ], + "description": "[https://pan.dev/prisma-cloud/api/cspm/resource-explorer/](https://pan.dev/prisma-cloud/api/cspm/resource-explorer/)\n\n### Where Do I Find the RRN For My Resource?[​](https://pan.dev/prisma-cloud/api/cspm/resource-explorer/#where-do-i-find-the-rrn-for-my-resource)\n\nWhere Do I Find the RRN For My Resource?\\\\n\\\\nYou can find the RRN for a resource in the URL when you navigate to **Data Inventory > {Total Objects} > {Object Name} > {Resource Name}**.\\\\nThe following is an example of such a URL. The RRN is in the URL query string.\n\n```\nhttps://app.prismacloud.io/investigate/details?resourceId=rrn:aws:storageBucket:us-east-1:123456789012:test-bucket \n\n ```\n\n### Account Representation[​](https://pan.dev/prisma-cloud/api/cspm/resource-explorer/#account-representation)\n\nIf the **regionId** and **resourceId** are not in the RRN, then the **cloudType** and **resourceType** fields in thr RRN are optional. In this situation, the RRN identifies an account.\n\nFull RRN:\n\n```\nrrn:::us-west-1:12345678901:i-ABCDEFGH\n\n ```\n\nAbridged RRN:\n\n```\nrrn::::12345678901\n\n ```\n\n[](https://pan.dev/prisma-cloud/api/cspm/get-resource/)" }, { - "name": "Delete User Role", - "request": { - "method": "DELETE", - "header": [ - { - "key": "accept", - "type": "text", - "value": "application/json; charset=UTF-8" - }, - { - "key": "content-type", - "type": "text", - "value": "application/json" - }, - { - "key": "x-redlock-auth", - "type": "text", - "value": "{{token}}" - } - ], - "url": { - "raw": "https://{{api-endpoint}}/user/role/ROLE_ID_HERE", - "protocol": "https", - "host": [ - "{{api-endpoint}}" - ], - "path": [ - "user", - "role", - "ROLE_ID_HERE" - ] - }, - "description": "Delete a specific user Role." - }, - "response": [] - } - ] - }, - { - "name": "Access Keys", - "item": [ - { - "name": "List Access Keys", - "request": { - "method": "GET", - "header": [ - { - "key": "accept", - "type": "text", - "value": "application/json; charset=UTF-8" - }, - { - "key": "content-type", - "type": "text", - "value": "application/json" - }, - { - "key": "x-redlock-auth", - "type": "text", - "value": "{{token}}" - } - ], - "url": { - "raw": "https://{{api-endpoint}}/access_keys", - "protocol": "https", - "host": [ - "{{api-endpoint}}" - ], - "path": [ - "access_keys" - ] + "name": "Resource Lists", + "item": [ + { + "name": "Get Resource Lists", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "https://{{api-endpoint}}/v1/resource_list?listType", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "v1", + "resource_list" + ], + "query": [ + { + "key": "listType", + "value": null, + "description": "Possible values: [TAG] - Resource list type" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-all-resource-list-for-customer/](https://pan.dev/prisma-cloud/api/cspm/get-all-resource-list-for-customer/)" + }, + "response": [] }, - "description": "Lists all access keys within the current Prisma Cloud tenant. " - }, - "response": [] - }, - { - "name": "List Access Keys Copy", - "request": { - "method": "POST", - "header": [ - { - "key": "accept", - "type": "text", - "value": "application/json; charset=UTF-8" - }, - { - "key": "content-type", - "type": "text", - "value": "application/json" - }, - { - "key": "x-redlock-auth", - "type": "text", - "value": "{{token}}" - } - ], - "body": { - "mode": "raw", - "raw": "{\n\t\"name\":\"ACCESS_KEY_ID\",\n\t\"expiresOn\":9999999999\n}" - }, - "url": { - "raw": "https://{{api-endpoint}}/access_keys", - "protocol": "https", - "host": [ - "{{api-endpoint}}" - ], - "path": [ - "access_keys" - ] + { + "name": "Add Resource List", + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"description\": \"string\",\n \"members\": \"string\",\n \"name\": \"string\",\n \"resourceListType\": \"TAG\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/v1/resource_list", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "v1", + "resource_list" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/add-resource-list/](https://pan.dev/prisma-cloud/api/cspm/add-resource-list/)" + }, + "response": [] }, - "description": "Creates access key with the current users permissions, and sets expiry in milliseconds. " - }, - "response": [] - }, - { - "name": "Get Access Key by ID", - "request": { - "method": "GET", - "header": [ - { - "key": "accept", - "type": "text", - "value": "application/json; charset=UTF-8" - }, - { - "key": "content-type", - "type": "text", - "value": "application/json" - }, - { - "key": "x-redlock-auth", - "type": "text", - "value": "{{token}}" - } - ], - "url": { - "raw": "https://{{api-endpoint}}/access_keys/ACCESS_KEY_ID", - "protocol": "https", - "host": [ - "{{api-endpoint}}" - ], - "path": [ - "access_keys", - "ACCESS_KEY_ID" - ] + { + "name": "Get Resource List Types", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/v1/resource_list/types", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "v1", + "resource_list", + "types" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-resource-list-types/](https://pan.dev/prisma-cloud/api/cspm/get-resource-list-types/)" + }, + "response": [] }, - "description": "Lists a specific access key related to ID. " - }, - "response": [] - }, - { - "name": "Update Access Key", - "request": { - "method": "PUT", - "header": [ - { - "key": "accept", - "type": "text", - "value": "application/json; charset=UTF-8" - }, - { - "key": "content-type", - "type": "text", - "value": "application/json" - }, - { - "key": "x-redlock-auth", - "type": "text", - "value": "{{token}}" - } - ], - "body": { - "mode": "raw", - "raw": "{\n\t\"name\":\"ACCESS_KEY_NAME\",\n\t\"expiresOn\":999999999\n}" - }, - "url": { - "raw": "https://{{api-endpoint}}/access_keys/ACCESS_KEY_ID", - "protocol": "https", - "host": [ - "{{api-endpoint}}" - ], - "path": [ - "access_keys", - "ACCESS_KEY_ID" - ] + { + "name": "Get Resource List by ID", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/v1/resource_list/:id", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "v1", + "resource_list", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-resource-list-by-id/](https://pan.dev/prisma-cloud/api/cspm/get-resource-list-by-id/)" + }, + "response": [] }, - "description": "Updates a specific access key within the current Prisma Cloud tenant. " - }, - "response": [] - }, - { - "name": "Delete Access Key", - "request": { - "method": "DELETE", - "header": [ - { - "key": "accept", - "type": "text", - "value": "application/json; charset=UTF-8" - }, - { - "key": "content-type", - "type": "text", - "value": "application/json" - }, - { - "key": "x-redlock-auth", - "type": "text", - "value": "{{token}}" - } - ], - "url": { - "raw": "https://{{api-endpoint}}/access_keys/ACCESS_KEY_ID", - "protocol": "https", - "host": [ - "{{api-endpoint}}" - ], - "path": [ - "access_keys", - "ACCESS_KEY_ID" - ] + { + "name": "Update Resource List", + "request": { + "method": "PUT", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"description\": \"string\",\n \"members\": \"string\",\n \"name\": \"string\",\n \"resourceListType\": \"TAG\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/v1/resource_list/:id", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "v1", + "resource_list", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/update-resource-list/](https://pan.dev/prisma-cloud/api/cspm/update-resource-list/)" + }, + "response": [] }, - "description": "Deletes a specific access key in the current Prisma Cloud tenant. " - }, - "response": [] + { + "name": "Delete Resource List", + "request": { + "method": "DELETE", + "header": [], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/v1/resource_list/:id", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "v1", + "resource_list", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/delete-resource-list-by-id/](https://pan.dev/prisma-cloud/api/cspm/delete-resource-list-by-id/)" + }, + "response": [] + } + ], + "description": "[https://pan.dev/prisma-cloud/api/cspm/resource-lists/](https://pan.dev/prisma-cloud/api/cspm/resource-lists/)\n\nA Resource List is a way to identify resources that are assigned with a specific tag or label." }, { - "name": "Update Access Key Status", - "request": { - "method": "PATCH", - "header": [ - { - "key": "accept", - "type": "text", - "value": "application/json; charset=UTF-8" - }, - { - "key": "content-type", - "type": "text", - "value": "application/json" - }, - { - "key": "x-redlock-auth", - "type": "text", - "value": "{{token}}" - } - ], - "url": { - "raw": "https://{{api-endpoint}}/access_keys/ACCESS_KEY_ID/status/TRUE_OR_FALSE", - "protocol": "https", - "host": [ - "{{api-endpoint}}" - ], - "path": [ - "access_keys", - "ACCESS_KEY_ID", - "status", - "TRUE_OR_FALSE" - ] + "name": "Search Manager", + "item": [ + { + "name": "View Search History", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/search/history?filter&limit", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "search", + "history" + ], + "query": [ + { + "key": "filter", + "value": null, + "description": "Available values: recent, saved" + }, + { + "key": "limit", + "value": null, + "description": "Maximum number of searches to be returned. A single API call retrieves a maximum of 1000 searches, which is also the default. Setting the limit to -1 will also return the default." + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/search-history/](https://pan.dev/prisma-cloud/api/cspm/search-history/)" + }, + "response": [] }, - "description": "Updates a specific access key based on ID, and set to active = true/false. " - }, - "response": [] - } - ] - }, - { - "name": "Cloud Accounts", - "item": [ - { - "name": "List Cloud Accounts", - "request": { - "method": "GET", - "header": [ - { - "key": "accept", - "type": "text", - "value": "application/json; charset=UTF-8" - }, - { - "key": "content-type", - "type": "text", - "value": "application/json" - }, - { - "key": "x-redlock-auth", - "type": "text", - "value": "{{token}}" - } - ], - "url": { - "raw": "https://{{api-endpoint}}/cloud", - "protocol": "https", - "host": [ - "{{api-endpoint}}" - ], - "path": [ - "cloud" - ] + { + "name": "Get Search Query by ID", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/search/history/:id", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "search", + "history", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/search-history-by-id/](https://pan.dev/prisma-cloud/api/cspm/search-history-by-id/)" + }, + "response": [] }, - "description": "Lists all accounts groups and cloud accounts in the current Prisma Cloud tenant. " - }, - "response": [] - }, - { - "name": "List Cloud Account Names", - "request": { - "method": "GET", - "header": [ - { - "key": "accept", - "type": "text", - "value": "application/json; charset=UTF-8" - }, - { - "key": "content-type", - "type": "text", - "value": "application/json" - }, - { - "key": "x-redlock-auth", - "type": "text", - "value": "{{token}}" - } - ], - "url": { - "raw": "https://{{api-endpoint}}/cloud/name?onlyActive=true&accountGroupIds=ACCOUNT_GROUP_ID&cloudType=CLOUD_TYPE", - "protocol": "https", - "host": [ - "{{api-endpoint}}" - ], - "path": [ - "cloud", - "name" - ], - "query": [ - { - "key": "onlyActive", - "value": "true", - "description": "Can be true or false" + { + "name": "Manage a Search Query", + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"cloudType\": \"aws\",\n \"default\": true,\n \"description\": \"string\",\n \"id\": \"string\",\n \"name\": \"string\",\n \"query\": \"string\",\n \"saved\": true,\n \"timeRange\": {\n \"relativeTimeType\": \"BACKWARD\",\n \"type\": \"relative\",\n \"value\": {\n \"amount\": 0,\n \"unit\": \"minute\"\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } }, - { - "key": "accountGroupIds", - "value": "ACCOUNT_GROUP_ID", - "description": "ID of the account group" + "url": { + "raw": "https://{{api-endpoint}}/search/history/:id", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "search", + "history", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "" + } + ] }, - { - "key": "cloudType", - "value": "CLOUD_TYPE", - "description": "aws, azure, gcp, or alibaba_cloud" - } - ] + "description": "[https://pan.dev/prisma-cloud/api/cspm/search-history-manage/](https://pan.dev/prisma-cloud/api/cspm/search-history-manage/)" + }, + "response": [] }, - "description": "Lists all Cloud Account names within the current Prisma Cloud tenant. " - }, - "response": [] + { + "name": "Delete Saved Search Query", + "request": { + "method": "DELETE", + "header": [], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/search/history/:id", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "search", + "history", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "" + } + ] + } + }, + "response": [] + } + ], + "description": "[https://pan.dev/prisma-cloud/api/cspm/search-manager/](https://pan.dev/prisma-cloud/api/cspm/search-manager/)\n\nThe Search Manager APIs enable you to manage your recent and saved Resource Query Language (RQL) queries." }, { - "name": "List Cloud Org Accounts", - "request": { - "method": "GET", - "header": [ - { - "key": "accept", - "type": "text", - "value": "application/json; charset=UTF-8" - }, - { - "key": "content-type", - "type": "text", - "value": "application/json" - }, - { - "key": "x-redlock-auth", - "type": "text", - "value": "{{token}}" - } - ], - "url": { - "raw": "https://{{api-endpoint}}/cloud/CLOUD_TYPE/CLOUD_ACCOUNT_ID/project", - "protocol": "https", - "host": [ - "{{api-endpoint}}" - ], - "path": [ - "cloud", - "CLOUD_TYPE", - "CLOUD_ACCOUNT_ID", - "project" - ] + "name": "Search", + "item": [ + { + "name": "Perform Network Search", + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"cloudType\": \"aws\",\n \"id\": \"string\",\n \"name\": \"string\",\n \"description\": \"string\",\n \"saved\": true,\n \"timeRange\": {\n \"type\": \"relative\",\n \"value\": {\n \"unit\": \"minute\",\n \"amount\": 0\n }\n },\n \"query\": \"string\",\n \"default\": true\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/search", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "search" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/search-network/](https://pan.dev/prisma-cloud/api/cspm/search-network/)" + }, + "response": [] }, - "description": "List all cloud accounts onboarded as children of an Org account." - }, - "response": [] - }, - { - "name": "List Cloud Types", - "request": { - "method": "GET", - "header": [ - { - "key": "accept", - "type": "text", - "value": "application/json; charset=UTF-8" - }, - { - "key": "content-type", - "type": "text", - "value": "application/json" - }, - { - "key": "x-redlock-auth", - "type": "text", - "value": "{{token}}" - } - ], - "url": { - "raw": "https://{{api-endpoint}}/cloud/type", - "protocol": "https", - "host": [ - "{{api-endpoint}}" - ], - "path": [ - "cloud", - "type" - ] + { + "name": "Search Alerts by ID", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/search/alert?alertID", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "search", + "alert" + ], + "query": [ + { + "key": "alertID", + "value": null + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/search-for-alert-by-id/](https://pan.dev/prisma-cloud/api/cspm/search-for-alert-by-id/)" + }, + "response": [] }, - "description": "List all current cloud types. " - }, - "response": [] - }, - { - "name": "Add Cloud Account (AWS)", - "request": { - "method": "POST", - "header": [ - { - "key": "accept", - "type": "text", - "value": "application/json; charset=UTF-8" - }, - { - "key": "content-type", - "type": "text", - "value": "application/json" - }, - { - "key": "x-redlock-auth", - "type": "text", - "value": "{{token}}" - } - ], - "body": { - "mode": "raw", - "raw": "{\n\t\"accountId\":\"AWS_ACCOUNT_ID\",\n\t\"enabled\":true,\n\t\"externalId\":\"AWS_EXTERNAL_ID\",\n\t\"groupIds\": [],\n\t\"name\":\"FRIENDLY_NAME\",\n\t\"roleArn\":\"AWS_ROLE_ARN\"\n}" - }, - "url": { - "raw": "https://{{api-endpoint}}/cloud/aws", - "protocol": "https", - "host": [ - "{{api-endpoint}}" - ], - "path": [ - "cloud", - "aws" - ] + { + "name": "Perform Config Search by Query", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"skipSearchCreation\": true,\n \"limit\": 0,\n \"withResourceJson\": true,\n \"timeRange\": {\n \"type\": \"relative\",\n \"value\": {\n \"unit\": \"minute\",\n \"amount\": 0\n }\n },\n \"skipResult\": true,\n \"sort\": [\n {\n \"field\": \"ID\",\n \"direction\": \"asc\"\n }\n ],\n \"query\": \"string\",\n \"nextPageToken\": \"string\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/search/api/v1/config", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "search", + "api", + "v1", + "config" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/search-config-by-query/](https://pan.dev/prisma-cloud/api/cspm/search-config-by-query/)" + }, + "response": [] }, - "description": "Adds a new AWS Cloud Account from the body parameters" - }, - "response": [] - }, - { - "name": "Add Cloud Account (Azure)", - "request": { - "method": "POST", - "header": [ - { - "key": "accept", - "type": "text", - "value": "application/json; charset=UTF-8" - }, - { - "key": "content-type", - "type": "text", - "value": "application/json" - }, - { - "key": "x-redlock-auth", - "type": "text", - "value": "{{token}}" - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"cloudAccount\": \n {\n \"accountId\": \"AZURE_SUBSCRIPTION_ID\",\n \"enabled\": true,\n \"groupIds\": [],\n \"name\": \"FRIENDLY_NAME\"\n },\n \"clientId\": \"APPLICATION_ID\",\n \"key\": \"APPLICATION_SECRET\",\n \"monitorFlowLogs\": true,\n \"tenantId\": \"AZURE_AD_ID\",\n \"servicePrincipalId\": \"ENTERPRISE_APP_OBJECT_ID\"\n}" - }, - "url": { - "raw": "https://{{api-endpoint}}/cloud/azure", - "protocol": "https", - "host": [ - "{{api-endpoint}}" - ], - "path": [ - "cloud", - "azure" - ] + { + "name": "Perform Asynchronous Config Search", + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"timeRange\": {\n \"type\": \"relative\",\n \"value\": {\n \"unit\": \"minute\",\n \"amount\": 0\n }\n },\n \"sort\": [\n {\n \"field\": \"ID\",\n \"direction\": \"asc\"\n }\n ],\n \"query\": \"string\",\n \"savedSearchId\": \"string\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/search/api/v1/config/async", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "search", + "api", + "v1", + "config", + "async" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/search-config-async-csv-download/](https://pan.dev/prisma-cloud/api/cspm/search-config-async-csv-download/)" + }, + "response": [] }, - "description": "Adds a new Azure Cloud Account from the body parameters" - }, - "response": [] - }, - { - "name": "Add Cloud Account (GCP)", - "request": { - "method": "POST", - "header": [ - { - "key": "accept", - "type": "text", - "value": "application/json; charset=UTF-8" - }, - { - "key": "content-type", - "type": "text", - "value": "application/json" - }, - { - "key": "x-redlock-auth", - "type": "text", - "value": "{{token}}" - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"cloudAccount\": \n {\n \"accountId\": \"GCP_PROJECT_ID\",\n \"enabled\": true,\n \"groupIds\": [],\n \"name\": \"FRIENDLY_NAME\" \n },\n \"compressionEnabled\": false,\n \"dataflowEnabledProject\": \"\",\n \"flowLogStorageBucket\": \"\",\n \"credentials\": \n {\n \"type\": \"\",\n \"project_id\": \"\",\n \"private_key_id\": \"\",\n \"private_key\": \"\",\n \"client_email\": \"\",\n \"client_id\": \"\",\n \"auth_uri\": \"\",\n \"token_uri\": \"\",\n \"auth_provider_x509_cert_url\": \"\",\n \"client_x509_cert_url\": \"\"\n }\n}" - }, - "url": { - "raw": "https://{{api-endpoint}}/cloud/gcp", - "protocol": "https", - "host": [ - "{{api-endpoint}}" - ], - "path": [ - "cloud", - "gcp" - ] + { + "name": "Download Config Search as CSV", + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"timeRange\": {\n \"type\": \"relative\",\n \"value\": {\n \"unit\": \"minute\",\n \"amount\": 0\n }\n },\n \"sort\": [\n {\n \"field\": \"ID\",\n \"direction\": \"asc\"\n }\n ],\n \"query\": \"string\",\n \"savedSearchId\": \"string\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/search/api/v1/config/download", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "search", + "api", + "v1", + "config", + "download" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/search-config-csv-download/](https://pan.dev/prisma-cloud/api/cspm/search-config-csv-download/)" + }, + "response": [] }, - "description": "Adds a new GCP Cloud Account from the body parameters.\n\"Credentials\" section is the entire JSON file from the service account key creation." - }, - "response": [] - }, - { - "name": "Add Cloud Account (AliCloud)", - "request": { - "method": "POST", - "header": [ - { - "key": "accept", - "type": "text", - "value": "application/json; charset=UTF-8" - }, - { - "key": "content-type", - "type": "text", - "value": "application/json" - }, - { - "key": "x-redlock-auth", - "type": "text", - "value": "{{token}}" - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"accountId\": \"ALIBABA_ACCOUNT_ID\",\n \"groupIds\": [],\n \"name\": \"FRIENDLY_NAME\",\n \"ramArn\": \"ALIBABA_RAM_RESOURCE\"\n}" - }, - "url": { - "raw": "https://{{api-endpoint}}/cloud/alibaba_cloud", - "protocol": "https", - "host": [ - "{{api-endpoint}}" - ], - "path": [ - "cloud", - "alibaba_cloud" - ] + { + "name": "Perform Config Search", + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"limit\": 0,\n \"withResourceJson\": true,\n \"startTime\": 0,\n \"skipResult\": true,\n \"sort\": [\n {\n \"field\": \"ID\",\n \"direction\": \"asc\"\n }\n ],\n \"query\": \"string\",\n \"nextPageToken\": \"string\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/search/api/v2/config", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "search", + "api", + "v2", + "config" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/search-config-v-2/](https://pan.dev/prisma-cloud/api/cspm/search-config-v-2/)" + }, + "response": [] }, - "description": "Adds a new Alibaba Cloud Account from the body parameters" - }, - "response": [] - }, - { - "name": "Cloud Account Info", - "request": { - "method": "GET", - "header": [ - { - "key": "accept", - "type": "text", - "value": "application/json; charset=UTF-8" - }, - { - "key": "content-type", - "type": "text", - "value": "application/json" - }, - { - "key": "x-redlock-auth", - "type": "text", - "value": "{{token}}" - } - ], - "url": { - "raw": "https://{{api-endpoint}}/cloud/CLOUD_TYPE/CLOUD_ID", - "protocol": "https", - "host": [ - "{{api-endpoint}}" - ], - "path": [ - "cloud", - "CLOUD_TYPE", - "CLOUD_ID" - ] + { + "name": "Perform Config Search by Search Id", + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"limit\": 0,\n \"withResourceJson\": true,\n \"startTime\": 0,\n \"sort\": [\n {\n \"field\": \"ID\",\n \"direction\": \"asc\"\n }\n ],\n \"nextPageToken\": \"string\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/search/api/v2/config/:id", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "search", + "api", + "v2", + "config", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/search-config-by-search-id-v-2/](https://pan.dev/prisma-cloud/api/cspm/search-config-by-search-id-v-2/)" + }, + "response": [] }, - "description": "Get information about a specific cloud account. " - }, - "response": [] - }, - { - "name": "Update Cloud Account (AWS)", - "request": { - "method": "PUT", - "header": [ - { - "key": "accept", - "type": "text", - "value": "application/json; charset=UTF-8" - }, - { - "key": "content-type", - "type": "text", - "value": "application/json" - }, - { - "key": "x-redlock-auth", - "type": "text", - "value": "{{token}}" - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"name\": \"CLOUD_ACCOUNT_NAME\",\n \"cloudType\": \"aws\",\n \"accountType\": \"account\",\n \"enabled\": true,\n \"lastModifiedTs\": 1607368494285,\n \"lastModifiedBy\": \"email\",\n \"storageScanEnabled\": true,\n \"storageUUID\": \"GUID\",\n \"protectionMode\": \"MONITOR_AND_PROTECT\",\n \"ingestionMode\": 7,\n \"groupIds\": [\n \"207697d0-b35c-41dc-ae37-b5aab4a45ccc\"\n ],\n \"externalId\": \"b09b59d4-26b4-44aa-8aa9-b57d0adda748\",\n \"roleArn\": \"arn:aws:iam::CLOUD_ACCOUNT_ID:role/PrismaCloudReadWriteRoleWithDLP\",\n \"canonicalId\": \"dd02d7e04eeb0b8e70f08756cffd062a34d7defcca7c121373df79d9006f51ea\",\n \"storageScanConfig\": {\n \"scanOption\": \"Custom\",\n \"buckets\": {\n \"backward\": [\n \"\"\n ],\n \"forward\": [\n \"\"\n ]\n },\n \"snsTopicArn\": \"arn:aws:sns:us-east-1:CLOUD_ACCOUNT_ID:PrismaCloudSNS\"\n },\n \"cloudAccountStatus\": {\n \"accountId\": \"CLOUD_ACCOUNT_ID\",\n \"lastUpdated\": 1607389350494,\n \"lastFullSnapshot\": 1607119740164,\n \"ingestionEndTime\": 0,\n \"cloudType\": \"aws\"\n },\n \"assumeRoleAccount\": \"REDLOCK\",\n \"accountId\": \"CLOUD_ACCOUNT_ID\",\n \"addedOn\": 1607119031817\n}" - }, - "url": { - "raw": "https://{{api-endpoint}}/cloud/CLOUD_TYPE/CLOUD_ID?skipStatusChecks=true", - "protocol": "https", - "host": [ - "{{api-endpoint}}" - ], - "path": [ - "cloud", - "CLOUD_TYPE", - "CLOUD_ID" - ], - "query": [ - { - "key": "skipStatusChecks", - "value": "true" - } - ] + { + "name": "Submit Search Config CSV Generation Job", + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"searchName\": \"string\",\n \"searchDescription\": \"string\",\n \"withResourceJson\": true,\n \"timeRange\": {\n \"type\": \"relative\",\n \"value\": {\n \"unit\": \"minute\",\n \"amount\": 0\n }\n },\n \"sort\": [\n {\n \"field\": \"ID\",\n \"direction\": \"asc\"\n }\n ],\n \"limit\": 0,\n \"id\": \"string\",\n \"query\": \"string\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/search/config/jobs", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "search", + "config", + "jobs" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/submit-an-search-config-csv-download-job/](https://pan.dev/prisma-cloud/api/cspm/submit-an-search-config-csv-download-job/)" + }, + "response": [] }, - "description": "Updates an existing AWS Cloud Account from the body parameters" - }, - "response": [] - }, - { - "name": "Add Cloud Account (Azure)", - "request": { - "method": "POST", - "header": [ - { - "key": "accept", - "type": "text", - "value": "application/json; charset=UTF-8" - }, - { - "key": "content-type", - "type": "text", - "value": "application/json" - }, - { - "key": "x-redlock-auth", - "type": "text", - "value": "{{token}}" - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"cloudAccount\": \n {\n \"accountId\": \"AZURE_SUBSCRIPTION_ID\",\n \"enabled\": true,\n \"groupIds\": [],\n \"name\": \"FRIENDLY_NAME\"\n },\n \"clientId\": \"APPLICATION_ID\",\n \"key\": \"APPLICATION_SECRET\",\n \"monitorFlowLogs\": true,\n \"tenantId\": \"AZURE_AD_ID\",\n \"servicePrincipalId\": \"ENTERPRISE_APP_OBJECT_ID\"\n}" - }, - "url": { - "raw": "https://{{api-endpoint}}/cloud/azure/CLOUD_ACCOUNT_ID", - "protocol": "https", - "host": [ - "{{api-endpoint}}" - ], - "path": [ - "cloud", - "azure", - "CLOUD_ACCOUNT_ID" - ] + { + "name": "Download Async Config Search CSV", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/search/config/jobs/:id/download", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "search", + "config", + "jobs", + ":id", + "download" + ], + "variable": [ + { + "key": "id", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/async-search-config-csv/](https://pan.dev/prisma-cloud/api/cspm/async-search-config-csv/)" + }, + "response": [] }, - "description": "Updates and existing Azure Cloud Account from the body parameters" - }, - "response": [] - }, - { - "name": "Add Cloud Account (GCP)", - "request": { - "method": "PUT", - "header": [ - { - "key": "accept", - "type": "text", - "value": "application/json; charset=UTF-8" - }, - { - "key": "content-type", - "type": "text", - "value": "application/json" - }, - { - "key": "x-redlock-auth", - "type": "text", - "value": "{{token}}" - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"cloudAccount\": \n {\n \"accountId\": \"GCP_PROJECT_ID\",\n \"enabled\": true,\n \"groupIds\": [],\n \"name\": \"FRIENDLY_NAME\" \n },\n \"compressionEnabled\": false,\n \"dataflowEnabledProject\": \"\",\n \"flowLogStorageBucket\": \"\",\n \"credentials\": \n {\n \"type\": \"\",\n \"project_id\": \"\",\n \"private_key_id\": \"\",\n \"private_key\": \"\",\n \"client_email\": \"\",\n \"client_id\": \"\",\n \"auth_uri\": \"\",\n \"token_uri\": \"\",\n \"auth_provider_x509_cert_url\": \"\",\n \"client_x509_cert_url\": \"\"\n }\n}" - }, - "url": { - "raw": "https://{{api-endpoint}}/cloud/gcp/CLOUD_ACCOUNT_ID", - "protocol": "https", - "host": [ - "{{api-endpoint}}" - ], - "path": [ - "cloud", - "gcp", - "CLOUD_ACCOUNT_ID" - ] + { + "name": "Get The Next Config Search Page", + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"limit\": 0,\n \"withResourceJson\": true,\n \"pageToken\": \"string\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/search/config/page", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "search", + "config", + "page" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/search-config-page/](https://pan.dev/prisma-cloud/api/cspm/search-config-page/)" + }, + "response": [] }, - "description": "Updates and existing GCP Cloud Account from the body parameters.\n\"Credentials\" section is the entire JSON file from the service account key creation." - }, - "response": [] - }, - { - "name": "Add Cloud Account (AliCloud)", - "request": { - "method": "POST", - "header": [ - { - "key": "accept", - "type": "text", - "value": "application/json; charset=UTF-8" - }, - { - "key": "content-type", - "type": "text", - "value": "application/json" - }, - { - "key": "x-redlock-auth", - "type": "text", - "value": "{{token}}" - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"accountId\": \"ALIBABA_ACCOUNT_ID\",\n \"groupIds\": [],\n \"name\": \"FRIENDLY_NAME\",\n \"ramArn\": \"ALIBABA_RAM_RESOURCE\"\n}" - }, - "url": { - "raw": "https://{{api-endpoint}}/cloud/alibaba_cloud/CLOUD_ACCOUNT_ID", - "protocol": "https", - "host": [ - "{{api-endpoint}}" - ], - "path": [ - "cloud", - "alibaba_cloud", - "CLOUD_ACCOUNT_ID" - ] + { + "name": "Perform Event Search", + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"timeRange\": {\n \"type\": \"relative\",\n \"value\": {\n \"unit\": \"minute\",\n \"amount\": 0\n }\n },\n \"groupBy\": [\n \"string\"\n ],\n \"filters\": [\n {\n \"name\": \"string\",\n \"value\": \"string\",\n \"operator\": \"=\"\n }\n ],\n \"alertId\": \"string\",\n \"sort\": [\n {\n \"field\": \"ID\",\n \"direction\": \"asc\"\n }\n ],\n \"limit\": 0,\n \"id\": \"string\",\n \"query\": \"string\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/search/event", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "search", + "event" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/search-events/](https://pan.dev/prisma-cloud/api/cspm/search-events/)" + }, + "response": [] }, - "description": "Updates and existing Alibaba Cloud Account from the body parameters" - }, - "response": [] - }, - { - "name": "CAUTION - DELETE Cloud Account", - "request": { - "method": "DELETE", - "header": [ - { - "key": "accept", - "type": "text", - "value": "application/json; charset=UTF-8" - }, - { - "key": "content-type", - "type": "text", - "value": "application/json" - }, - { - "description": "CAUTION, DISABLED AS TO NOT ACCIDENTALLY REMOVE CLOUD ACCOUNTS", - "key": "x-redlock-auth", - "type": "text", - "value": "{{token}}" - } - ], - "url": { - "raw": "https://{{api-endpoint}}/cloud/gcp/CLOUD_ACCOUNT_ID", - "protocol": "https", - "host": [ - "{{api-endpoint}}" - ], - "path": [ - "cloud", - "gcp", - "CLOUD_ACCOUNT_ID" - ] + { + "name": "Aggregated Event Search", + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"timeRange\": {\n \"type\": \"relative\",\n \"value\": {\n \"unit\": \"minute\",\n \"amount\": 0\n }\n },\n \"groupBy\": [\n \"string\"\n ],\n \"filters\": [\n {\n \"name\": \"string\",\n \"value\": \"string\",\n \"operator\": \"=\"\n }\n ],\n \"alertId\": \"string\",\n \"sort\": [\n {\n \"field\": \"ID\",\n \"direction\": \"asc\"\n }\n ],\n \"limit\": 0,\n \"id\": \"string\",\n \"query\": \"string\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/search/event/aggregate", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "search", + "event", + "aggregate" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/search-events-aggregated/](https://pan.dev/prisma-cloud/api/cspm/search-events-aggregated/)" + }, + "response": [] }, - "description": "Deletes a specific cloud account from the Prisma Cloud tenant. \nThe account and associated data will be deleted in 24 hours. If you accidentally deleted the account, you can add it back within 24 hours and have all the associated data restored.\n\n** The \"x-redlock-auth\" has been disabled for this specific call, re-enable at your own risk**" - }, - "response": [] - }, - { - "name": "Patch Cloud Account", - "request": { - "method": "PATCH", - "header": [ - { - "key": "accept", - "type": "text", - "value": "application/json; charset=UTF-8" - }, - { - "key": "content-type", - "type": "text", - "value": "application/json" - }, - { - "key": "x-redlock-auth", - "type": "text", - "value": "{{token}}" - } - ], - "body": { - "mode": "raw", - "raw": "{\n\t\"groupIds\":[\"ACCOUNT_GROUP_IDS\"],\n\t\"enabled\":true,\n\t\"updateChildrenStatus\":true\n}" - }, - "url": { - "raw": "https://{{api-endpoint}}/CLOUD_TYPE/CLOUD_ID", - "protocol": "https", - "host": [ - "{{api-endpoint}}" - ], - "path": [ - "CLOUD_TYPE", - "CLOUD_ID" - ] + { + "name": "Filter Event Search Results", + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"timeRange\": {\n \"type\": \"relative\",\n \"value\": {\n \"unit\": \"minute\",\n \"amount\": 0\n }\n },\n \"groupBy\": [\n \"string\"\n ],\n \"filters\": [\n {\n \"name\": \"string\",\n \"value\": \"string\",\n \"operator\": \"=\"\n }\n ],\n \"alertId\": \"string\",\n \"sort\": [\n {\n \"field\": \"ID\",\n \"direction\": \"asc\"\n }\n ],\n \"limit\": 0,\n \"id\": \"string\",\n \"query\": \"string\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/search/event/filtered", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "search", + "event", + "filtered" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/search-events-filtered/](https://pan.dev/prisma-cloud/api/cspm/search-events-filtered/)" + }, + "response": [] }, - "description": "Enable or disable a cloud account (and children) or update Account Groups. " - }, - "response": [] - }, - { - "name": "Get Cloud Account Status (AWS)", - "request": { - "method": "POST", - "header": [ - { - "key": "accept", - "type": "text", - "value": "application/json; charset=UTF-8" - }, - { - "key": "content-type", - "type": "text", - "value": "application/json" - }, - { - "key": "x-redlock-auth", - "type": "text", - "value": "{{token}}" - } - ], - "body": { - "mode": "raw", - "raw": "{\n\t\"accountId\":\"AWS_ACCOUNT_ID\",\n\t\"enabled\":true,\n\t\"externalId\":\"AWS_EXTERNAL_ID\",\n\t\"groupIds\": [],\n\t\"name\":\"FRIENDLY_NAME\",\n\t\"roleArn\":\"AWS_ROLE_ARN\"\n}" - }, - "url": { - "raw": "https://{{api-endpoint}}/cloud/status/aws", - "protocol": "https", - "host": [ - "{{api-endpoint}}" - ], - "path": [ - "cloud", - "status", - "aws" - ] + { + "name": "Download Event Search CSV", + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"timeRange\": {\n \"type\": \"relative\",\n \"value\": {\n \"unit\": \"minute\",\n \"amount\": 0\n }\n },\n \"groupBy\": [\n \"string\"\n ],\n \"filters\": [\n {\n \"name\": \"string\",\n \"value\": \"string\",\n \"operator\": \"=\"\n }\n ],\n \"alertId\": \"string\",\n \"sort\": [\n {\n \"field\": \"ID\",\n \"direction\": \"asc\"\n }\n ],\n \"limit\": 0,\n \"id\": \"string\",\n \"query\": \"string\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/search/event/filtered/download", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "search", + "event", + "filtered", + "download" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/search-events-csv/](https://pan.dev/prisma-cloud/api/cspm/search-events-csv/)" + }, + "response": [] }, - "description": "Gets the current status of an onboarded AWS account" - }, - "response": [] - }, - { - "name": "Get Cloud Account Status (Azure)", - "request": { - "method": "POST", - "header": [ - { - "key": "accept", - "type": "text", - "value": "application/json; charset=UTF-8" - }, - { - "key": "content-type", - "type": "text", - "value": "application/json" - }, - { - "key": "x-redlock-auth", - "type": "text", - "value": "{{token}}" - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"cloudAccount\": \n {\n \"accountId\": \"AZURE_SUBSCRIPTION_ID\",\n \"enabled\": true,\n \"groupIds\": [],\n \"name\": \"FRIENDLY_NAME\"\n },\n \"clientId\": \"APPLICATION_ID\",\n \"key\": \"APPLICATION_SECRET\",\n \"monitorFlowLogs\": true,\n \"tenantId\": \"AZURE_AD_ID\",\n \"servicePrincipalId\": \"ENTERPRISE_APP_OBJECT_ID\"\n}" - }, - "url": { - "raw": "https://{{api-endpoint}}/cloud/status/azure", - "protocol": "https", - "host": [ - "{{api-endpoint}}" - ], - "path": [ - "cloud", - "status", - "azure" - ] + { + "name": "Get The Next Event Search Page", + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"limit\": 0,\n \"pageToken\": \"string\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/search/event/page", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "search", + "event", + "page" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/search-events-page/](https://pan.dev/prisma-cloud/api/cspm/search-events-page/)" + }, + "response": [] }, - "description": "Gets the current status of an onboarded Azure account" - }, - "response": [] - }, - { - "name": "Get Cloud Account Status (GCP)", - "request": { - "method": "POST", - "header": [ - { - "key": "accept", - "type": "text", - "value": "application/json; charset=UTF-8" - }, - { - "key": "content-type", - "type": "text", - "value": "application/json" - }, - { - "key": "x-redlock-auth", - "type": "text", - "value": "{{token}}" - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"cloudAccount\": \n {\n \"accountId\": \"GCP_PROJECT_ID\",\n \"enabled\": true,\n \"groupIds\": [],\n \"name\": \"FRIENDLY_NAME\" \n },\n \"compressionEnabled\": false,\n \"dataflowEnabledProject\": \"\",\n \"flowLogStorageBucket\": \"\",\n \"credentials\": \n {\n \"type\": \"\",\n \"project_id\": \"\",\n \"private_key_id\": \"\",\n \"private_key\": \"\",\n \"client_email\": \"\",\n \"client_id\": \"\",\n \"auth_uri\": \"\",\n \"token_uri\": \"\",\n \"auth_provider_x509_cert_url\": \"\",\n \"client_x509_cert_url\": \"\"\n }\n}" - }, - "url": { - "raw": "https://{{api-endpoint}}/cloud/status/gcp", - "protocol": "https", - "host": [ - "{{api-endpoint}}" - ], - "path": [ - "cloud", - "status", - "gcp" - ] + { + "name": "Get Raw Event Data", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/search/event/raw/:id", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "search", + "event", + "raw", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/search-events-raw/](https://pan.dev/prisma-cloud/api/cspm/search-events-raw/)" + }, + "response": [] }, - "description": "Gets the current status of an onboarded GCP account" - }, - "response": [] + { + "name": "Autocomplete Search", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"cloudType\": \"aws\",\n \"id\": \"string\",\n \"name\": \"string\",\n \"description\": \"string\",\n \"saved\": true,\n \"timeRange\": {\n \"type\": \"relative\",\n \"value\": {\n \"unit\": \"minute\",\n \"amount\": 0\n }\n },\n \"query\": \"string\",\n \"default\": true\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/search/suggest", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "search", + "suggest" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/search-suggest/](https://pan.dev/prisma-cloud/api/cspm/search-suggest/)" + }, + "response": [] + } + ], + "description": "[https://pan.dev/prisma-cloud/api/cspm/search/](https://pan.dev/prisma-cloud/api/cspm/search/)\n\nYou can use the Resource Query Language (RQL) to perform configuration checks across cloud services as well as gain real-time insights into user and network events to gain security visibility and create policy guardrails in your cloud environment. For more information, see [Prisma Cloud documentation](https://docs.prismacloud.io/en/classic/cspm-admin-guide/get-started-with-prisma-cloud/get-started-with-prisma-cloud). If you are upgraded to the Darwin release, see [Prisma Cloud documentation](https://docs.prismacloud.io/en/enterprise-edition/content-collections/get-started/get-started)." }, { - "name": "Get Cloud Account Status (AliCloud)", - "request": { - "method": "POST", - "header": [ - { - "key": "accept", - "type": "text", - "value": "application/json; charset=UTF-8" - }, - { - "key": "content-type", - "type": "text", - "value": "application/json" - }, - { - "key": "x-redlock-auth", - "type": "text", - "value": "{{token}}" - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"accountId\": \"ALIBABA_ACCOUNT_ID\",\n \"groupIds\": [],\n \"name\": \"FRIENDLY_NAME\",\n \"ramArn\": \"ALIBABA_RAM_RESOURCE\"\n}" - }, - "url": { - "raw": "https://{{api-endpoint}}/cloud/status/alibaba_cloud", - "protocol": "https", - "host": [ - "{{api-endpoint}}" - ], - "path": [ - "cloud", - "status", - "alibaba_cloud" - ] + "name": "Settings", + "item": [ + { + "name": "Enterprise Settings", + "request": { + "method": "GET", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "url": { + "raw": "https://{{api-endpoint}}/settings/enterprise", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "settings", + "enterprise" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-enterprise-settings/](https://pan.dev/prisma-cloud/api/cspm/get-enterprise-settings/)" + }, + "response": [] }, - "description": "Gets the current status of an onboarded Alibaba Cloud account" - }, - "response": [] + { + "name": "Enterprise Settings Copy", + "request": { + "method": "POST", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"accessKeyMaxValidity\": 0,\n \"alarmEnabled\": true,\n \"applyDefaultPoliciesEnabled\": true,\n \"auditLogSiemIntgrIds\": [\n \"string\"\n ],\n \"auditLogsEnabled\": true,\n \"autoEnableAttackPathAndModulePolicies\": true,\n \"defaultPoliciesEnabled\": {},\n \"namedUsersAccessKeysExpiryNotificationsEnabled\": true,\n \"notificationThresholdAccessKeysExpiry\": 0,\n \"requireAlertDismissalNote\": true,\n \"serviceUsersAccessKeysExpiryNotificationsEnabled\": true,\n \"sessionTimeout\": 0,\n \"userAttributionInNotification\": true\n}" + }, + "url": { + "raw": "https://{{api-endpoint}}/settings/enterprise", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "settings", + "enterprise" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/update-enterprise-settings/](https://pan.dev/prisma-cloud/api/cspm/update-enterprise-settings/)" + }, + "response": [] + } + ] }, { - "name": "Update Cloud Account Status", - "request": { - "method": "PATCH", - "header": [ - { - "key": "accept", - "type": "text", - "value": "application/json; charset=UTF-8" - }, - { - "key": "content-type", - "type": "text", - "value": "application/json" - }, - { - "key": "x-redlock-auth", - "type": "text", - "value": "{{token}}" - } - ], - "body": { - "mode": "raw", - "raw": "{\n\t\"groupIds\":[\"ACCOUNT_GROUP_IDS\"],\n\t\"enabled\":true,\n\t\"updateChildrenStatus\":true\n}" - }, - "url": { - "raw": "https://{{api-endpoint}}/cloud/ACCOUNT_ID/status/TRUE_FALSE?updateChildren=true", - "protocol": "https", - "host": [ - "{{api-endpoint}}" - ], - "path": [ - "cloud", - "ACCOUNT_ID", - "status", - "TRUE_FALSE" - ], - "query": [ - { - "key": "updateChildren", - "value": "true" - } - ] - }, - "description": "Enable or disable a cloud account (and children) or update Account Groups. " - }, - "response": [] - } - ] - }, - { - "name": "Account Groups", - "item": [ - { - "name": "List Account Groups", - "request": { - "method": "GET", - "header": [ - { - "key": "accept", - "type": "text", - "value": "application/json; charset=UTF-8" - }, - { - "key": "content-type", - "type": "text", - "value": "application/json" - }, - { - "key": "x-redlock-auth", - "type": "text", - "value": "{{token}}" - } - ], - "url": { - "raw": "https://{{api-endpoint}}/cloud/group", - "protocol": "https", - "host": [ - "{{api-endpoint}}" - ], - "path": [ - "cloud", - "group" - ] - }, - "description": "Lists all accounts groups and cloud accounts in the current Prisma Cloud tenant. " - }, - "response": [] + "name": "System", + "item": [ + { + "name": "Health Check", + "request": { + "method": "GET", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "url": { + "raw": "https://{{api-endpoint}}/check", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "check" + ] + }, + "description": "Check's the current Prisma Cloud API status. You should receive a \"hello from the other side\" message.\n\nNote this does NOT need a jwt-token to perform." + }, + "response": [] + } + ] }, { - "name": "Account Account Group", - "request": { - "method": "POST", - "header": [ - { - "key": "accept", - "type": "text", - "value": "application/json; charset=UTF-8" - }, - { - "key": "content-type", - "type": "text", - "value": "application/json" - }, - { - "key": "x-redlock-auth", - "type": "text", - "value": "{{token}}" - } - ], - "body": { - "mode": "raw", - "raw": "{\n\t\"accountIds\":[\"CLOUD_ACCOUNT_ID_1\",\"CLOUD_ACCOUNT_ID_2\"],\n\t\"name\":\"ACCOUNT_GROUP_NAME\",\n\t\"description\":\"ACCOUNT_GROUP_DESCRIPTION\"\n}" - }, - "url": { - "raw": "https://{{api-endpoint}}/cloud/group", - "protocol": "https", - "host": [ - "{{api-endpoint}}" - ], - "path": [ - "cloud", - "group" - ] + "name": "Vulnerabilities Dashboard", + "item": [ + { + "name": "Get Vulnerability Overview", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/uve/api/v3/dashboard/vulnerabilities/overview?asset_type&life_cycle&severities", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "uve", + "api", + "v3", + "dashboard", + "vulnerabilities", + "overview" + ], + "query": [ + { + "key": "asset_type", + "value": null, + "description": "Possible values: [iac, package, deployedImage, serverlessFunction, host, registryImage, vmImage]" + }, + { + "key": "life_cycle", + "value": null, + "description": "Possible values: [code, build, deploy, run]" + }, + { + "key": "severities", + "value": null, + "description": "Possible values: [low, medium, high, critical]" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/vulnerability-dashboard-overview-v-3/](https://pan.dev/prisma-cloud/api/cspm/vulnerability-dashboard-overview-v-3/)" + }, + "response": [] }, - "description": "Adds an Account group with corresponding Cloud Accounts from the body. " - }, - "response": [] - }, - { - "name": "List Account Group Names", - "request": { - "method": "GET", - "header": [ - { - "key": "accept", - "type": "text", - "value": "application/json; charset=UTF-8" - }, - { - "key": "content-type", - "type": "text", - "value": "application/json" - }, - { - "key": "x-redlock-auth", - "type": "text", - "value": "{{token}}" - } - ], - "url": { - "raw": "https://{{api-endpoint}}/cloud/group/name", - "protocol": "https", - "host": [ - "{{api-endpoint}}" - ], - "path": [ - "cloud", - "group", - "name" - ] + { + "name": "Get Prioritized Vulnerabilities V4", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/uve/api/v4/dashboard/vulnerabilities/prioritised?asset_type&life_cycle", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "uve", + "api", + "v4", + "dashboard", + "vulnerabilities", + "prioritised" + ], + "query": [ + { + "key": "asset_type", + "value": null, + "description": "Possible values: [iac, package, deployedImage, serverlessFunction, host, registryImage, vmImage]" + }, + { + "key": "life_cycle", + "value": null, + "description": "Possible values: [code, build, deploy, run]" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/prioritised-vulnerability-v-4/](https://pan.dev/prisma-cloud/api/cspm/prioritised-vulnerability-v-4/)" + }, + "response": [] }, - "description": "Lists all accounts groups and their names within the current Prisma Cloud tenant. " - }, - "response": [] - }, - { - "name": "List Account Group Names by Cloud Type", - "request": { - "method": "GET", - "header": [ - { - "key": "accept", - "type": "text", - "value": "application/json; charset=UTF-8" - }, - { - "key": "content-type", - "type": "text", - "value": "application/json" - }, - { - "key": "x-redlock-auth", - "type": "text", - "value": "{{token}}" - } - ], - "url": { - "raw": "https://{{api-endpoint}}/cloud/group/name/CLOUD_TYPE", - "protocol": "https", - "host": [ - "{{api-endpoint}}" - ], - "path": [ - "cloud", - "group", - "name", - "CLOUD_TYPE" - ] + { + "name": "Get Vulnerability Impact by Stage", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/uve/api/v1/dashboard/vulnerabilities/impact-stage?asset_type&life_cycle&severities", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "uve", + "api", + "v1", + "dashboard", + "vulnerabilities", + "impact-stage" + ], + "query": [ + { + "key": "asset_type", + "value": null, + "description": "Possible values: [iac, package, deployedImage, serverlessFunction, host, registryImage, vmImage]" + }, + { + "key": "life_cycle", + "value": null, + "description": "Possible values: [code, build, deploy, run]" + }, + { + "key": "severities", + "value": null, + "description": "Possible values: [low, medium, high, critical]" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/vulnerability-impact-by-stage/](https://pan.dev/prisma-cloud/api/cspm/vulnerability-impact-by-stage/)" + }, + "response": [] }, - "description": "Lists all accounts groups by cloud type and their names within the current Prisma Cloud tenant. " - }, - "response": [] - }, - { - "name": "Account Group Info", - "request": { - "method": "GET", - "header": [ - { - "key": "accept", - "type": "text", - "value": "application/json; charset=UTF-8" - }, - { - "key": "content-type", - "type": "text", - "value": "application/json" - }, - { - "key": "x-redlock-auth", - "type": "text", - "value": "{{token}}" - } - ], - "url": { - "raw": "https://{{api-endpoint}}/cloud/group/ACCOUNT_GROUP_ID", - "protocol": "https", - "host": [ - "{{api-endpoint}}" - ], - "path": [ - "cloud", - "group", - "ACCOUNT_GROUP_ID" - ] + { + "name": "Get Top Impacting Vulnerabilities V2", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/uve/api/v2/dashboard/vulnerabilities/prioritised-vuln?life_cycle&top", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "uve", + "api", + "v2", + "dashboard", + "vulnerabilities", + "prioritised-vuln" + ], + "query": [ + { + "key": "life_cycle", + "value": null, + "description": "Possible values: [code, build, deploy, run]" + }, + { + "key": "top", + "value": null, + "description": "Possible values: [5, 10]" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/top-prioritised-vulnerability-v-2/](https://pan.dev/prisma-cloud/api/cspm/top-prioritised-vulnerability-v-2/)" + }, + "response": [] }, - "description": "Gets a specific account groups information based on ID. " - }, - "response": [] - }, - { - "name": "Update Account Group", - "request": { - "method": "PUT", - "header": [ - { - "key": "accept", - "type": "text", - "value": "application/json; charset=UTF-8" - }, - { - "key": "content-type", - "type": "text", - "value": "application/json" - }, - { - "key": "x-redlock-auth", - "type": "text", - "value": "{{token}}" - } - ], - "body": { - "mode": "raw", - "raw": "{\n\t\"accountIds\":[\"CLOUD_ACCOUNT_ID_1\",\"CLOUD_ACCOUNT_ID_2\"],\n\t\"name\":\"ACCOUNT_GROUP_NAME\",\n\t\"description\":\"DESCRIPTION\"\n}" - }, - "url": { - "raw": "https://{{api-endpoint}}/cloud/group/ACCOUNT_GROUP_ID", - "protocol": "https", - "host": [ - "{{api-endpoint}}" - ], - "path": [ - "cloud", - "group", - "ACCOUNT_GROUP_ID" - ] + { + "name": "Get CVE Overview", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/uve/api/v1/cve-overview?cve_id", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "uve", + "api", + "v1", + "cve-overview" + ], + "query": [ + { + "key": "cve_id", + "value": null + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/cve-overview-v-2/](https://pan.dev/prisma-cloud/api/cspm/cve-overview-v-2/)" + }, + "response": [] }, - "description": "Updates a specific Account group based on ID and Cloud Accounts in the body. " - }, - "response": [] - }, - { - "name": "Delete Account Group", - "request": { - "method": "DELETE", - "header": [ - { - "key": "accept", - "type": "text", - "value": "application/json; charset=UTF-8" - }, - { - "key": "content-type", - "type": "text", - "value": "application/json" - }, - { - "key": "x-redlock-auth", - "type": "text", - "value": "{{token}}" - } - ], - "url": { - "raw": "https://{{api-endpoint}}/cloud/group/ACCOUNT_GROUP_ID", - "protocol": "https", - "host": [ - "{{api-endpoint}}" - ], - "path": [ - "cloud", - "group", - "ACCOUNT_GROUP_ID" - ] + { + "name": "Get Vulnerabilities Burndown", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/uve/api/v2/dashboard/vulnerabilities/burndown?asset_type&life_cycle&severities", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "uve", + "api", + "v2", + "dashboard", + "vulnerabilities", + "burndown" + ], + "query": [ + { + "key": "asset_type", + "value": null, + "description": "Type of Asset (comma separated values) - Possible values: [iac, package, deployedImage, serverlessFunction, host, registryImage, vmImage] " + }, + { + "key": "life_cycle", + "value": null, + "description": "Life Cycle stage (comma separated values) - Possible values: [code, build, deploy, run]" + }, + { + "key": "severities", + "value": null, + "description": "Possible values: [low, medium, high, critical]\n\nSeverity (comma separated values)" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-burndown/](https://pan.dev/prisma-cloud/api/cspm/get-burndown/)" + }, + "response": [] }, - "description": "Deletes a specific account group based on ID. " - }, - "response": [] - } - ] - }, - { - "name": "Policy", - "item": [ - { - "name": "List Policy Filters", - "request": { - "method": "GET", - "header": [ - { - "key": "accept", - "type": "text", - "value": "application/json; charset=UTF-8" - }, - { - "key": "content-type", - "type": "text", - "value": "application/json" - }, - { - "key": "x-redlock-auth", - "type": "text", - "value": "{{token}}" - } - ], - "url": { - "raw": "https://{{api-endpoint}}/filter/policy/suggest", - "protocol": "https", - "host": [ - "{{api-endpoint}}" - ], - "path": [ - "filter", - "policy", - "suggest" - ] + { + "name": "Get Vulnerable Assets by CVE", + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"query\": \"string\",\n \"cve_id\": \"string\",\n \"risk_factors\": [\n \"string\"\n ],\n \"sort_by\": \"string\",\n \"asset_type\": \"string\",\n \"page_offset\": 0,\n \"page_size\": 0,\n \"filter_suppressed\": true\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/uve/api/v1/dashboard/vulnerabilities/vuln-assets", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "uve", + "api", + "v1", + "dashboard", + "vulnerabilities", + "vuln-assets" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/list-vulnerable-assets-cve/](https://pan.dev/prisma-cloud/api/cspm/list-vulnerable-assets-cve/)" + }, + "response": [] }, - "description": "Returns an object whose keys are the supported policy filters and corresponding values are the default or recent options for that filter." - }, - "response": [] - }, - { - "name": "List Policy Filter Autocomplete Suggestions", - "request": { - "method": "POST", - "header": [ - { - "key": "accept", - "type": "text", - "value": "application/json; charset=UTF-8" - }, - { - "key": "content-type", - "type": "text", - "value": "application/json" - }, - { - "key": "x-redlock-auth", - "type": "text", - "value": "{{token}}" - } - ], - "body": { - "mode": "raw", - "raw": "{\n\t\"query\":\"AUTO_COMPLETE_FILTER\",\n\t\"filterName\":\"FILTER_NAME\"\n}" - }, - "url": { - "raw": "https://{{api-endpoint}}/filter/policy/suggest", - "protocol": "https", - "host": [ - "{{api-endpoint}}" - ], - "path": [ - "filter", - "policy", - "suggest" - ] + { + "name": "Get Vulnerable Assets", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/uve/api/v1/dashboard/vulnerabilities/vulnerableAsset?asset_type&life_cycle&severities", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "uve", + "api", + "v1", + "dashboard", + "vulnerabilities", + "vulnerableAsset" + ], + "query": [ + { + "key": "asset_type", + "value": null, + "description": "Possible values: [iac, package, deployedImage, serverlessFunction, host, registryImage, vmImage]\n\nType of Asset" + }, + { + "key": "life_cycle", + "value": null, + "description": "Possible values: [code, build, deploy, run]\n\nLife Cycle stage" + }, + { + "key": "severities", + "value": null, + "description": "Possible values: [low, medium, high, critical]\n\nSeverity" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/vulnerable-assets/](https://pan.dev/prisma-cloud/api/cspm/vulnerable-assets/)" + }, + "response": [] }, - "description": "Returns available options for a policy filter key. Also supports fuzzy autocomplete search for easier filtering." - }, - "response": [] - }, - { - "name": "List Policies", - "request": { - "method": "GET", - "header": [ - { - "key": "accept", - "type": "text", - "value": "application/json; charset=UTF-8" - }, - { - "key": "content-type", - "type": "text", - "value": "application/json" - }, - { - "key": "x-redlock-auth", - "type": "text", - "value": "{{token}}" - } - ], - "url": { - "raw": "https://{{api-endpoint}}/policy?policy.name=POLICY_NAME&policy.severity=high&policy.label=POLICY_LABEL&policy.type=config&policy.complianceStandard=C_STANDARD&policy.complianceRequirement=C_REQUIREMENT&policy.complianceSection=C_SECTION&policy.enabled=true&policy.policyMode=custom&policy.remediable=true&cloud.type=aws", - "protocol": "https", - "host": [ - "{{api-endpoint}}" - ], - "path": [ - "policy" - ], - "query": [ - { - "key": "policy.name", - "value": "POLICY_NAME", - "description": "Policy name" + { + "name": "Get Remediation Status", + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"cveId\": \"string\",\n \"prismaId\": \"string\",\n \"assetType\": \"iac\",\n \"assetId\": [\n \"string\"\n ]\n}", + "options": { + "raw": { + "language": "json" + } + } }, - { - "key": "policy.severity", - "value": "high", - "description": "Policy severity" + "url": { + "raw": "https://{{api-endpoint}}/uve/api/v1/remediation/vuln-remediation-status", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "uve", + "api", + "v1", + "remediation", + "vuln-remediation-status" + ] }, - { - "key": "policy.label", - "value": "POLICY_LABEL", - "description": "Policy label" + "description": "[https://pan.dev/prisma-cloud/api/cspm/fetch-remediation-status/](https://pan.dev/prisma-cloud/api/cspm/fetch-remediation-status/)" + }, + "response": [] + }, + { + "name": "Create Remediation Request", + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"cveId\": \"string\",\n \"prismaId\": \"string\",\n \"remediationAction\": \"createTask\",\n \"assetType\": \"iac\",\n \"assetId\": [\n {\n \"assetType\": \"iac\",\n \"assetId\": \"string\"\n }\n ]\n}", + "options": { + "raw": { + "language": "json" + } + } }, - { - "key": "policy.type", - "value": "config", - "description": "config, network, or audit_event" + "url": { + "raw": "https://{{api-endpoint}}/uve/api/v1/remediation/vuln-create-remediation", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "uve", + "api", + "v1", + "remediation", + "vuln-create-remediation" + ] }, - { - "key": "policy.complianceStandard", - "value": "C_STANDARD", - "description": "Compliance Standard name" + "description": "[https://pan.dev/prisma-cloud/api/cspm/create-remediation-request/](https://pan.dev/prisma-cloud/api/cspm/create-remediation-request/)" + }, + "response": [] + }, + { + "name": "Get Vulnerabilities by RQL", + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"query\": \"vulnerability where age > 30 days\",\n \"id\": \"string\"\n}", + "options": { + "raw": { + "language": "json" + } + } }, - { - "key": "policy.complianceRequirement", - "value": "C_REQUIREMENT", - "description": "Compliance requirement name" + "url": { + "raw": "https://{{api-endpoint}}/?page_token", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "" + ], + "query": [ + { + "key": "page_token", + "value": null + } + ] }, - { - "key": "policy.complianceSection", - "value": "C_SECTION", - "description": "Compliance section name" + "description": "[https://pan.dev/prisma-cloud/api/cspm/vulnerabilities-search-api/](https://pan.dev/prisma-cloud/api/cspm/vulnerabilities-search-api/)" + }, + "response": [] + }, + { + "name": "Get Vulnerable Assets by RQL", + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"query\": \"vulnerability where age > 30 days\",\n \"cveId\": \"string\",\n \"assetLifecycle\": \"code\",\n \"assetType\": \"package\"\n}", + "options": { + "raw": { + "language": "json" + } + } }, - { - "key": "policy.enabled", - "value": "true", - "description": "true or false" + "url": { + "raw": "https://{{api-endpoint}}/uve/api/v1/vulnerabilities/search/asset?page_token", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "uve", + "api", + "v1", + "vulnerabilities", + "search", + "asset" + ], + "query": [ + { + "key": "page_token", + "value": null + } + ] }, - { - "key": "policy.policyMode", - "value": "custom", - "description": "custom or redlock_default" + "description": "[https://pan.dev/prisma-cloud/api/cspm/list-vulnerable-assets/](https://pan.dev/prisma-cloud/api/cspm/list-vulnerable-assets/)" + }, + "response": [] + }, + { + "name": "Get CVE Details by ID", + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"cveId\": \"string\",\n \"riskFactors\": [\n \"string\"\n ],\n \"assetType\": \"package\"\n}", + "options": { + "raw": { + "language": "json" + } + } }, - { - "key": "policy.remediable", - "value": "true", - "description": "true or false" + "url": { + "raw": "https://{{api-endpoint}}/uve/api/v1/vulnerabilities/download", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "uve", + "api", + "v1", + "vulnerabilities", + "download" + ] }, - { - "key": "cloud.type", - "value": "aws", - "description": "aws, azure, gcp, or alibaba_cloud" - } - ] + "description": "[https://pan.dev/prisma-cloud/api/cspm/download-vulnerability-file/](https://pan.dev/prisma-cloud/api/cspm/download-vulnerability-file/)" + }, + "response": [] }, - "description": "Returns all available policies, both system default and custom. You can apply filters to narrow the returned policy list to a subset of policies or potentially to a specific policy. Response includes open alert counts, which can affect performance." - }, - "response": [] + { + "name": "Download All Vulnerabilities by RQL", + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"query\": \"vulnerability where age > 30 days\",\n \"id\": \"string\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/uve/api/v1/vulnerabilities/search/download", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "uve", + "api", + "v1", + "vulnerabilities", + "search", + "download" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/download-vulnerability-csv-file-in-investigate-table-view/](https://pan.dev/prisma-cloud/api/cspm/download-vulnerability-csv-file-in-investigate-table-view/)" + }, + "response": [] + } + ], + "description": "[https://pan.dev/prisma-cloud/api/cspm/vulnerabilities-dashboard/](https://pan.dev/prisma-cloud/api/cspm/vulnerabilities-dashboard/)\n\nVulnerabilities Dashboard(UVE) gives you a holistic graphical view of all the vulnerabilities across your Code to Cloud environment. The APIs in this section helps you to get the details that are displayed in the Vulnerabilities Dashboard widget based on various filters. You can asses the vulnerabilities and create request to remediate or mitigate the vulnerability. For more information about the Vulnerabilities Dashboard, see [Vulnerabilities Dashboard](https://docs.prismacloud.io/en/enterprise-edition/content-collections/dashboards/dashboards-vulnerabilities).\n\n> \n\n**Note:** You need specific access permission to use the endpoints in this category. For details on the required permissions, see the respective endpoint description." }, { - "name": "List Policies V2", - "request": { - "method": "GET", - "header": [ - { - "key": "accept", - "type": "text", - "value": "application/json; charset=UTF-8" - }, - { - "key": "content-type", - "type": "text", - "value": "application/json" - }, - { - "key": "x-redlock-auth", - "type": "text", - "value": "{{token}}" - } - ], - "url": { - "raw": "https://{{api-endpoint}}/v2/policy?policy.severity=high&policy.type=config", - "protocol": "https", - "host": [ - "{{api-endpoint}}" - ], - "path": [ - "v2", - "policy" - ], - "query": [ - { - "key": "policy.name", - "value": "POLICY_NAME", - "description": "Policy name", - "disabled": true - }, - { - "key": "policy.severity", - "value": "high", - "description": "Policy severity" + "name": "User Profile", + "item": [ + { + "name": "Profile", + "request": { + "method": "GET", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "url": { + "raw": "https://{{api-endpoint}}/user/me", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "user", + "me" + ] }, - { - "key": "policy.label", - "value": "POLICY_LABEL", - "description": "Policy label", - "disabled": true + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-my-profile/](https://pan.dev/prisma-cloud/api/cspm/get-my-profile/)" + }, + "response": [] + }, + { + "name": "Update Profile", + "request": { + "method": "PUT", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"accessKeysAllowed\": true,\n \"activeRole\": {},\n \"defaultRoleId\": \"string\",\n \"email\": \"string\",\n \"firstName\": \"string\",\n \"lastName\": \"string\",\n \"roleIds\": [\n \"string\"\n ],\n \"timeZone\": \"string\"\n}" }, - { - "key": "policy.type", - "value": "config", - "description": "config, network, or audit_event" + "url": { + "raw": "https://{{api-endpoint}}/user/me", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "user", + "me" + ] }, - { - "key": "policy.complianceStandard", - "value": "C_STANDARD", - "description": "Compliance Standard name", - "disabled": true + "description": "[https://pan.dev/prisma-cloud/api/cspm/update-my-profile/](https://pan.dev/prisma-cloud/api/cspm/update-my-profile/)" + }, + "response": [] + }, + { + "name": "List Users", + "request": { + "method": "GET", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "url": { + "raw": "https://{{api-endpoint}}/v3/user", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "v3", + "user" + ] }, - { - "key": "policy.complianceRequirement", - "value": "C_REQUIREMENT", - "description": "Compliance requirement name", - "disabled": true + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-user-profiles-v-3/](https://pan.dev/prisma-cloud/api/cspm/get-user-profiles-v-3/)" + }, + "response": [] + }, + { + "name": "Add User Profile", + "request": { + "method": "POST", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"accessKeyExpiration\": 0,\n \"accessKeyName\": \"string\",\n \"accessKeysAllowed\": true,\n \"activeRole\": {},\n \"defaultRoleId\": \"string\",\n \"email\": \"string\",\n \"enableKeyExpiration\": true,\n \"firstName\": \"string\",\n \"lastName\": \"string\",\n \"roleIds\": [\n \"string\"\n ],\n \"timeZone\": \"string\",\n \"type\": \"USER_ACCOUNT\",\n \"username\": \"string\"\n}", + "options": { + "raw": { + "language": "json" + } + } }, - { - "key": "policy.complianceSection", - "value": "C_SECTION", - "description": "Compliance section name", - "disabled": true + "url": { + "raw": "https://{{api-endpoint}}/v3/user", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "v3", + "user" + ] }, - { - "key": "policy.enabled", - "value": "true", - "description": "true or false", - "disabled": true + "description": "[https://pan.dev/prisma-cloud/api/cspm/add-user-v-3/](https://pan.dev/prisma-cloud/api/cspm/add-user-v-3/)" + }, + "response": [] + }, + { + "name": "Get User Profile", + "request": { + "method": "GET", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "url": { + "raw": "https://{{api-endpoint}}/v2/user/:id", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "v2", + "user", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "Possible values: Value must match regular expression .+\n\nUser email" + } + ] }, - { - "key": "policy.policyMode", - "value": "custom", - "description": "custom or redlock_default", - "disabled": true + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-user-profile-v-2/](https://pan.dev/prisma-cloud/api/cspm/get-user-profile-v-2/)" + }, + "response": [] + }, + { + "name": "Update User Profile", + "request": { + "method": "POST", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"accessKeysAllowed\": true,\n \"activeRole\": {},\n \"defaultRoleId\": \"string\",\n \"email\": \"string\",\n \"firstName\": \"string\",\n \"lastName\": \"string\",\n \"roleIds\": [\n \"string\"\n ],\n \"timeZone\": \"string\"\n}", + "options": { + "raw": { + "language": "json" + } + } }, - { - "key": "policy.remediable", - "value": "true", - "description": "true or false", - "disabled": true + "url": { + "raw": "https://{{api-endpoint}}/v2/user/:id", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "v2", + "user", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "Possible values: Value must match regular expression .+\n\nUser email" + } + ] }, - { - "key": "cloud.type", - "value": "aws", - "description": "aws, azure, gcp, or alibaba_cloud", - "disabled": true - } - ] - }, - "description": "Returns all available policies, both system default and custom. You can apply filters to narrow the returned policy list to a subset of policies or potentially to a specific policy. Response includes open alert counts, which can affect performance." - }, - "response": [] - }, - { - "name": "(incomplete) COMPLEX - Add Policy", - "request": { - "method": "POST", - "header": [ - { - "key": "accept", - "type": "text", - "value": "application/json; charset=UTF-8" - }, - { - "key": "content-type", - "type": "text", - "value": "application/json" - }, - { - "key": "x-redlock-auth", - "type": "text", - "value": "{{token}}" - } - ], - "body": { - "mode": "raw", - "raw": "{\n\t\"rule\":\n\t{\"parameters\":\n\t{\"savedSearch\":\"true\"},\n\t\"name\":\"RULE_NAME\",\n\t\"criteria\":\"SEARCH_ID\",\n\t\"type\":\"Config\"},\n\t\"complianceMetadata\":[\n\t\t{\"standardName\":\"standardName\",\n\t\t\"standardDescription\":\"standardDescription\",\n\t\t\"requirementId\":\"requirementId\",\n\t\t\"requirementName\":\"requirementName\",\n\t\t\"requirementDescription\":\"requirementDescription\",\n\t\t\"sectionId\":\"sectionId\",\n\t\t\"sectionDescription\":\"sectionDescription\",\n\t\t\"policyId\":\"policyId\",\n\t\t\"complianceId\":\"complianceId\",\n\t\t\"sectionLabel\":\"sectionLabel\",\n\t\t\"customAssigned\":true}],\n\t\t\"remediation\":{\n\t\t\t\"templateType\":\"StaticTemplate\",\n\t\t\t\"description\":\"AUTO_REMEDIATION_DESCRIPTION\",\n\t\t\t\"cliScriptTemplate\":\"CLI_TEMPLATE\"\n\t\t},\n\t\t\t\"labels\":[\"POLICY_LABEL\"],\n\t\t\t\"name\":\"POLICY_NAME\",\n\t\t\t\"policyType\":\"config\",\n\t\t\t\"description\":\"POLICY_DESCRIPTION\",\n\t\t\t\"severity\":\"medium\",\n\t\t\t\"recommendation\":\"RECOMMENDATION_ACTION\",\n\t\t\t\"cloudType\":\"aws\",\n\t\t\t\"enabled\":true\n}" - }, - "url": { - "raw": "https://{{api-endpoint}}/policy", - "protocol": "https", - "host": [ - "{{api-endpoint}}" - ], - "path": [ - "policy" - ] - }, - "description": "**Very complex**\n\nAdds a new policy. " - }, - "response": [] - }, - { - "name": "Policy Info", - "request": { - "method": "GET", - "header": [ - { - "key": "accept", - "type": "text", - "value": "application/json; charset=UTF-8" - }, - { - "key": "content-type", - "type": "text", - "value": "application/json" - }, - { - "key": "x-redlock-auth", - "type": "text", - "value": "{{token}}" - } - ], - "url": { - "raw": "https://{{api-endpoint}}/policy/POLICY_ID", - "protocol": "https", - "host": [ - "{{api-endpoint}}" - ], - "path": [ - "policy", - "POLICY_ID" - ] - }, - "description": "Get specific policy info based on ID." - }, - "response": [] - }, - { - "name": "(incomplete) COMPLEX - Update Policy", - "request": { - "method": "PUT", - "header": [ - { - "key": "accept", - "type": "text", - "value": "application/json; charset=UTF-8" - }, - { - "key": "content-type", - "type": "text", - "value": "application/json" - }, - { - "key": "x-redlock-auth", - "type": "text", - "value": "{{token}}" - } - ], - "body": { - "mode": "raw", - "raw": "{\n\t\"rule\":\n\t{\"parameters\":\n\t{\"savedSearch\":\"true\"},\n\t\"name\":\"RULE_NAME\",\n\t\"criteria\":\"SEARCH_ID\",\n\t\"type\":\"Config\"},\n\t\"complianceMetadata\":[\n\t\t{\"standardName\":\"standardName\",\n\t\t\"standardDescription\":\"standardDescription\",\n\t\t\"requirementId\":\"requirementId\",\n\t\t\"requirementName\":\"requirementName\",\n\t\t\"requirementDescription\":\"requirementDescription\",\n\t\t\"sectionId\":\"sectionId\",\n\t\t\"sectionDescription\":\"sectionDescription\",\n\t\t\"policyId\":\"policyId\",\n\t\t\"complianceId\":\"complianceId\",\n\t\t\"sectionLabel\":\"sectionLabel\",\n\t\t\"customAssigned\":true}],\n\t\t\"remediation\":{\n\t\t\t\"templateType\":\"StaticTemplate\",\n\t\t\t\"description\":\"AUTO_REMEDIATION_DESCRIPTION\",\n\t\t\t\"cliScriptTemplate\":\"CLI_TEMPLATE\"\n\t\t},\n\t\t\t\"labels\":[\"POLICY_LABEL\"],\n\t\t\t\"name\":\"POLICY_NAME\",\n\t\t\t\"policyType\":\"config\",\n\t\t\t\"description\":\"POLICY_DESCRIPTION\",\n\t\t\t\"severity\":\"medium\",\n\t\t\t\"recommendation\":\"RECOMMENDATION_ACTION\",\n\t\t\t\"cloudType\":\"aws\",\n\t\t\t\"enabled\":true\n}" - }, - "url": { - "raw": "https://{{api-endpoint}}/policy", - "protocol": "https", - "host": [ - "{{api-endpoint}}" - ], - "path": [ - "policy" - ] - }, - "description": "**Very complex**\n\nUpdates an existing policy. " - }, - "response": [] - }, - { - "name": "Delete Policy", - "request": { - "method": "DELETE", - "header": [ - { - "key": "accept", - "type": "text", - "value": "application/json; charset=UTF-8" - }, - { - "key": "content-type", - "type": "text", - "value": "application/json" - }, - { - "key": "x-redlock-auth", - "type": "text", - "value": "{{token}}" - } - ], - "url": { - "raw": "https://{{api-endpoint}}/policy/POLICY_ID", - "protocol": "https", - "host": [ - "{{api-endpoint}}" - ], - "path": [ - "policy", - "POLICY_ID" - ] + "description": "[https://pan.dev/prisma-cloud/api/cspm/update-profile-v-2/](https://pan.dev/prisma-cloud/api/cspm/update-profile-v-2/)" + }, + "response": [] }, - "description": "Delete specific policy info based on ID." - }, - "response": [] - }, - { - "name": "Update Policy Status", - "request": { - "method": "PATCH", - "header": [ - { - "key": "accept", - "type": "text", - "value": "application/json; charset=UTF-8" - }, - { - "key": "content-type", - "type": "text", - "value": "application/json" - }, - { - "key": "x-redlock-auth", - "type": "text", - "value": "{{token}}" - } - ], - "url": { - "raw": "https://{{api-endpoint}}/policy/POLICY_ID/status/TRUE_FALSE", - "protocol": "https", - "host": [ - "{{api-endpoint}}" - ], - "path": [ - "policy", - "POLICY_ID", - "status", - "TRUE_FALSE" - ] + { + "name": "Delete User Profile", + "request": { + "method": "DELETE", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "url": { + "raw": "https://{{api-endpoint}}/user/:id", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "user", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "Possible values: Value must match regular expression .+\n\nUser email or service account name" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/delete-user/](https://pan.dev/prisma-cloud/api/cspm/delete-user/)" + }, + "response": [] }, - "description": "Updates a specific policy status based on ID. " - }, - "response": [] - }, - { - "name": "List Policy Compliance Standards", - "request": { - "method": "GET", - "header": [ - { - "key": "accept", - "type": "text", - "value": "application/json; charset=UTF-8" - }, - { - "key": "content-type", - "type": "text", - "value": "application/json" - }, - { - "key": "x-redlock-auth", - "type": "text", - "value": "{{token}}" - } - ], - "url": { - "raw": "https://{{api-endpoint}}/policy/compliance", - "protocol": "https", - "host": [ - "{{api-endpoint}}" - ], - "path": [ - "policy", - "compliance" - ] + { + "name": "Update User Status", + "request": { + "method": "PATCH", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "url": { + "raw": "https://{{api-endpoint}}/user/:id/status/:enabled", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "user", + ":id", + "status", + ":enabled" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "Possible values: Value must match regular expression .+\n\nUser email" + }, + { + "key": "enabled", + "value": "", + "description": "TRUE FALSE" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/update-user-profile/](https://pan.dev/prisma-cloud/api/cspm/update-user-profile/)" + }, + "response": [] }, - "description": "Returns a list of compliance standards that Prisma Cloud supports and for each compliance standard, lists the supported sections." - }, - "response": [] - } - ] - }, - { - "name": "Time Range Model (Info Only)", - "item": [ - { - "name": "Absolute Time", - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "GET", - "header": [], - "body": { - "mode": "raw", - "raw": "// Used when both start and end unix timestamps (in ms) are available\n// E.g. from 1504448933000 to 1504794533000\n\n// Inside request body (POST / PUT) \n{\n \"timeRange\": {\n \"type\": \"absolute\",\n \"value\": {\n \"startTime\": 1504448933000,\n \"endTime\": 1504794533000\n }\n }\n}\n\n// Inside query params (GET)\n&timeType=absolute&startTime=1504448933000&endTime=1504794533000" - }, - "url": { - "raw": "" - }, - "description": "// Used when both start and end unix timestamps (in ms) are available\n// E.g. from 1504448933000 to 1504794533000\n\n// Inside request body (POST / PUT) \n{\n \"timeRange\": {\n \"type\": \"absolute\",\n \"value\": {\n \"startTime\": 1504448933000,\n \"endTime\": 1504794533000\n }\n }\n}\n\n// Inside query params (GET)\n&timeType=absolute&startTime=1504448933000&endTime=1504794533000" - }, - "response": [] - }, - { - "name": "Relative Time", - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "GET", - "header": [], - "body": { - "mode": "raw", - "raw": "// Time from now to some relative point in the past\n// E.g. last 3 days\n\n// Inside request body (POST / PUT)\n{\n \"timeRange\": {\n \"type\": \"relative\",\n \"value\": {\n \"amount\": 3,\n \"unit\": \"day\" // Supported units: hour, day, week, month, year \n }\n }\n}\n\n// Inside query params (GET)\n&timeType=relative&timeAmount=3&timeUnit=day" - }, - "url": { - "raw": "" - }, - "description": "// Time from now to some relative point in the past\n// E.g. last 3 days\n\n// Inside request body (POST / PUT)\n{\n \"timeRange\": {\n \"type\": \"relative\",\n \"value\": {\n \"amount\": 3,\n \"unit\": \"day\" // Supported units: hour, day, week, month, year \n }\n }\n}\n\n// Inside query params (GET)\n&timeType=relative&timeAmount=3&timeUnit=day" - }, - "response": [] - }, - { - "name": "Time To Now", - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "GET", - "header": [], - "body": { - "mode": "raw", - "raw": "// From some time in the past to now\n// E.g. from last login to now\n\n// Inside request body (POST / PUT)\n{\n \"timeRange\": {\n \"type\": \"to_now\",\n \"value\": {\n \"unit\": \"login\"\n }\n\n // Supported values: \n // login - from last login\n // epoch - from account onboarding\n // day - from beginning of the day\n // week - from beginning of the week\n // month - from beginning of the month\n // year - from beginning of the year\n }\n}\n\n// Inside query params (GET)\n&timeType=to_now&timeUnit=login" - }, - "url": { - "raw": "" - }, - "description": "// From some time in the past to now\n// E.g. from last login to now\n\n// Inside request body (POST / PUT)\n{\n \"timeRange\": {\n \"type\": \"to_now\",\n \"value\": {\n \"unit\": \"login\"\n }\n\n // Supported values: \n // login - from last login\n // epoch - from account onboarding\n // day - from beginning of the day\n // week - from beginning of the week\n // month - from beginning of the month\n // year - from beginning of the year\n }\n}\n\n// Inside query params (GET)\n&timeType=to_now&timeUnit=login" - }, - "response": [] - } - ] - }, - { - "name": "Alerts (incomplete)", - "item": [ - { - "name": "List Alert Filters", - "event": [ { - "listen": "test", - "script": { - "exec": [ - "" + "name": "List User Emails", + "request": { + "method": "GET", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } ], - "type": "text/javascript" - } - } - ], - "request": { - "auth": { - "type": "noauth" - }, - "method": "GET", - "header": [ - { - "key": "Content-Type", - "name": "Content-Type", - "type": "text", - "value": "application/json" - }, - { - "key": "x-redlock-auth", - "type": "text", - "value": "{{token}}" - } - ], - "url": { - "raw": "https://{{api-endpoint}}/filter/alert/suggest", - "protocol": "https", - "host": [ - "{{api-endpoint}}" - ], - "path": [ - "filter", - "alert", - "suggest" - ] + "url": { + "raw": "https://{{api-endpoint}}/user/name", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "user", + "name" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-usernames/](https://pan.dev/prisma-cloud/api/cspm/get-usernames/)" + }, + "response": [] }, - "description": "Returns an object whose keys are the available policy filters. The corresponding values are default or recently set filter options" - }, - "response": [] - }, - { - "name": "List Alert Filters Copy", - "event": [ { - "listen": "test", - "script": { - "exec": [ - "" + "name": "List Email Domains", + "request": { + "method": "GET", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } ], - "type": "text/javascript" - } - } - ], - "request": { - "auth": { - "type": "noauth" - }, - "method": "POST", - "header": [ - { - "key": "Content-Type", - "name": "Content-Type", - "type": "text", - "value": "application/json" - }, - { - "key": "x-redlock-auth", - "type": "text", - "value": "{{token}}" - } - ], - "body": { - "mode": "raw", - "raw": "{\"timeRange\":{\"value\":{\"unit\":\"hour\",\"amount\":1},\"type\":\"relative\"},\"filters\":[{\"name\":\"alert.status\",\"value\":\"open\",\"operator\":\"=\"}],\"fields\":[\"policy.name\",\"alertCount\"],\"sortBy\":[\":asc\"],\"limit\":2}" - }, - "url": { - "raw": "https://{{api-endpoint}}/alert/policy?detailed=false", - "protocol": "https", - "host": [ - "{{api-endpoint}}" - ], - "path": [ - "alert", - "policy" - ], - "query": [ - { - "key": "detailed", - "value": "false" - } - ] + "url": { + "raw": "https://{{api-endpoint}}/user/domain", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "user", + "domain" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/email-domains/](https://pan.dev/prisma-cloud/api/cspm/email-domains/)" + }, + "response": [] }, - "description": "Returns an object whose keys are the available policy filters. The corresponding values are default or recently set filter options" - }, - "response": [] - }, - { - "name": "List Alerts V2", - "event": [ { - "listen": "test", - "script": { - "exec": [ - "" + "name": "List SSO Bypass Allowed Users", + "request": { + "method": "GET", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } ], - "type": "text/javascript" - } - } - ], - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "auth": { - "type": "noauth" - }, - "method": "GET", - "header": [ - { - "key": "Content-Type", - "name": "Content-Type", - "value": "application/json", - "type": "text" - }, - { - "key": "x-redlock-auth", - "value": "{{token}}", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n\t\"detailed\": true,\r\n\t\"filters\": [\r\n\t\t{\r\n\t\t\t\"operator\": \"=\",\r\n\t\t\t\"name\": \"alert.status\",\r\n\t\t\t\"value\": \"open\"\r\n\t\t},\r\n\t\t{\r\n\t\t\t\"operator\": \"=\",\r\n\t\t\t\"name\": \"alert.status\",\r\n\t\t\t\"value\": \"dismissed\"\r\n\t\t},\r\n {\r\n\t\t\t\"operator\": \"=\",\r\n\t\t\t\"name\": \"alert.status\",\r\n\t\t\t\"value\": \"snoozed\"\r\n\t\t},\r\n {\r\n\t\t\t\"operator\": \"=\",\r\n\t\t\t\"name\": \"alert.status\",\r\n\t\t\t\"value\": \"resolved\"\r\n\t\t},\r\n\t\t{\r\n\t\t\t\"operator\": \"=\",\r\n\t\t\t\"name\": \"policy.type\",\r\n\t\t\t\"value\": \"config\"\r\n\t\t}\r\n\t\t],\r\n\t\t\"timeRange\": {\r\n\t\t\t\"type\": \"relative\",\r\n\t\t\t\"value\": {\r\n\t\t\t\t\"amount\": 30, \r\n\t\t\t\t\"unit\": \"day\"\r\n\t\t\t}\r\n\t\t},\r\n\t\t\"sortBy\": [\"id:asc\"],\r\n\t\t\"offset\": 0,\r\n\t\t\"limit\": 5000\r\n}\r\n" - }, - "url": { - "raw": "https://{{api-endpoint}}/v2/alert?timeType=relative&timeAmount=7&timeUnit=hour&detailed=false", - "protocol": "https", - "host": [ - "{{api-endpoint}}" - ], - "path": [ - "v2", - "alert" - ], - "query": [ - { - "key": "timeType", - "value": "relative" - }, - { - "key": "timeAmount", - "value": "7" - }, - { - "key": "timeUnit", - "value": "hour" + "url": { + "raw": "https://{{api-endpoint}}/user/saml/bypass", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "user", + "saml", + "bypass" + ] }, - { - "key": "detailed", - "value": "false" - } - ] + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-sso-bypass-allowed-users/](https://pan.dev/prisma-cloud/api/cspm/get-sso-bypass-allowed-users/)" + }, + "response": [] }, - "description": "Returns a paginated list of alerts from the Prisma Cloud platform.\n\n" - }, - "response": [] - }, - { - "name": "Alert Info", - "event": [ { - "listen": "test", - "script": { - "exec": [ - "" + "name": "Update SSO Bypass Allowed Users", + "request": { + "method": "PUT", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } ], - "type": "text/javascript" - } + "body": { + "mode": "raw", + "raw": "[\"string_of_user_emails\"]", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/user/saml/bypass", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "user", + "saml", + "bypass" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/update-sso-bypass-allowed-users/](https://pan.dev/prisma-cloud/api/cspm/update-sso-bypass-allowed-users/)" + }, + "response": [] } ], - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "auth": { - "type": "noauth" - }, - "method": "GET", - "header": [ - { - "key": "Accept", - "type": "text", - "value": "application/json; charset=UTF-8" - }, - { - "key": "Content-Type", - "name": "Content-Type", - "type": "text", - "value": "application/json" - }, - { - "key": "x-redlock-auth", - "type": "text", - "value": "{{token}}" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\t\"detailed\": true,\r\t\"filters\": [\r\t\t{\r\t\t\t\"operator\": \"=\",\r\t\t\t\"name\": \"alert.status\",\r\t\t\t\"value\": \"open\"\r\t\t},\r\t\t{\r\t\t\t\"operator\": \"=\",\r\t\t\t\"name\": \"alert.status\",\r\t\t\t\"value\": \"dismissed\"\r\t\t},\r\t\t{\r\t\t\t\"operator\": \"=\",\r\t\t\t\"name\": \"policy.type\",\r\t\t\t\"value\": \"config\"\r\t\t}\r\t\t],\r\t\t\"timeRange\": {\r\t\t\t\"type\": \"relative\",\r\t\t\t\"value\": {\r\t\t\t\t\"amount\": 30, \r\t\t\t\t\"unit\": \"day\"\r\t\t\t}\r\t\t},\r\t\t\"sortBy\": [\"id:asc\"],\r\t\t\"offset\": 0,\r\t\t\"limit\": 5000\r}\r" - }, - "url": { - "raw": "https://{{api-endpoint}}/alert/P-117144", - "protocol": "https", - "host": [ - "{{api-endpoint}}" - ], - "path": [ - "alert", - "P-117144" - ] - }, - "description": "Returns information about an alert for the specified ID." - }, - "response": [] + "description": "[https://pan.dev/prisma-cloud/api/cspm/user-profile/](https://pan.dev/prisma-cloud/api/cspm/user-profile/)\n\nManage your Prisma Cloud user profiles." }, { - "name": "List Alert Remediation Commands", - "event": [ + "name": "User Roles", + "item": [ { - "listen": "test", - "script": { - "exec": [ - "" + "name": "List User Roles", + "request": { + "method": "GET", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } ], - "type": "text/javascript" - } - } - ], - "request": { - "auth": { - "type": "noauth" - }, - "method": "POST", - "header": [ - { - "key": "Accept", - "value": "application/json; charset=UTF-8", - "type": "text" - }, - { - "key": "Content-Type", - "name": "Content-Type", - "value": "application/json", - "type": "text" - }, - { - "key": "x-redlock-auth", - "value": "{{token}}", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{\n\t\"alerts\":[\"P-153248\"],\n\t\"filter\":{\n\t\t\"timeRange\":{\n\t\t\t\"type\":\"to_now\",\n\t\t\t\"value\":\"epoch\"\n\t\t\t}\n\t\t}\n\t}" - }, - "url": { - "raw": "https://api.prismacloud.io/alert/remediation", - "protocol": "https", - "host": [ - "api", - "prismacloud", - "io" - ], - "path": [ - "alert", - "remediation" - ] - }, - "description": "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." - }, - "response": [] - } - ] - }, - { - "name": "Asset Inventory", - "item": [ - { - "name": "List Inventory Filters V2", - "request": { - "method": "GET", - "header": [ - { - "key": "accept", - "type": "text", - "value": "application/json; charset=UTF-8" - }, - { - "key": "content-type", - "type": "text", - "value": "application/json" - }, - { - "key": "x-redlock-auth", - "type": "text", - "value": "{{token}}" - } - ], - "url": { - "raw": "https://{{api-endpoint}}/filter/v2/inventory/suggest", - "protocol": "https", - "host": [ - "{{api-endpoint}}" - ], - "path": [ - "filter", - "v2", - "inventory", - "suggest" - ] - }, - "description": "Returns an object whose keys are supported asset inventory filters and values contain default recent options." - }, - "response": [] - }, - { - "name": "List Saved Asset Inventory Filters", - "request": { - "method": "GET", - "header": [ - { - "key": "accept", - "type": "text", - "value": "application/json; charset=UTF-8" - }, - { - "key": "content-type", - "type": "text", - "value": "application/json" - }, - { - "key": "x-redlock-auth", - "type": "text", - "value": "{{token}}" - } - ], - "url": { - "raw": "https://{{api-endpoint}}/filter/inventory", - "protocol": "https", - "host": [ - "{{api-endpoint}}" - ], - "path": [ - "filter", - "inventory" - ] - }, - "description": "Returns a list of all the saved asset inventory filters." - }, - "response": [] - }, - { - "name": "List Saved Asset Inventory Filters Copy", - "request": { - "method": "GET", - "header": [ - { - "key": "accept", - "type": "text", - "value": "application/json; charset=UTF-8" - }, - { - "key": "content-type", - "type": "text", - "value": "application/json" - }, - { - "key": "x-redlock-auth", - "type": "text", - "value": "{{token}}" - } - ], - "url": { - "raw": "https://{{api-endpoint}}/filter/inventory/SAVED_INVENTORY_NAME", - "protocol": "https", - "host": [ - "{{api-endpoint}}" - ], - "path": [ - "filter", - "inventory", - "SAVED_INVENTORY_NAME" - ] - }, - "description": "Returns a list of all the saved asset inventory filters." - }, - "response": [] - }, - { - "name": "List Inventory Dashboard Filter Autocomplete Suggestions V2", - "request": { - "method": "POST", - "header": [ - { - "key": "accept", - "type": "text", - "value": "application/json; charset=UTF-8" - }, - { - "key": "content-type", - "type": "text", - "value": "application/json" - }, - { - "key": "x-redlock-auth", - "type": "text", - "value": "{{token}}" - } - ], - "body": { - "mode": "raw", - "raw": "{\n\t\"query\":\"QUERY\",\n\t\"filterName\":\"FILTER\"\n}" - }, - "url": { - "raw": "https://{{api-endpoint}}/filter/v2/inventory/suggest", - "protocol": "https", - "host": [ - "{{api-endpoint}}" - ], - "path": [ - "filter", - "v2", - "inventory", - "suggest" - ] - }, - "description": "Returns filter autocomplete suggestions." - }, - "response": [] - }, - { - "name": "Asset Inventory View V2", - "request": { - "method": "GET", - "header": [ - { - "key": "accept", - "type": "text", - "value": "application/json; charset=UTF-8" - }, - { - "key": "content-type", - "type": "text", - "value": "application/json" - }, - { - "key": "x-redlock-auth", - "type": "text", - "value": "{{token}}" - } - ], - "url": { - "raw": "https://{{api-endpoint}}/v2/inventory?timeType=relative&timeAmount=40&timeUnit=hour", - "protocol": "https", - "host": [ - "{{api-endpoint}}" - ], - "path": [ - "v2", - "inventory" - ], - "query": [ - { - "key": "timeType", - "value": "relative" - }, - { - "key": "timeAmount", - "value": "40" - }, - { - "key": "timeUnit", - "value": "hour" - } - ] - }, - "description": "Returns asset inventory pass/fail data for the specified time period." - }, - "response": [] - }, - { - "name": "Asset Inventory Trend View V2", - "request": { - "method": "GET", - "header": [ - { - "key": "accept", - "type": "text", - "value": "application/json; charset=UTF-8" - }, - { - "key": "content-type", - "type": "text", - "value": "application/json" - }, - { - "key": "x-redlock-auth", - "type": "text", - "value": "{{token}}" - } - ], - "url": { - "raw": "https://{{api-endpoint}}/v2/inventory/trend?timeType=relative&timeAmount=40&timeUnit=hour", - "protocol": "https", - "host": [ - "{{api-endpoint}}" - ], - "path": [ - "v2", - "inventory", - "trend" - ], - "query": [ - { - "key": "timeType", - "value": "relative" - }, - { - "key": "timeAmount", - "value": "40" - }, - { - "key": "timeUnit", - "value": "hour" - } - ] - }, - "description": "Returns asset inventory pass/fail trends for the specified time period." - }, - "response": [] - } - ] - }, - { - "name": "Compliance Reports", - "item": [] - }, - { - "name": "Compliance Posture", - "item": [ - { - "name": "Get Compliance Statistics Breakdown", - "request": { - "method": "GET", - "header": [ - { - "key": "accept", - "type": "text", - "value": "application/json; charset=UTF-8" - }, - { - "key": "content-type", - "type": "text", - "value": "application/json" - }, - { - "key": "x-redlock-auth", - "type": "text", - "value": "{{token}}" - } - ], - "url": { - "raw": "https://{{api-endpoint}}/compliance/posture?to_now&cloud.account=CLOUD_ACCOUNT_NAME&cloud.type=aws", - "protocol": "https", - "host": [ - "{{api-endpoint}}" - ], - "path": [ - "compliance", - "posture" - ], - "query": [ - { - "key": "to_now", - "value": null - }, - { - "key": "cloud.account", - "value": "CLOUD_ACCOUNT_NAME" - }, - { - "key": "cloud.type", - "value": "aws" - } - ] - }, - "description": "Returns a breakdown of the passed/failed statistics and associated policies for compliance standards, requirements, and sections. Also returns a summary for all compliance standards." - }, - "response": [] - }, - { - "name": "Get Compliance Statistics for Compliance Standard ID", - "request": { - "method": "GET", - "header": [ - { - "key": "accept", - "type": "text", - "value": "application/json; charset=UTF-8" - }, - { - "key": "content-type", - "type": "text", - "value": "application/json" - }, - { - "key": "x-redlock-auth", - "type": "text", - "value": "{{token}}" - } - ], - "url": { - "raw": "https://{{api-endpoint}}/compliance/posture/fd9e3d3a-29a0-4ddc-b058-6f7eabd7d85a?timeType=relative&timeAmount=40&timeUnit=hour", - "protocol": "https", - "host": [ - "{{api-endpoint}}" - ], - "path": [ - "compliance", - "posture", - "fd9e3d3a-29a0-4ddc-b058-6f7eabd7d85a" - ], - "query": [ - { - "key": "timeType", - "value": "relative" - }, - { - "key": "timeAmount", - "value": "40" - }, - { - "key": "timeUnit", - "value": "hour" - } - ] - }, - "description": "Returns a breakdown of the passed/failed statistics and associated policies for compliance standards, requirements, and sections for the given compliance standard ID." - }, - "response": [] - }, - { - "name": "Get Compliance Statistics for Requirement ID", - "request": { - "method": "GET", - "header": [ - { - "key": "accept", - "type": "text", - "value": "application/json; charset=UTF-8" - }, - { - "key": "content-type", - "type": "text", - "value": "application/json" - }, - { - "key": "x-redlock-auth", - "type": "text", - "value": "{{token}}" - } - ], - "url": { - "raw": "https://{{api-endpoint}}/compliance/posture/fd9e3d3a-29a0-4ddc-b058-6f7eabd7d85a/a467eb11-b55b-4484-83ba-f55a7ef4358b?timeType=relative&timeAmount=40&timeUnit=hour", - "protocol": "https", - "host": [ - "{{api-endpoint}}" - ], - "path": [ - "compliance", - "posture", - "fd9e3d3a-29a0-4ddc-b058-6f7eabd7d85a", - "a467eb11-b55b-4484-83ba-f55a7ef4358b" - ], - "query": [ - { - "key": "timeType", - "value": "relative" - }, - { - "key": "timeAmount", - "value": "40" - }, - { - "key": "timeUnit", - "value": "hour" - } - ] - }, - "description": "Returns a breakdown of the passed/failed statistics and associated policies for compliance sections for the specified compliance standard ID and compliance requirement ID." - }, - "response": [] - }, - { - "name": "Get Compliance Statistics Over Time", - "request": { - "method": "GET", - "header": [ - { - "key": "accept", - "type": "text", - "value": "application/json; charset=UTF-8" - }, - { - "key": "content-type", - "type": "text", - "value": "application/json" - }, - { - "key": "x-redlock-auth", - "type": "text", - "value": "{{token}}" - } - ], - "url": { - "raw": "https://{{api-endpoint}}/compliance/posture/trend?timeType=relative&timeAmount=40&timeUnit=hour", - "protocol": "https", - "host": [ - "{{api-endpoint}}" - ], - "path": [ - "compliance", - "posture", - "trend" - ], - "query": [ - { - "key": "timeType", - "value": "relative" - }, - { - "key": "timeAmount", - "value": "40" - }, - { - "key": "timeUnit", - "value": "hour" - } - ] - }, - "description": "Returns a compliance posture summary that describes the passed/failed statistics trend." - }, - "response": [] - }, - { - "name": "Get Compliance Statistics Over Time for Compliance Standard ID", - "request": { - "method": "GET", - "header": [ - { - "key": "accept", - "type": "text", - "value": "application/json; charset=UTF-8" - }, - { - "key": "content-type", - "type": "text", - "value": "application/json" - }, - { - "key": "x-redlock-auth", - "type": "text", - "value": "{{token}}" - } - ], - "url": { - "raw": "https://{{api-endpoint}}/compliance/posture/trend/fd9e3d3a-29a0-4ddc-b058-6f7eabd7d85a?timeType=relative&timeAmount=40&timeUnit=hour", - "protocol": "https", - "host": [ - "{{api-endpoint}}" - ], - "path": [ - "compliance", - "posture", - "trend", - "fd9e3d3a-29a0-4ddc-b058-6f7eabd7d85a" - ], - "query": [ - { - "key": "timeType", - "value": "relative" - }, - { - "key": "timeAmount", - "value": "40" + "url": { + "raw": "https://{{api-endpoint}}/user/role", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "user", + "role" + ] }, - { - "key": "timeUnit", - "value": "hour" - } - ] + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-user-roles/](https://pan.dev/prisma-cloud/api/cspm/get-user-roles/)" + }, + "response": [] }, - "description": "Returns a compliance posture summary that describes the passed/failed statistics trend for the specified compliance standard ID." - }, - "response": [] - }, - { - "name": "Get Compliance Statistics Over Time for Requirement ID", - "request": { - "method": "GET", - "header": [ - { - "key": "accept", - "type": "text", - "value": "application/json; charset=UTF-8" - }, - { - "key": "content-type", - "type": "text", - "value": "application/json" - }, - { - "key": "x-redlock-auth", - "type": "text", - "value": "{{token}}" - } - ], - "url": { - "raw": "https://{{api-endpoint}}/compliance/posture/trend/fd9e3d3a-29a0-4ddc-b058-6f7eabd7d85a/a467eb11-b55b-4484-83ba-f55a7ef4358b?timeType=relative&timeAmount=40&timeUnit=hour", - "protocol": "https", - "host": [ - "{{api-endpoint}}" - ], - "path": [ - "compliance", - "posture", - "trend", - "fd9e3d3a-29a0-4ddc-b058-6f7eabd7d85a", - "a467eb11-b55b-4484-83ba-f55a7ef4358b" - ], - "query": [ - { - "key": "timeType", - "value": "relative" + { + "name": "Add User Role", + "request": { + "method": "POST", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"accountGroupIds\": [\n \"string\"\n ],\n \"additionalAttributes\": {\n \"hasDefenderPermissions\": true,\n \"onlyAllowCIAccess\": true,\n \"onlyAllowComputeAccess\": true\n },\n \"codeRepositoryIds\": [\n \"string\"\n ],\n \"description\": \"string\",\n \"name\": \"string\",\n \"resourceListIds\": [\n \"string\"\n ],\n \"restrictDismissalAccess\": true,\n \"roleType\": \"string\"\n}" }, - { - "key": "timeAmount", - "value": "40" + "url": { + "raw": "https://{{api-endpoint}}/user/role", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "user", + "role" + ] }, - { - "key": "timeUnit", - "value": "hour" - } - ] + "description": "[https://pan.dev/prisma-cloud/api/cspm/add-user-role/](https://pan.dev/prisma-cloud/api/cspm/add-user-role/)" + }, + "response": [] }, - "description": "Returns the compliance posture summary that describes the passed/failed statistics trend for the given compliance standard ID and compliance requirement ID." - }, - "response": [] - }, - { - "name": "Get Compliance Overview Filters and Options", - "request": { - "method": "GET", - "header": [ - { - "key": "accept", - "type": "text", - "value": "application/json; charset=UTF-8" - }, - { - "key": "content-type", - "type": "text", - "value": "application/json" - }, - { - "key": "x-redlock-auth", - "type": "text", - "value": "{{token}}" - } - ], - "url": { - "raw": "https://{{api-endpoint}}/filter/compliance/posture/suggest", - "protocol": "https", - "host": [ - "{{api-endpoint}}" - ], - "path": [ - "filter", - "compliance", - "posture", - "suggest" - ] + { + "name": "List User Role Names", + "request": { + "method": "GET", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "url": { + "raw": "https://{{api-endpoint}}/user/role/name", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "user", + "role", + "name" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-user-role-name/](https://pan.dev/prisma-cloud/api/cspm/get-user-role-name/)" + }, + "response": [] }, - "description": "Returns an object whose key/value pairs identify filter options for compliance posture data. The keys are supported filters, and the corresponding values identify the available and saved filter options." - }, - "response": [] - } - ] - }, - { - "name": "Compliance Dashboard", - "item": [ - { - "name": "Compliance Resource Statistics Breakdown ", - "request": { - "method": "GET", - "header": [ - { - "key": "accept", - "type": "text", - "value": "application/json; charset=UTF-8" - }, - { - "key": "content-type", - "type": "text", - "value": "application/json" - }, - { - "key": "x-redlock-auth", - "type": "text", - "value": "{{token}}" - } - ], - "url": { - "raw": "https://{{api-endpoint}}/compliance/dashboard?timeType=relative&timeAmount=40&timeUnit=hour", - "protocol": "https", - "host": [ - "{{api-endpoint}}" - ], - "path": [ - "compliance", - "dashboard" - ], - "query": [ - { - "key": "timeType", - "value": "relative" + { + "name": "List User Role Types", + "request": { + "method": "GET", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "url": { + "raw": "https://{{api-endpoint}}/user/role/type", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "user", + "role", + "type" + ] }, - { - "key": "timeAmount", - "value": "40" + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-user-role-types/](https://pan.dev/prisma-cloud/api/cspm/get-user-role-types/)" + }, + "response": [] + }, + { + "name": "User Role Info", + "request": { + "method": "GET", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "url": { + "raw": "https://{{api-endpoint}}/user/role/:id", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "user", + "role", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "User Role ID" + } + ] }, - { - "key": "timeUnit", - "value": "hour" - } - ] + "description": "[https://pan.dev/prisma-cloud/api/cspm/get-user-role/](https://pan.dev/prisma-cloud/api/cspm/get-user-role/)" + }, + "response": [] }, - "description": "Used to get a full breakdown of pass / failed statistics and associated policies for compliance standards, requirements, or sections (Deprecated)." - }, - "response": [] - }, - { - "name": "Overall Compliance Resource Statistics Over Time", - "request": { - "method": "GET", - "header": [ - { - "key": "accept", - "type": "text", - "value": "application/json; charset=UTF-8" - }, - { - "key": "content-type", - "type": "text", - "value": "application/json" - }, - { - "key": "x-redlock-auth", - "type": "text", - "value": "{{token}}" - } - ], - "url": { - "raw": "https://{{api-endpoint}}/compliance/dashboard/history?timeType=relative&timeAmount=40&timeUnit=hour", - "protocol": "https", - "host": [ - "{{api-endpoint}}" - ], - "path": [ - "compliance", - "dashboard", - "history" - ], - "query": [ - { - "key": "timeType", - "value": "relative" + { + "name": "Update User Role", + "request": { + "method": "PUT", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"accountGroupIds\": [\n \"string\"\n ],\n \"additionalAttributes\": {\n \"hasDefenderPermissions\": true,\n \"onlyAllowCIAccess\": true,\n \"onlyAllowComputeAccess\": true\n },\n \"codeRepositoryIds\": [\n \"string\"\n ],\n \"description\": \"string\",\n \"name\": \"string\",\n \"resourceListIds\": [\n \"string\"\n ],\n \"restrictDismissalAccess\": true,\n \"roleType\": \"string\"\n}" }, - { - "key": "timeAmount", - "value": "40" + "url": { + "raw": "https://{{api-endpoint}}/user/role/:id", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "user", + "role", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "" + } + ] }, - { - "key": "timeUnit", - "value": "hour" - } - ] - }, - "description": "Used to get the overall compliance centric resource count and pass / fail statistics over a given period of time " - }, - "response": [] - }, - { - "name": "Get Compliance Dashboard Filters", - "request": { - "method": "GET", - "header": [ - { - "key": "accept", - "type": "text", - "value": "application/json; charset=UTF-8" - }, - { - "key": "content-type", - "type": "text", - "value": "application/json" - }, - { - "key": "x-redlock-auth", - "type": "text", - "value": "{{token}}" - } - ], - "url": { - "raw": "https://{{api-endpoint}}/filter/compliance/suggest", - "protocol": "https", - "host": [ - "{{api-endpoint}}" - ], - "path": [ - "filter", - "compliance", - "suggest" - ] - }, - "description": "Returns an object with key/value pairs that identify filter options for Compliance Dashboard data. The keys are supported filters, and the corresponding values identify the available and saved filter options" - }, - "response": [] - }, - { - "name": "Get Compliance Dashboard Filters Copy", - "request": { - "method": "POST", - "header": [ - { - "key": "accept", - "type": "text", - "value": "application/json; charset=UTF-8" - }, - { - "key": "content-type", - "type": "text", - "value": "application/json" - }, - { - "key": "x-redlock-auth", - "type": "text", - "value": "{{token}}" - } - ], - "url": { - "raw": "https://{{api-endpoint}}/filter/compliance/suggest", - "protocol": "https", - "host": [ - "{{api-endpoint}}" - ], - "path": [ - "filter", - "compliance", - "suggest" - ] - }, - "description": "Returns an object with key/value pairs that identify filter options for Compliance Dashboard data. The keys are supported filters, and the corresponding values identify the available and saved filter options" - }, - "response": [] - } - ] - }, - { - "name": "Compliance Standards", - "item": [ - { - "name": "List Compliance Standards", - "request": { - "method": "GET", - "header": [ - { - "key": "accept", - "type": "text", - "value": "application/json; charset=UTF-8" - }, - { - "key": "content-type", - "type": "text", - "value": "application/json" - }, - { - "key": "x-redlock-auth", - "type": "text", - "value": "{{token}}" - } - ], - "url": { - "raw": "https://{{api-endpoint}}/compliance", - "protocol": "https", - "host": [ - "{{api-endpoint}}" - ], - "path": [ - "compliance" - ] - }, - "description": "Returns all system supported and custom compliance standards" - }, - "response": [] - }, - { - "name": "List Compliance Standards by ID", - "request": { - "method": "GET", - "header": [ - { - "key": "accept", - "type": "text", - "value": "application/json; charset=UTF-8" - }, - { - "key": "content-type", - "type": "text", - "value": "application/json" - }, - { - "key": "x-redlock-auth", - "type": "text", - "value": "{{token}}" - } - ], - "url": { - "raw": "https://{{api-endpoint}}/compliance/COMPLIANCE_ID_HERE", - "protocol": "https", - "host": [ - "{{api-endpoint}}" - ], - "path": [ - "compliance", - "COMPLIANCE_ID_HERE" - ] - }, - "description": "Returns a specific compliance standards based on ID" - }, - "response": [] - }, - { - "name": "List Compliance Requirements by ID", - "request": { - "method": "GET", - "header": [ - { - "key": "accept", - "type": "text", - "value": "application/json; charset=UTF-8" - }, - { - "key": "content-type", - "type": "text", - "value": "application/json" - }, - { - "key": "x-redlock-auth", - "type": "text", - "value": "{{token}}" - } - ], - "url": { - "raw": "https://{{api-endpoint}}/compliance/COMPLIANCE_ID_HERE/requirement", - "protocol": "https", - "host": [ - "{{api-endpoint}}" - ], - "path": [ - "compliance", - "COMPLIANCE_ID_HERE", - "requirement" - ] - }, - "description": "Returns a list of all compliance requirements for the specified compliance standard ID." - }, - "response": [] - }, - { - "name": "Get Compliance Requirement by ID", - "request": { - "method": "GET", - "header": [ - { - "key": "accept", - "type": "text", - "value": "application/json; charset=UTF-8" - }, - { - "key": "content-type", - "type": "text", - "value": "application/json" - }, - { - "key": "x-redlock-auth", - "type": "text", - "value": "{{token}}" - } - ], - "url": { - "raw": "https://{{api-endpoint}}/compliance/requirement/REQUIREMENT_ID_HERE", - "protocol": "https", - "host": [ - "{{api-endpoint}}" - ], - "path": [ - "compliance", - "requirement", - "REQUIREMENT_ID_HERE" - ] + "description": "[https://pan.dev/prisma-cloud/api/cspm/update-user-role/](https://pan.dev/prisma-cloud/api/cspm/update-user-role/)" + }, + "response": [] }, - "description": "Returns compliance requirement data for the specified requirements ID." - }, - "response": [] + { + "name": "Delete User Role", + "request": { + "method": "DELETE", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "url": { + "raw": "https://{{api-endpoint}}/user/role/:id", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "user", + "role", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "User Role ID" + } + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/delete-user-role/](https://pan.dev/prisma-cloud/api/cspm/delete-user-role/)" + }, + "response": [] + } + ], + "description": "[https://pan.dev/prisma-cloud/api/cspm/user-roles/](https://pan.dev/prisma-cloud/api/cspm/user-roles/)\n\nManage your Prisma Cloud user roles." }, { - "name": "List Compliance Requirement Sections", - "request": { - "method": "GET", - "header": [ - { - "key": "accept", - "type": "text", - "value": "application/json; charset=UTF-8" - }, - { - "key": "content-type", - "type": "text", - "value": "application/json" - }, - { - "key": "x-redlock-auth", - "type": "text", - "value": "{{token}}" - } - ], - "url": { - "raw": "https://{{api-endpoint}}/compliance/REQUIREMENT_ID_HERE/section", - "protocol": "https", - "host": [ - "{{api-endpoint}}" - ], - "path": [ - "compliance", - "REQUIREMENT_ID_HERE", - "section" - ] - }, - "description": "Returns a list of all compliance requirement sections for the specified compliance requirement ID." - }, - "response": [] - } - ] - }, - { - "name": "Resource Explorer", - "item": [] - }, - { - "name": "Audit Logs", - "item": [ - { - "name": "Prisma Cloud Audit Logs", - "request": { - "method": "GET", - "header": [ - { - "key": "accept", - "type": "text", - "value": "application/json; charset=UTF-8" - }, - { - "key": "content-type", - "type": "text", - "value": "application/json" - }, - { - "key": "x-redlock-auth", - "type": "text", - "value": "{{token}}" - } - ], - "url": { - "raw": "https://{{api-endpoint}}/audit/redlock?timeType=relative&timeAmount=40&timeUnit=hour", - "protocol": "https", - "host": [ - "{{api-endpoint}}" - ], - "path": [ - "audit", - "redlock" - ], - "query": [ - { - "key": "timeType", - "value": "relative" + "name": "Code to Cloud", + "item": [ + { + "name": "List Deploy Trend", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } }, - { - "key": "timeAmount", - "value": "40" + "url": { + "raw": "https://{{api-endpoint}}/c2c/api/v1/deploy/trend", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "c2c", + "api", + "v1", + "deploy", + "trend" + ] }, - { - "key": "timeUnit", - "value": "hour" - } - ] - }, - "description": "Allows a user to retrieve audit logs for events that took place on the Prisma Cloud platform." - }, - "response": [] - } - ] - }, - { - "name": "Licensing", - "item": [ - { - "name": "Licensing Usage Count for Compute ", - "request": { - "method": "POST", - "header": [ - { - "key": "accept", - "type": "text", - "value": "application/json; charset=UTF-8" - }, - { - "key": "content-type", - "type": "text", - "value": "application/json" - }, - { - "key": "x-redlock-auth", - "type": "text", - "value": "{{token}}" - } - ], - "body": { - "mode": "raw", - "raw": "{\n\t\"aggregate\":true,\n\t\"timeRange\":\n\t{\n\t\t\"type\":\"to_now\",\"value\":\"epoch\"\n\t}\n}" - }, - "url": { - "raw": "https://{{api-endpoint}}/usage/compute/twistlock", - "protocol": "https", - "host": [ - "{{api-endpoint}}" - ], - "path": [ - "usage", - "compute", - "twistlock" - ] + "description": "[https://pan.dev/prisma-cloud/api/cspm/code-to-cloud-list-deploy-trend/](https://pan.dev/prisma-cloud/api/cspm/code-to-cloud-list-deploy-trend/)" + }, + "response": [] }, - "description": "Gets the current Compute licensing usage until now. " - }, - "response": [] - } - ] - }, - { - "name": "IP Whitelisting", - "item": [] - }, - { - "name": "Search Manager", - "item": [] - }, - { - "name": "Search", - "item": [ - { - "name": "https://api.prismacloud.io/search/config", - "event": [ { - "listen": "test", - "script": { - "exec": [ - "" - ], - "type": "text/javascript" - } - } - ], - "request": { - "auth": { - "type": "noauth" - }, - "method": "POST", - "header": [ - { - "key": "Content-Type", - "name": "Content-Type", - "value": "text/csv", - "type": "text" - }, - { - "key": "x-redlock-auth", - "value": "{{token}}", - "type": "text" - }, - { - "key": "Accept", - "value": "application/json; text/csv; charset=UTF-8", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"query\": \"config where api.name = 'azure-network-nic-list' \",\n \"timeRange\": {\n \"type\": \"relative\",\n \"value\": {\n \"unit\": \"hour\",\n \"amount\": 24\n }\n }\n}" - }, - "url": { - "raw": "https://{{api-endpoint}}/search/config", - "protocol": "https", - "host": [ - "{{api-endpoint}}" - ], - "path": [ - "search", - "config" - ] + "name": "List Runtime Trend", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://{{api-endpoint}}/c2c/api/v1/runtime/trend", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "c2c", + "api", + "v1", + "runtime", + "trend" + ] + }, + "description": "[https://pan.dev/prisma-cloud/api/cspm/code-to-cloud-list-runtime-trend/](https://pan.dev/prisma-cloud/api/cspm/code-to-cloud-list-runtime-trend/)" + }, + "response": [] } - }, - "response": [ + ] + }, + { + "name": "Infrastructure as Code", + "item": [ { - "name": "https://api.prismacloud.io/search/config", - "originalRequest": { + "name": "Add Scan Asset", + "request": { "method": "POST", "header": [ + { + "key": "Accept", + "value": "application/vnd.api+json", + "type": "text" + }, { "key": "Content-Type", - "name": "Content-Type", - "value": "text/csv", + "value": "application/vnd.api+json", "type": "text" }, { @@ -4198,793 +22052,214 @@ ], "body": { "mode": "raw", - "raw": "{\n \"query\": \"config where api.name = 'azure-network-nic-list' \",\n \"timeRange\": {\n \"type\": \"relative\",\n \"value\": {\n \"unit\": \"hour\",\n \"amount\": 24\n }\n }\n}" + "raw": "{\n \"data\": {\n \"type\": \"async-scan\",\n \"attributes\": {\n \"assetName\": \"Asset name that will appear as the Resource name in the Prisma Cloud DevOps Inventory\",\n \"assetType\": \"IaC-API\",\n \"failureCriteria\": {\n \"high\": 1,\n \"medium\": 2,\n \"low\": 3,\n \"operator\": \"or\"\n },\n \"scanAttributes\": {\n \"scanName\": \"Example\",\n \"scanVersion\": \"2.0\"\n },\n \"tags\": {\n \"org\": \"Palo Alto Networks\",\n \"team\": \"Prisma Cloud SE\"\n }\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } }, "url": { - "raw": "https://{{api-endpoint}}/search/config", + "raw": "https://{{api-endpoint}}/iac/v2/scans", "protocol": "https", "host": [ "{{api-endpoint}}" ], "path": [ - "search", - "config" + "iac", + "v2", + "scans" ] - } - }, - "status": "Unsupported Media Type", - "code": 415, - "_postman_previewlanguage": "plain", - "header": [ - { - "key": "Date", - "value": "Mon, 05 Oct 2020 18:26:03 GMT" - }, - { - "key": "Content-Length", - "value": "0" - }, - { - "key": "Connection", - "value": "keep-alive" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Access-Control-Allow-Headers", - "value": "x-redlock-request-id,x-redlock-auth,rl-json-rule,terraform-version,terraform-012-parameters,rl-variable-file-names,rl-parameters,Content-Type" }, - { - "key": "Access-Control-Allow-Methods", - "value": "POST, PUT, GET, OPTIONS, DELETE, PATCH" - }, - { - "key": "Access-Control-Expose-Headers", - "value": "x-redlock-auth,x-redlock-request-id,x-redlock-status, x-redlock-fileName" - }, - { - "key": "Access-Control-Max-Age", - "value": "60" - }, - { - "key": "Strict-Transport-Security", - "value": "max-age=31536000; includeSubDomains" + "description": "Create an IaC scan asset in Prisma Cloud.\n\nReturns a SCAN_ID (data.id) and a URL (data.links.url) for uploading the templates to be scanned. \n\nThe SCAN_ID is required by the Initiate Scan Job, Get Scan Job Status, and Get Scan Result Details endpoints." + }, + "response": [] + }, + { + "name": "Initiate Scan Job", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/vnd.api+json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"data\": {\n \"attributes\": {\n \"templateType\": \"TF\",\n \"templateVersion\": \"0.13\"\n },\n \"id\": \"SCAN_UUID\",\n \"templateParameters\": {\n \"variableFiles\": [\n \"RELATIVE/PATH/TO/VARIABLE/FILE\"\n ],\n \"policyIdFilters\": [\n \"1abcdef2-3gh4-5ij6-7kl8-9mnopqrstuv0\"\n ],\n \"files\": [\n \"RELATIVE/PATH/TO/FILE\"\n ],\n \"folders\": [\n \"RELATIVE/PATH/TO/FOLDER\"\n ]\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } }, - { - "key": "X-Content-Type-Options", - "value": "nosniff" + "url": { + "raw": "https://{{api-endpoint}}/iac/v2/scans/SCAN_ID", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "iac", + "v2", + "scans", + "SCAN_ID" + ] }, - { - "key": "X-Frame-Options", - "value": "DENY" + "description": "Start a job to perform an asynchronous scan of the templates uploaded to the IaC scan asset.\n\nBefore using this endpoint, you must use the URL returned by the Add Scan Asset endpoint to upload the templates to be scanned." + }, + "response": [] + }, + { + "name": "Get Scan Job Status", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/vnd.api+json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } }, - { - "key": "X-XSS-Protection", - "value": "1; mode=block" + "url": { + "raw": "https://{{api-endpoint}}/iac/v2/scans/SCAN_ID/status", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "iac", + "v2", + "scans", + "SCAN_ID", + "status" + ] }, - { - "key": "Content-Security-Policy", - "value": "default-src 'self'" + "description": "Query scan job status.\n\nBefore using this endpoint, you must use the Initiate Scan Job endpoint to start the scan of the IaC scan asset." + }, + "response": [] + }, + { + "name": "Get Scan Result Details", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/vnd.api+json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } }, - { - "key": "x-redlock-request-id", - "value": "85e71b7c274148e3b33167628e7e3621" + "url": { + "raw": "https://{{api-endpoint}}/iac/v2/scans/SCAN_ID/results", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "iac", + "v2", + "scans", + "SCAN_ID", + "results" + ] }, - { - "key": "Accept", - "value": "application/json;charset=UTF-8" - } - ], - "cookie": [], - "body": null + "description": "Request IaC scan results.\n\nBefore using this endpoint, you must use the Get Scan Job Status endpoint to verify that the scan job is completed." + }, + "response": [] } ] - } - ] - }, - { - "name": "Alert Rules", - "item": [ + }, { - "name": "List Alert Rules V2", - "event": [ + "name": "Support App", + "item": [ { - "listen": "test", - "script": { - "exec": [ - "" + "name": "Get Support App Customers", + "request": { + "method": "GET", + "header": [ + { + "key": "accept", + "value": "application/json; charset=UTF-8", + "type": "text" + }, + { + "key": "content-type", + "value": "application/json", + "type": "text" + }, + { + "key": "x-redlock-auth", + "value": "{{token}}", + "type": "text" + } ], - "type": "text/javascript" - } + "url": { + "raw": "https://{{api-endpoint}}/_support/customer", + "protocol": "https", + "host": [ + "{{api-endpoint}}" + ], + "path": [ + "_support", + "customer" + ] + } + }, + "response": [] } - ], - "request": { - "auth": { - "type": "noauth" - }, - "method": "GET", - "header": [ - { - "key": "Content-Type", - "name": "Content-Type", - "type": "text", - "value": "application/json" - }, - { - "key": "x-redlock-auth", - "type": "text", - "value": "{{token}}" - } - ], - "url": { - "raw": "https://{{api-endpoint}}/v2/alert/rule", - "protocol": "https", - "host": [ - "{{api-endpoint}}" - ], - "path": [ - "v2", - "alert", - "rule" - ] - }, - "description": "Returns all alert rules you have permission to see based on your role. The data returned does not include an open alerts count." - }, - "response": [] + ] } ] }, { - "name": "Notification Templates", + "name": "Runtime Security", "item": [] }, { - "name": "Integrations (incomplete)", - "item": [ - { - "name": "Integration Configuration (Info Only)", - "request": { - "method": "GET", - "header": [ - { - "key": "accept", - "type": "text", - "value": "application/json; charset=UTF-8" - }, - { - "key": "content-type", - "type": "text", - "value": "application/json" - }, - { - "key": "x-redlock-auth", - "type": "text", - "value": "{{token}}" - } - ], - "url": { - "raw": "" - }, - "description": "Integration Configuration\nThe model for an integration between Prisma Cloud and an external system includes an integrationConfig parameter that is a map of key/value pairs. The type of integration defines the content of these key/value pairs.\n\n \nServiceNow Integration\nIntegrate Prisma Cloud with ServiceNow and get automatically notified about Prisma Cloud alerts through ServiceNow tickets to prioritize incidents and vulnerabilities that impact your business. Prisma Cloud integrates with the ITSM module (incident table), the Security Incident Response module (sn_si_incident table), and the Event Management modules (em_event table) on ServiceNow to generate alerts in the form of ITSM Incident, Security Incident, and Event tickets.\n\nAdd, Update, or Test a ServiceNow Integration\nTo add a ServiceNow integration, invoke the API with the corresponding response body described in Add Integration. As part of that response body, the integrationType parameter for a ServiceNow integration is service_now, and the integrationConfig parameter contains the following key/value pairs.\n\nKey\tValue Description\tValue Type\tDefault Value (* required)\nhostUrl\n\nServiceNow Url\n\nString\n\n*\n\nlogin\n\nServiceNow login\n\nString\n\n*\n\npassword\n\nServiceNow password for login\n\nString\n\n*\n\ntables\n\nArray of key/value pairs that identify the ServiceNow module tables with which to integrate. The possible keys are:\n\nincident\nsn_si_incident\nem_event\nThe possible values fore each key are:\n\ntrue\nfalse\nArray\n\n*\n\nversion\n\nServiceNow release version\n\nString\n\n*\n\nTo update a Servicenow integration, invoke the API with the corresponding response body described in Update Integration. The values of the integrationConfig key/value pairs are updatable.\n\nTo test a ServiceNow integration, invoke the API with the corresponding response body described in Test Integration ." - }, - "response": [] - }, - { - "name": "Test Integration (incomplete)", - "request": { - "method": "POST", - "header": [ - { - "key": "accept", - "type": "text", - "value": "application/json; charset=UTF-8" - }, - { - "key": "content-type", - "type": "text", - "value": "application/json" - }, - { - "key": "x-redlock-auth", - "type": "text", - "value": "{{token}}" - } - ], - "body": { - "mode": "raw", - "raw": "{\n\t\"name\":\"INTEG_NAME\",\n\t\"integrationType\":\"SLACK\",\n\t\"description\":\"INTEG_DESC\",\n\t\"enabled\":true,\n\t\"status\":\"GREEN\"\n}" - }, - "url": { - "raw": "https://{{api-endpoint}}/integration/test", - "protocol": "https", - "host": [ - "{{api-endpoint}}" - ], - "path": [ - "integration", - "test" - ] - }, - "description": "Runs a test of the integration for the specified data." - }, - "response": [] - }, - { - "name": "List Metadata for All Integrations", - "request": { - "method": "GET", - "header": [ - { - "key": "accept", - "type": "text", - "value": "application/json; charset=UTF-8" - }, - { - "key": "content-type", - "type": "text", - "value": "application/json" - }, - { - "key": "x-redlock-auth", - "type": "text", - "value": "{{token}}" - } - ], - "url": { - "raw": "https://{{api-endpoint}}/integration/name?type=", - "protocol": "https", - "host": [ - "{{api-endpoint}}" - ], - "path": [ - "integration", - "name" - ], - "query": [ - { - "key": "type", - "value": "", - "description": " \"slack\",\n \"splunk\",\n \"amazon_sqs\",\n \"webhook\",\n \"microsoft_teams\",\n \"jira\",\n \"service_now\",\n \"pager_duty\",\n \"demisto\",\n \"tenable\",\n \"qualys\",\n \"google_cscc\",\n \"aws_security_hub\"" - } - ] - }, - "description": "Returns the metadata for your integrations filtered by type:\n \"slack\",\n \"splunk\",\n \"amazon_sqs\",\n \"webhook\",\n \"microsoft_teams\",\n \"jira\",\n \"service_now\",\n \"pager_duty\",\n \"demisto\",\n \"tenable\",\n \"qualys\",\n \"google_cscc\",\n \"aws_security_hub\"" - }, - "response": [] - }, - { - "name": "List All Integration Types", - "request": { - "method": "GET", - "header": [ - { - "key": "accept", - "type": "text", - "value": "application/json; charset=UTF-8" - }, - { - "key": "content-type", - "type": "text", - "value": "application/json" - }, - { - "key": "x-redlock-auth", - "type": "text", - "value": "{{token}}" - } - ], - "url": { - "raw": "https://{{api-endpoint}}/integration/type", - "protocol": "https", - "host": [ - "{{api-endpoint}}" - ], - "path": [ - "integration", - "type" - ] - }, - "description": "Lists all integration types" - }, - "response": [] - }, - { - "name": "List All Integrations", - "request": { - "method": "GET", - "header": [ - { - "key": "accept", - "type": "text", - "value": "application/json; charset=UTF-8" - }, - { - "key": "content-type", - "type": "text", - "value": "application/json" - }, - { - "key": "x-redlock-auth", - "type": "text", - "value": "{{token}}" - } - ], - "url": { - "raw": "https://{{api-endpoint}}/integration", - "protocol": "https", - "host": [ - "{{api-endpoint}}" - ], - "path": [ - "integration" - ] - }, - "description": "List all integrations. " - }, - "response": [] - }, - { - "name": "Add Integration (incomplete)", - "request": { - "method": "POST", - "header": [ - { - "key": "accept", - "type": "text", - "value": "application/json; charset=UTF-8" - }, - { - "key": "content-type", - "type": "text", - "value": "application/json" - }, - { - "key": "x-redlock-auth", - "type": "text", - "value": "{{token}}" - } - ], - "url": { - "raw": "https://{{api-endpoint}}/integration/test", - "protocol": "https", - "host": [ - "{{api-endpoint}}" - ], - "path": [ - "integration", - "test" - ] - }, - "description": "Adds an integration with the specified external system." - }, - "response": [] - }, - { - "name": "Get Integrations By ID", - "request": { - "method": "GET", - "header": [ - { - "key": "accept", - "type": "text", - "value": "application/json; charset=UTF-8" - }, - { - "key": "content-type", - "type": "text", - "value": "application/json" - }, - { - "key": "x-redlock-auth", - "type": "text", - "value": "{{token}}" - } - ], - "url": { - "raw": "https://{{api-endpoint}}/integration/INTEG_ID", - "protocol": "https", - "host": [ - "{{api-endpoint}}" - ], - "path": [ - "integration", - "INTEG_ID" - ] - }, - "description": "Returns integration details for the specified ID." - }, - "response": [] - }, - { - "name": "Update Integration", - "request": { - "method": "POST", - "header": [ - { - "key": "accept", - "type": "text", - "value": "application/json; charset=UTF-8" - }, - { - "key": "content-type", - "type": "text", - "value": "application/json" - }, - { - "key": "x-redlock-auth", - "type": "text", - "value": "{{token}}" - } - ], - "body": { - "mode": "raw", - "raw": "{\n\t\"name\":\"INTEG_NAME\",\n\t\"integrationType\":\"SLACK\",\n\t\"description\":\"INTEG_DESC\",\n\t\"enabled\":true,\n\t\"status\":\"GREEN\"\n}" - }, - "url": { - "raw": "https://{{api-endpoint}}/integration/INTEG_ID", - "protocol": "https", - "host": [ - "{{api-endpoint}}" - ], - "path": [ - "integration", - "INTEG_ID" - ] - }, - "description": "Runs a test of the integration for the specified data." - }, - "response": [] - }, - { - "name": "Delete Integration", - "request": { - "method": "DELETE", - "header": [ - { - "key": "accept", - "type": "text", - "value": "application/json; charset=UTF-8" - }, - { - "key": "content-type", - "type": "text", - "value": "application/json" - }, - { - "key": "x-redlock-auth", - "type": "text", - "value": "{{token}}" - } - ], - "url": { - "raw": "https://{{api-endpoint}}/integration/INTEG_ID", - "protocol": "https", - "host": [ - "{{api-endpoint}}" - ], - "path": [ - "integration", - "INTEG_ID" - ] - }, - "description": "Deletes a specific integration based on ID." - }, - "response": [] - } - ] - }, - { - "name": "Settings", - "item": [ - { - "name": "Enterprise Settings", - "request": { - "method": "GET", - "header": [ - { - "key": "accept", - "type": "text", - "value": "application/json; charset=UTF-8" - }, - { - "key": "content-type", - "type": "text", - "value": "application/json" - }, - { - "key": "x-redlock-auth", - "type": "text", - "value": "{{token}}" - } - ], - "url": { - "raw": "https://{{api-endpoint}}/settings/enterprise", - "protocol": "https", - "host": [ - "{{api-endpoint}}" - ], - "path": [ - "settings", - "enterprise" - ] - }, - "description": "Get Entperprise settings for the current Prisma Cloud tenant. " - }, - "response": [] - }, - { - "name": "Enterprise Settings Copy", - "request": { - "method": "POST", - "header": [ - { - "key": "accept", - "type": "text", - "value": "application/json; charset=UTF-8" - }, - { - "key": "content-type", - "type": "text", - "value": "application/json" - }, - { - "key": "x-redlock-auth", - "type": "text", - "value": "{{token}}" - } - ], - "body": { - "mode": "raw", - "raw": "{\n\t\"defaultPoliciesEnabled\":\n\t{\n\t\t\"low\":true,\n\t\t\"medium\":true,\n\t\t\"high\":true\n\t},\n\t\t\"sessionTimeout\":999999,\n\t\t\"anomalyTrainingModelThreshold\":\"High\",\n\t\t\"anomalyAlertDisposition\":\"High\",\n\t\t\"userAttributionInNotification\":true,\n\t\t\"requireAlertDismissalNote\":true,\n\t\t\"applyDefaultPoliciesEnabled\":true\n}" - }, - "url": { - "raw": "https://{{api-endpoint}}/settings/enterprise", - "protocol": "https", - "host": [ - "{{api-endpoint}}" - ], - "path": [ - "settings", - "enterprise" - ] - }, - "description": "Updates enterprise settings based on body parameters." - }, - "response": [] - } - ] - }, - { - "name": "DevOps Security API", + "name": "Application Security", "item": [] - }, - { - "name": "Infrastructure as Code", - "item": [ - { - "name": "Add Scan Asset", - "request": { - "method": "POST", - "header": [ - { - "key": "Accept", - "type": "text", - "value": "application/vnd.api+json" - }, - { - "key": "Content-Type", - "type": "text", - "value": "application/vnd.api+json" - }, - { - "key": "x-redlock-auth", - "type": "text", - "value": "{{token}}" - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"data\": {\n \"type\": \"async-scan\",\n \"attributes\": {\n \"assetName\": \"Asset name that will appear as the Resource name in the Prisma Cloud DevOps Inventory\",\n \"assetType\": \"IaC-API\",\n \"failureCriteria\": {\n \"high\": 1,\n \"medium\": 2,\n \"low\": 3,\n \"operator\": \"or\"\n },\n \"scanAttributes\": {\n \"scanName\": \"Example\",\n \"scanVersion\": \"2.0\"\n },\n \"tags\": {\n \"org\": \"Palo Alto Networks\",\n \"team\": \"Prisma Cloud SE\"\n }\n }\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "https://{{api-endpoint}}/iac/v2/scans", - "protocol": "https", - "host": [ - "{{api-endpoint}}" - ], - "path": [ - "iac", - "v2", - "scans" - ] - }, - "description": "Create an IaC scan asset in Prisma Cloud.\n\nReturns a SCAN_ID (data.id) and a URL (data.links.url) for uploading the templates to be scanned. \n\nThe SCAN_ID is required by the Initiate Scan Job, Get Scan Job Status, and Get Scan Result Details endpoints." - }, - "response": [] - }, - { - "name": "Initiate Scan Job", - "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "type": "text", - "value": "application/vnd.api+json" - }, - { - "key": "x-redlock-auth", - "type": "text", - "value": "{{token}}" - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"data\": {\n \"attributes\": {\n \"templateType\": \"TF\",\n \"templateVersion\": \"0.13\"\n },\n \"id\": \"SCAN_UUID\",\n \"templateParameters\": {\n \"variableFiles\": [\n \"RELATIVE/PATH/TO/VARIABLE/FILE\"\n ],\n \"policyIdFilters\": [\n \"1abcdef2-3gh4-5ij6-7kl8-9mnopqrstuv0\"\n ],\n \"files\": [\n \"RELATIVE/PATH/TO/FILE\"\n ],\n \"folders\": [\n \"RELATIVE/PATH/TO/FOLDER\"\n ]\n }\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "https://{{api-endpoint}}/iac/v2/scans/SCAN_ID", - "protocol": "https", - "host": [ - "{{api-endpoint}}" - ], - "path": [ - "iac", - "v2", - "scans", - "SCAN_ID" - ] - }, - "description": "Start a job to perform an asynchronous scan of the templates uploaded to the IaC scan asset.\n\nBefore using this endpoint, you must use the URL returned by the Add Scan Asset endpoint to upload the templates to be scanned." - }, - "response": [] - }, - { - "name": "Get Scan Job Status", - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "type": "text", - "value": "application/vnd.api+json" - }, - { - "key": "x-redlock-auth", - "type": "text", - "value": "{{token}}" - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "https://{{api-endpoint}}/iac/v2/scans/SCAN_ID/status", - "protocol": "https", - "host": [ - "{{api-endpoint}}" - ], - "path": [ - "iac", - "v2", - "scans", - "SCAN_ID", - "status" - ] - }, - "description": "Query scan job status.\n\nBefore using this endpoint, you must use the Initiate Scan Job endpoint to start the scan of the IaC scan asset." - }, - "response": [] - }, - { - "name": "Get Scan Result Details", - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "type": "text", - "value": "application/vnd.api+json" - }, - { - "key": "x-redlock-auth", - "type": "text", - "value": "{{token}}" - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "https://{{api-endpoint}}/iac/v2/scans/SCAN_ID/results", - "protocol": "https", - "host": [ - "{{api-endpoint}}" - ], - "path": [ - "iac", - "v2", - "scans", - "SCAN_ID", - "results" - ] - }, - "description": "Request IaC scan results.\n\nBefore using this endpoint, you must use the Get Scan Job Status endpoint to verify that the scan job is completed." - }, - "response": [] - } - ], - "protocolProfileBehavior": {} - }, - { - "name": "Support App", - "item": [ - { - "name": "Get Support App Customers", - "request": { - "method": "GET", - "header": [ - { - "key": "accept", - "type": "text", - "value": "application/json; charset=UTF-8" - }, - { - "key": "content-type", - "type": "text", - "value": "application/json" - }, - { - "key": "x-redlock-auth", - "type": "text", - "value": "{{token}}" - } - ], - "url": { - "raw": "https://{{api-endpoint}}/_support/customer", - "protocol": "https", - "host": [ - "{{api-endpoint}}" - ], - "path": [ - "_support", - "customer" - ] - } - }, - "response": [] - } - ] } ] -} \ No newline at end of file +}