Get Vulnerable Assets
GET/uve/api/v1/dashboard/vulnerabilities/vulnerableAsset
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: [iac
, package
, deployedImage
, serverlessFunction
, host
, registryImage
, vmImage
]
Type of Asset
Possible values: [code
, build
, deploy
, run
]
Life Cycle stage
Possible values: [low
, medium
, high
, critical
]
Severity
Responses
- 200
- 400
- 401
- 403
- 429
Successful response
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- Array [
- ]
- ]
value object[]
Life Cycle Stage
Total Vulnerabilities
Asset Type
Total number of Assets
stats object[]
Providers
Respository count
Registry count
Packages count
Total Assets
Total Users
vulnerabilities object
Vulnerability Split by Severity
Total Critical severity Vulnerability count
Total High severity Vulnerability count
Total Medium severity Vulnerability count
Total low severity Vulnerability count
{
"value": [
{
"stage": "string",
"totalVulnerabilities": 0,
"assetType": "string",
"totalAssets": 0,
"stats": [
{
"provider": "string",
"repositories": 0,
"registries": 0,
"packages": 0,
"assets": 0,
"users": 0,
"vulnerabilities": {
"criticalCount": 0,
"highCount": 0,
"mediumCount": 0,
"lowCount": 0
}
}
]
}
]
}
Bad Request
- application/json
- Schema
- Example (from schema)
Schema
Error code
Error message
Error target
{
"code": "string",
"message": "string",
"target": "string"
}
Unauthorized
- application/json
- Schema
- Example (from schema)
Schema
Error code
Error message
Error target
{
"code": "string",
"message": "string",
"target": "string"
}
Forbidden
- application/json
- Schema
- Example (from schema)
Schema
Error code
Error message
Error target
{
"code": "string",
"message": "string",
"target": "string"
}
Too Many Requests
- application/json
- Schema
- Example (from schema)
Schema
Error code
Error message
Error target
{
"code": "string",
"message": "string",
"target": "string"
}