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
Possible values: [AWS
, GCP
, AZURE
, ALIBABA_CLOUD
]
Cloud types
Possible values: [Domain
, ResponsiveIP
]
Asset types
Possible values: [MANAGED
, UNMANAGED
]
Default value: UNMANAGED
Service types
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[]
Possible values: [AWS
, AZURE
, GCP
, ALIBABA_CLOUD
]
Possible values: [SNOOZED
, ACTIVE
]
Indicates if the notifications from these assets are snoozed.
{
"value": [
{
"asmAssetId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "string",
"type": "string",
"cloudType": [
"AWS"
],
"dateAdded": 0,
"lastObserved": 0,
"snoozeStatus": "SNOOZED",
"snoozeStartTs": 0,
"snoozeEndTs": 0,
"reason": "string",
"temporarySnooze": true
}
],
"nextPageToken": "string",
"moreData": true
}
Data not found
- application/json
- Schema
- Example (from schema)
Schema
{
"timestamp": 0,
"status": 0,
"message": "string",
"path": "string"
}