Get Vulnerable Assets by RQL
POST/uve/api/v1/vulnerabilities/search/asset
Get the list of vulnerable Assets and their IDs based on an RQL query. For vulnerability RQL query attributes, see Vulnerability Query Attributes. For example queries, see Vulnerability Query Examples.
info
This endpoint is available on the Prisma Cloud Darwin release only.
Request
Query Parameters
page_token string
Token for pagination
- application/json
Body
required
query stringrequired
Search query
cveId stringrequired
CVE ID
assetLifecycle stringrequired
Possible values: [code
, build
, deploy
, run
]
Asset Lifecycle
assetType stringrequired
Possible values: [package
, serverlessFunction
, iac
, deployedImage
, vmImage
, registryImage
, host
]
Asset Type
Responses
- 200
- 400
- 401
- 403
Successful response
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
value object[]
List of Asset Information
id string
Asset ID
name string
Asset name
nextPageToken string
Token for next page
{
"value": [
{
"id": "string",
"name": "string"
}
],
"nextPageToken": "string"
}
Bad Request
- application/json
- Schema
- Example (from schema)
Schema
code string
Error code
message string
Error message
target string
Error target
{
"code": "string",
"message": "string",
"target": "string"
}
Unauthorized
- application/json
- Schema
- Example (from schema)
Schema
code string
Error code
message string
Error message
target string
Error target
{
"code": "string",
"message": "string",
"target": "string"
}
Forbidden
- application/json
- Schema
- Example (from schema)
Schema
code string
Error code
message string
Error message
target string
Error target
{
"code": "string",
"message": "string",
"target": "string"
}
Loading...