Skip to main content

Get Vulnerable Assets Stats - POST

POST 

/uve/api/v2/dashboard/vulnerabilities/vulnerableAsset

Returns overall stats like total vulnerabilities, total assets, vulnerability by severity across the life stage (code, build, deploy and run) per cloud provider. This API supports the account group and account Id filters in addition to the filters we have in the Get Vulnerable Assets endpoint.

Note: You need vulnerabilityDashboard 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 Dashboard > Vulnerability is enabled.

Request

Body

    assetTypes string[]

    List of Asset Types

    lifeCycle string[]

    List of Asset Life Cycles

    severities string[]

    List of Severities

    accountGroups string[]

    List of Cloud Account Groups

    accountIds string[]

    List of Cloud Account IDs

    clusters string[]

    List of Clusters

    clusterNamespaces string[]

    List of Namespaces

    accountNames string[]

    List of Account Names

Responses

Success

Schema
    value object[]
  • Array [
  • stage string
    totalVulnerabilities int64
    assetType string
    totalAssets int64
    stats object[]
  • Array [
  • provider string
    repositories int64
    registries int64
    packages int64
    assets int64
    users int64
    cloudAccounts int64
    vulnerabilities object
    criticalCount int64
    highCount int64
    mediumCount int64
    lowCount int64
  • ]
  • ]
Loading...