Get Aggregated Asset Count by Asset Type
POST/asm/api/v1/asset/aggregation-by-resource-type
Get count of assets aggregated by asset type based on cloud provider,service type,asset-type, and manage-type.
Request
- application/json
Body
Possible values: [AWS
, GCP
, AZURE
, ALIBABA_CLOUD
]
Cloud types
Service types
Possible values: [Domain
, ResponsiveIP
]
Asset types
Possible values: [MANAGED
, UNMANAGED
]
Default value: UNMANAGED
Possible values: [SNOOZED
, ACTIVE
]
Possible values: [MAPPED
, UNMAPPED
]
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: [TRUE
, FALSE
]
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.
Responses
- 200
- 404
Ok
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
value object[]
Asset type
Value of count
{
"value": [
{
"assetType": "string",
"count": 0
}
]
}
Data not found
- application/json
- Schema
- Example (from schema)
Schema
{
"timestamp": 0,
"status": 0,
"message": "string",
"path": "string"
}