Get Vulnerabilities in an Asset by ID
GET/asm/api/v1/asset/:asset_id/vulnerability
Returns list of all the vulnerabilities in an asset by ID. You can use this endpoint to get the details that are displayed in the Top Risks from Unmanaged Assets widget.
Request
Path Parameters
asset_id uuidrequired
Asset ID
Query Parameters
snapshot_date int64required
Snapshot time in milliseconds
asset_type string
Possible values: [Domain
, ResponsiveIP
]
Asset type is the types of scanned assets.
manage_type string
Possible values: [MANAGED
, UNMANAGED
]
Asset management type indicates if the asset is managed by Prisma Cloud.
next_page_token string
Next page is the token from the previous API call to fetch the remaining data.
Responses
- 200
- 400
Successful response
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
value object[]
cveId string
cvssScore double
severity string
packageName string
confidence string
distro string
version string
firstObserved date-time
matchType string
count int32
nextPageToken string
{
"value": [
{
"cveId": "string",
"cvssScore": 0,
"severity": "string",
"packageName": "string",
"confidence": "string",
"distro": "string",
"version": "string",
"firstObserved": "2024-07-29T15:51:28.071Z",
"matchType": "string"
}
],
"count": 0,
"nextPageToken": "string"
}
Asset not found
Loading...