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
cloudTypes Cloud types (string)[]
Possible values: [AWS
, GCP
, AZURE
, ALIBABA_CLOUD
]
snapshotDate int64
serviceTypes Service types (string)[]
assetTypes Asset types (string)[]
Default value: ['Domain', 'ResponsiveIP']
manageType Manage type (string)
Possible values: [MANAGED
, UNMANAGED
]
Default value: UNMANAGED
snoozeStatus string[]
Responses
- 200
- 404
Ok
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
value object[]
assetType Asset type (string)
count int32
{
"value": [
{
"assetType": "string",
"count": 0
}
]
}
Data not found
- application/json
- Schema
- Example (from schema)
Schema
timestamp int64
status int32
message string
path string
{
"timestamp": 0,
"status": 0,
"message": "string",
"path": "string"
}
Loading...