Skip to main content

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.

Note: You need investigateVulnerabilityRql feature with View 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 Investigate > Vulnerability is enabled.

Request

Query Parameters

    Token for pagination string

Body

    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

successful operation

Schema
    value object[]

    List of Asset Information

  • Array [
  • id string

    Asset ID

    name string

    Asset name

    atRisk boolean

    At Risk

    internetExposed boolean

    Internet Exposed

  • ]
  • nextPageToken string

    Token for next page

Loading...