Get Cloud Account Details
GET/cloud/:cloud_type/:id
Returns top level information about the cloud account.
Request
Path Parameters
Possible values: [aws
, azure
, gcp
, alibaba_cloud
, oci
]
Cloud Type
Account ID
Query Parameters
true = Include account group info. Default is false.
Responses
- 200
successful operation
- application/json; charset=UTF-8
- Schema
- Example (from schema)
Schema
- AwsCloudAccountModel
- AwsCloudOrgModel
- AzureSubscriptionModel
- AzureTenantModel
- GcpCloudProjectModel
- GcpCloudOrgModel
- AlibabaCloudAccountModel
- OciCloudAccountModel
- Array [
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
accountGroupInfos object[]
Account group details of groups associated with this account
auto created
group id
Group name
Last modified by
Account ID
Possible values: [ACCOUNT
, MASTER_SERVICE_ACCOUNT
, COMPARTMENT
, ORGANIZATION
, TENANT
]
Cloud Account Type
Added On
Associated Account Groups Count with this cloud account
Internal use only
Cloud account owner
Cloud account owner count
Possible values: [ALL
, AWS
, AZURE
, GCP
, ALIBABA_CLOUD
, OCI
, OTHER
]
Cloud Type
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
Enabled
Amazon Event Bridge Rule Name
External ID
features object[]
Features
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
.
Feature name obtained from Fetch Supported Features endpoint
Possible values: [enabled
, disabled
]
Feature state. Whether to be enabled or disabled
Group Ids
Last Modified By
Time account was last updated
Name
Possible values: [MONITOR
, MONITOR_AND_PROTECT
]
Protection Mode
Role ARN
storageScanConfig object
Model for AWS Storage Scan Configuration
buckets object
Selected List of S3 Buckets for forward and backward scan
property name* string[]
string
Possible values: [Realtime
, Custom
, Full
, Historical
]
Storage Scan Option
SNS Topic ARN created on DLP SNS topic
Storage Scan Enabled
Storage UUID
accountGroupInfos object[]
Account group details of groups associated with this account
auto created
group id
Group name
Last modified by
Account ID
Possible values: [ACCOUNT
, MASTER_SERVICE_ACCOUNT
, COMPARTMENT
, ORGANIZATION
, TENANT
]
Cloud Account Type
Added On
Associated Account Groups Count with this cloud account
Internal use only
Cloud account owner
Cloud account owner count
Possible values: [ALL
, AWS
, AZURE
, GCP
, ALIBABA_CLOUD
, OCI
, OTHER
]
Cloud Type
Default Account Group
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
Enabled
Amazon Event Bridge Rule Name
External ID
features object[]
Features
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
.
Feature name obtained from Fetch Supported Features endpoint
Possible values: [enabled
, disabled
]
Feature state. Whether to be enabled or disabled
Group Ids
hierarchySelection object[]
List of selected resources for hierarchy selection
To get the display name of resource, Refer List Children of Parent.
aws: List Children of Parent (AWS)
gcp: List Children of Parent (GCP). Display name is the organization name if nodeType
is ORG
Possible values: [ORG
, FOLDER
, PROJECT
, SUBSCRIPTION
, MANAGEMENT_GROUP
, TENANT
, ACCOUNT
, OU
]
Member account node type. Supported values based on cloud type:
aws: ORG, OU, or ACCOUNT
gcp: ORG, FOLDER, or PROJECT
azure: SUBSCRIPTION, MANAGEMENT_GROUP, or TENANT
To get the list of resource IDs and its details, Refer List Children of Parent.
aws: List Children of Parent (AWS)
Possible values: [ALL
, INCLUDE
, EXCLUDE
]
Organization Member accounts Selection type.
ALL: Include the resource and all its children
INCLUDE: Include the specified resource
EXCLUDE: Exclude the specified resource
Last Modified By
Time account was last updated
External Id in Member Accounts
Role Name in Member Accounts
Role Creation Status in Member Accounts
Name
Possible values: [MONITOR
, MONITOR_AND_PROTECT
]
Protection Mode
Role ARN
storageScanConfig object
Model for AWS Storage Scan Configuration
buckets object
Selected List of S3 Buckets for forward and backward scan
property name* string[]
string
Possible values: [Realtime
, Custom
, Full
, Historical
]
Storage Scan Option
SNS Topic ARN created on DLP SNS topic
Storage Scan Enabled
Storage UUID
accountGroupInfos object[]
Account group details of groups associated with this account
auto created
group id
Group name
Last modified by
Account ID
Possible values: [ACCOUNT
, MASTER_SERVICE_ACCOUNT
, COMPARTMENT
, ORGANIZATION
, TENANT
]
Cloud Account Type
Added On
Associated Account Groups Count with this cloud account
Cloud account owner
Cloud account owner count
Possible values: [ALL
, AWS
, AZURE
, GCP
, ALIBABA_CLOUD
, OCI
, OTHER
]
Cloud Type
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
Enabled
features object[]
Features
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
.
Feature name obtained from Fetch Supported Features endpoint
Possible values: [enabled
, disabled
]
Feature state. Whether to be enabled or disabled
Group Ids
Last Modified By
Time account was last updated
Name
Possible values: [MONITOR
, MONITOR_AND_PROTECT
]
Protection Mode
Storage Scan Enabled
Storage UUID
accountGroupInfos object[]
Account group details of groups associated with this account
auto created
group id
Group name
Last modified by
Account ID
Possible values: [ACCOUNT
, MASTER_SERVICE_ACCOUNT
, COMPARTMENT
, ORGANIZATION
, TENANT
]
Cloud Account Type
Added On
Associated Account Groups Count with this cloud account
Cloud account owner
Cloud account owner count
Possible values: [ALL
, AWS
, AZURE
, GCP
, ALIBABA_CLOUD
, OCI
, OTHER
]
Cloud Type
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
Enabled
features object[]
Features
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
.
Feature name obtained from Fetch Supported Features endpoint
Possible values: [enabled
, disabled
]
Feature state. Whether to be enabled or disabled
Group Ids
Last Modified By
Time account was last updated
Name
Possible values: [MONITOR
, MONITOR_AND_PROTECT
]
Protection Mode
Storage Scan Enabled
Storage UUID
accountGroupInfos object[]
Account group details of groups associated with this account
auto created
group id
Group name
Last modified by
Account ID
Possible values: [ACCOUNT
, MASTER_SERVICE_ACCOUNT
, COMPARTMENT
, ORGANIZATION
, TENANT
]
Cloud Account Type
Added On
Associated Account Groups Count with this cloud account
Cloud account owner
Cloud account owner count
Possible values: [ALL
, AWS
, AZURE
, GCP
, ALIBABA_CLOUD
, OCI
, OTHER
]
Cloud Type
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
Enabled
features object[]
Features
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
.
Feature name obtained from Fetch Supported Features endpoint
Possible values: [enabled
, disabled
]
Feature state. Whether to be enabled or disabled
Group Ids
Last Modified By
Time account was last updated
Name
Possible values: [MONITOR
, MONITOR_AND_PROTECT
]
Protection Mode
Storage Scan Enabled
Storage UUID
accountGroupInfos object[]
Account group details of groups associated with this account
auto created
group id
Group name
Last modified by
Account ID
Possible values: [ACCOUNT
, MASTER_SERVICE_ACCOUNT
, COMPARTMENT
, ORGANIZATION
, TENANT
]
Cloud Account Type
Added On
Associated Account Groups Count with this cloud account
Cloud account owner
Cloud account owner count
Possible values: [ALL
, AWS
, AZURE
, GCP
, ALIBABA_CLOUD
, OCI
, OTHER
]
Cloud Type
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
Enabled
features object[]
Features
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
.
Feature name obtained from Fetch Supported Features endpoint
Possible values: [enabled
, disabled
]
Feature state. Whether to be enabled or disabled
Group Ids
Last Modified By
Time account was last updated
Name
Possible values: [MONITOR
, MONITOR_AND_PROTECT
]
Protection Mode
Storage Scan Enabled
Storage UUID
accountGroupInfos object[]
Account group details of groups associated with this account
auto created
group id
Group name
Last modified by
Account ID
Possible values: [ACCOUNT
, MASTER_SERVICE_ACCOUNT
, COMPARTMENT
, ORGANIZATION
, TENANT
]
Cloud Account Type
Added On
Associated Account Groups Count with this cloud account
Cloud account owner
Cloud account owner count
Internal use only
Possible values: [ALL
, AWS
, AZURE
, GCP
, ALIBABA_CLOUD
, OCI
, OTHER
]
Cloud Type
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
Enabled
features object[]
Features
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
.
Feature name obtained from Fetch Supported Features endpoint
Possible values: [enabled
, disabled
]
Feature state. Whether to be enabled or disabled
Group Ids
Last Modified By
Time account was last updated
Name
Possible values: [MONITOR
, MONITOR_AND_PROTECT
]
Protection Mode
Ram ARN
Storage Scan Enabled
Storage UUID
accountGroupInfos object[]
Account group details of groups associated with this account
auto created
group id
Group name
Last modified by
Account ID
Possible values: [ACCOUNT
, MASTER_SERVICE_ACCOUNT
, COMPARTMENT
, ORGANIZATION
, TENANT
]
Cloud Account Type
Added On
Associated Account Groups Count with this cloud account
Cloud account owner
Cloud account owner count
Internal use only
Possible values: [ALL
, AWS
, AZURE
, GCP
, ALIBABA_CLOUD
, OCI
, OTHER
]
Cloud Type
Default Account Group Id
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
Enabled
features object[]
Features
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
.
Feature name obtained from Fetch Supported Features endpoint
Possible values: [enabled
, disabled
]
Feature state. Whether to be enabled or disabled
Group Ids
Group Name
Home Region
Last Modified By
Time account was last updated
Name
Policy Name
Possible values: [MONITOR
, MONITOR_AND_PROTECT
]
Protection Mode
Storage Scan Enabled
Storage UUID
User Name
User OCID
accountGroupInfos object[]
Account group details of groups associated with this account
auto created
group id
Group name
Last modified by
Account ID
Possible values: [ACCOUNT
, MASTER_SERVICE_ACCOUNT
, COMPARTMENT
, ORGANIZATION
, TENANT
]
Cloud Account Type
Added On
Associated Account Groups Count with this cloud account
Cloud account owner
Cloud account owner count
Possible values: [ALL
, AWS
, AZURE
, GCP
, ALIBABA_CLOUD
, OCI
, OTHER
]
Cloud Type
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
Enabled
features object[]
Features
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
.
Feature name obtained from Fetch Supported Features endpoint
Possible values: [enabled
, disabled
]
Feature state. Whether to be enabled or disabled
Group Ids
Last Modified By
Time account was last updated
Name
Possible values: [MONITOR
, MONITOR_AND_PROTECT
]
Protection Mode
Storage Scan Enabled
Storage UUID
{
"accountGroupInfos": [
{
"autoCreated": true,
"groupId": "string",
"groupName": "string",
"lastModifiedBy": "string"
}
],
"accountId": "string",
"accountType": "ACCOUNT",
"addedOn": 0,
"associatedAccountGroupsCount": 0,
"autoConsent": "string",
"cloudAccountOwner": "string",
"cloudAccountOwnerCount": 0,
"cloudType": "ALL",
"deploymentType": "AZURE",
"enabled": true,
"features": [
{
"defaultMemberState": "enabled",
"name": "Remediation",
"state": "enabled"
}
],
"groupIds": [
"string"
],
"lastModifiedBy": "string",
"lastModifiedTs": 0,
"name": "string",
"parentAccountId": "string",
"protectionMode": "MONITOR",
"storageScanEnabled": true,
"storageUUID": "string"
}