Get Vulnerable Assets
GET/uve/api/v1/dashboard/vulnerabilities/vulnerableAsset
This endpoint has been deprecated and may be replaced or removed in future versions of the API.
Returns a summary of vulnerable assets and detailed vulnerability statistics, including the total number of vulnerabilities by severity, registry count, package count, repository count, and more, across different stages of your application lifecycle.
Note: You need
vulnerabilityDashboard
feature withView
permission to access this endpoint. Verify if your permission group includes this feature using the Get Permission Group by ID endpoint. You can also check this in the Prisma Cloud console by ensuring that Dashboard > Vulnerability is enabled.
Request
Query Parameters
Possible values: [package
, iac
, deployedImage
, vmImage
, registryImage
, host
, serverlessFunction
]
Asset Type
Possible values: [code
, build
, deploy
, run
]
Life Cycle
Possible values: [critical
, medium
, high
, low
]
Severity
Responses
- 200
- 400
- 401
- 403
- 429
Success
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- Array [
- ]
- ]
value object[]
stats object[]
vulnerabilities object
{
"value": [
{
"stage": "string",
"totalVulnerabilities": 0,
"assetType": "string",
"totalAssets": 0,
"stats": [
{
"provider": "string",
"repositories": 0,
"registries": 0,
"packages": 0,
"assets": 0,
"users": 0,
"cloudAccounts": 0,
"vulnerabilities": {
"criticalCount": 0,
"highCount": 0,
"mediumCount": 0,
"lowCount": 0
}
}
]
}
]
}
Bad request
- application/json
- Schema
- Example (from schema)
Schema
{
"code": "string",
"message": "string",
"target": "string"
}
Unauthorized
- application/json
- Schema
- Example (from schema)
Schema
{
"code": "string",
"message": "string",
"target": "string"
}
User doesn't have required role
- application/json
- Schema
- Example (from schema)
Schema
{
"code": "string",
"message": "string",
"target": "string"
}
Rate Limit Exceeded
- application/json
- Schema
- Example (from schema)
Schema
{
"code": "string",
"message": "string",
"target": "string"
}