Get Assets List
POST/asm/api/v1/asset
Get the list of assets based on cloud-type, asset-type, manage-type, and service-type.
Request
- application/json
Body
snapshotDate int64
cloudTypes Cloud types (string)[]
Possible values: [AWS
, GCP
, AZURE
, ALIBABA_CLOUD
]
assetTypes Asset types (string)[]
Default value: ['Domain', 'ResponsiveIP']
manageType Manage type (string)
Possible values: [MANAGED
, UNMANAGED
]
Default value: UNMANAGED
serviceTypes Service types (string)[]
nextPageToken Next page token (string)
searchText Search text (string)
snoozeStatus string[]
Responses
- 200
- 404
Ok
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
value object[]
asmAssetId uuid
name string
type string
cloudType string[]
Possible values: [AWS
, AZURE
, GCP
, ALIBABA_CLOUD
]
dateAdded int64
lastObserved int64
snoozeStatus string
snoozeStartTs int64
snoozeEndTs int64
reason string
temporarySnooze boolean
nextPageToken string
moreData boolean
{
"value": [
{
"asmAssetId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "string",
"type": "string",
"cloudType": [
"AWS"
],
"dateAdded": 0,
"lastObserved": 0,
"snoozeStatus": "string",
"snoozeStartTs": 0,
"snoozeEndTs": 0,
"reason": "string",
"temporarySnooze": true
}
],
"nextPageToken": "string",
"moreData": true
}
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...