New Vulnerabilities - previous 24 hours

POST {{cb_url}}/containers/v1beta/orgs/{{cb_org_key}}/inventory/overview/new_vulnerabilities

Search for new vulnerabilities found in the last 24 hours of the deployed images.

RBAC Permissions Required

Permission (.notation name)Operation(s)
workloads.container.imageREAD

API Documentation

Request Schema

{
  "criteria": {
    "clusters": [
      "<string>"
    ],
    "namespaces": [
      "<string>"
    ],
    "repositories": [
      "<string>"
    ]
  }
}

Response Schema

{
  "CRITICAL": <integer>,
  "HIGH": <integer>,
  "MEDIUM": <integer>,
  "LOW": <integer>,
  "UNKNOWN": <integer>
}

Request Body

{"clusters"=>["demo:cluster-one", "test:testing-cluster-one"], "namespaces"=>["demo-namespace", "testing-namespace"], "repositories"=>["demoartifactory/cluster-scanner", "demoartifactory/guardrails-enforcer"]}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

{&quot;CRITICAL&quot;:10,&quot;HIGH&quot;:5,&quot;LOW&quot;:4,&quot;MEDIUM&quot;:10,&quot;UNKNOWN&quot;:2}