Get Aggregated Asset Count by Cloud Type
POSThttps://api.prismacloud.io/asm/api/v1/asset/aggregation-by-cloud-type
Get count of assets aggregated by cloud service provider.
Request
- application/json
Body
Asset types
Possible values: [Domain
, ResponsiveIP
]
Possible values: [MANAGED
, UNMANAGED
]
UNMANAGED
Service types
Cloud types
Possible values: [AWS
, GCP
, AZURE
, ALIBABA_CLOUD
]
Possible values: [SNOOZED
, ACTIVE
]
Mapped indicates that the asset is connected to a parent account or organizational unit (OU) on Prisma Cloud, whereas unmapped signifies that the asset is not associated with any parent account or OU on Prisma Cloud.
Possible values: [MAPPED
, UNMAPPED
]
This parameter is used to filter unmanaged assets based on the unmanaged assets communication with managed assets.
The default value is False.
True - To get all the unmanaged assets communicating with managed assets on Prisma Cloud.
False - To get all the unmanaged assets that are not communicating with managed assets on Prisma Cloud.
Empty array or specifying both [True, False] - To get all unmanaged assets irrespective of their connection with managed assets.
Possible values: [TRUE
, FALSE
]
Responses
- 200
- 404
Ok
- application/json
- Schema
- Example (auto)
Schema
value object[]
{
"value": [
{
"cloudType": "AWS",
"count": 0
}
]
}
Data not found
- application/json
- Schema
- Example (auto)
Schema
{
"timestamp": 0,
"status": 0,
"message": "string",
"path": "string"
}
Authorization: x-redlock-auth
name: x-redlock-authtype: apiKeydescription: The x-redlock-auth value is a JSON Web Token (JWT).in: header
- curl
- python
- go
- nodejs
- csharp
- php
- CURL
curl -L 'https://api.prismacloud.io/asm/api/v1/asset/aggregation-by-cloud-type' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'x-redlock-auth: <x-redlock-auth>' \
-d '{
"snapshotDate": 0,
"assetTypes": [
"Domain"
],
"manageType": "UNMANAGED",
"serviceTypes": [
"string"
],
"cloudTypes": [
"AWS"
],
"snoozeStatus": [
"SNOOZED"
],
"accountMappingStatus": [
"MAPPED"
],
"managedCommunication": [
"TRUE"
]
}'