Get Vulnerabilities by RQL
POST/uve/api/v1/vulnerabilities/search
Get the list of vulnerabilities and their details based on an RQL query. For vulnerability RQL query attributes, see Vulnerability Query Attributes. For example queries, see Vulnerability Query Examples.
This endpoint is available on the Prisma Cloud Darwin release only.
Request
Query Parameters
Token for pagination
- application/json
Body
required
Search query
saved search ID
Responses
- 200
- 400
- 401
- 403
Successful response
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
Saved search ID
Vulnerability name
Vulnerability description
Search type
Whether it's saved or not
timeRange object
Type of Time Range
Value of Time Range
Query details
data object
Total number of rows
items object[]
CVE ID
Name
CVSS Score
Total Impacted Assets
Risk Factors
Published time
Exploitable
Patchable
Severity
Token for next page
{
"id": "string",
"name": "string",
"description": "string",
"searchType": "string",
"saved": true,
"timeRange": {
"type": "string",
"value": "string"
},
"query": "string",
"data": {
"totalRows": 0,
"items": [
{
"cveId": "string",
"name": "string",
"cvssScore": 8,
"totalImpactedAssets": 0,
"riskFactors": [
"string"
],
"code": {},
"build": {},
"deploy": {},
"run": {},
"published": 0,
"exploitable": true,
"patchable": true,
"severity": "string"
}
],
"nextPageToken": "string"
}
}
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"
}