Get all Cloud Accounts
GET/cloud
Get details of all the cloud accounts onboarded onto Prisma Cloud. To get details of cloud accounts based on cloud type or account ID, see [Get Cloud Account Details] (https://pan.dev/prisma-cloud/api/cspm/get-cloud-account/).
Request
Query Parameters
true = Exclude account group details. Default is false.
Responses
- 200
successful operation
- application/json; charset=UTF-8
- Schema
- Example (from schema)
Schema
- Array [
- Array [
- ]
- Array [
- ]
- ]
Name
Possible values: [ALL
, AWS
, AZURE
, GCP
, ALIBABA_CLOUD
, OCI
, OTHER
]
Cloud Type
Possible values: [ACCOUNT
, MASTER_SERVICE_ACCOUNT
, COMPARTMENT
, ORGANIZATION
, TENANT
]
Cloud Account Type
Enabled
Time account was last updated
Last Modified By
Storage Scan Enabled
Storage UUID
Possible values: [MONITOR
, MONITOR_AND_PROTECT
]
Protection Mode
Cloud account owner
Possible values: [AZURE
, AZURE_GOVERNMENT
, AZURE_CHINA
, AWS
, AWS_GOVERNMENT
, AWS_CHINA
, OCI
, OCI_GOVERNMENT
, OCI_CHINA
, GCP
, GCP_GOVERNMENT
, GCP_CHINA
, ALIBABA_CLOUD
, ALIBABA_CLOUD_GOVERNMENT
, ALIBABA_CLOUD_CHINA
, ALIBABA_CLOUD_FINANCE
]
Deployment Type
features object[]
Features
Feature name obtained from Fetch Supported Features endpoint
Possible values: [enabled
, disabled
]
Feature state. Whether to be enabled or disabled
Possible values: [enabled
, disabled
]
Enable or disable the feature for all the member accounts linked to this organization. You can enable or disable the defaultMemberState only if the feature state is enabled for the organization. Applicable only for Serverless Function Scanning and Agentless Workload Scanning features.
Associated Account Groups Count with this cloud account
accountGroupInfos object[]
Account group details of groups associated with this account
Group name
Last modified by
group id
auto created
Cloud account owner count
Groups
Account Config Status
Account ID
Added On
Group Ids
[
{
"parentAccountId": "string",
"name": "string",
"cloudType": "ALL",
"accountType": "ACCOUNT",
"enabled": true,
"lastModifiedTs": 0,
"lastModifiedBy": "string",
"storageScanEnabled": true,
"storageUUID": "string",
"protectionMode": "MONITOR",
"cloudAccountOwner": "string",
"deploymentType": "AZURE",
"features": [
{
"name": "Remediation",
"state": "enabled",
"defaultMemberState": "enabled"
}
],
"associatedAccountGroupsCount": 0,
"accountGroupInfos": [
{
"groupName": "string",
"lastModifiedBy": "string",
"groupId": "string",
"autoCreated": true
}
],
"cloudAccountOwnerCount": 0,
"groups": [
{}
],
"status": "string",
"numberOfChildAccounts": 0,
"accountId": "string",
"addedOn": 0,
"groupIds": [
"string"
]
}
]