Skip to main content

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

    excludeAccountGroupDetails boolean

    true = Exclude account group details. Default is false.

    includePendingAccounts boolean

Responses

successful operation

Schema
  • Array [
  • parentAccountId string
    name string

    Name

    cloudType string

    Possible values: [ALL, AWS, AZURE, GCP, ALIBABA_CLOUD, OCI, OTHER]

    Cloud Type

    accountType string

    Possible values: [ACCOUNT, MASTER_SERVICE_ACCOUNT, COMPARTMENT, ORGANIZATION, TENANT]

    Cloud Account Type

    enabled boolean

    Enabled

    lastModifiedTs int64

    Time account was last updated

    lastModifiedBy string

    Last Modified By

    storageScanEnabled boolean

    Storage Scan Enabled

    storageUUID string

    Storage UUID

    protectionMode string

    Possible values: [MONITOR, MONITOR_AND_PROTECT]

    Protection Mode

    cloudAccountOwner string

    Cloud account owner

    deploymentType string

    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

  • Array [
  • name string

    Feature name obtained from Fetch Supported Features endpoint

    state string

    Possible values: [enabled, disabled]

    Feature state. Whether to be enabled or disabled

    defaultMemberState string

    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.

  • ]
  • associatedAccountGroupsCount int32

    Associated Account Groups Count with this cloud account

    accountGroupInfos object[]

    Account group details of groups associated with this account

  • Array [
  • groupName string

    Group name

    lastModifiedBy string

    Last modified by

    groupId string

    group id

    autoCreated boolean

    auto created

  • ]
  • cloudAccountOwnerCount int32

    Cloud account owner count

    groups object[]

    Groups

    status string

    Account Config Status

    numberOfChildAccounts int32
    accountId string

    Account ID

    addedOn int64

    Added On

    groupIds string[]

    Group Ids

  • ]
Loading...