Search Vulnerabilities Over Time

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

Search for the number of the vulnerabilities found in the deployed images over the specified time range.

RBAC Permissions Required

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

API Documentation

Request Schema

{
    "criteria": {
        "time": {
            "range": "<string>",
            "start": "<string>",
            "end": "<string>"
        },
        "clusters": [
            "<string>"
        ]
    }
}

Request Body

{"criteria"=>{"time"=>{"range"=>"-3d"}, "clusters"=>["demo:cluster-one"]}}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

{&quot;2023-04-29T10:00:07.596Z&quot;:{&quot;CRITICAL&quot;:9,&quot;HIGH&quot;:37,&quot;LOW&quot;:51,&quot;MEDIUM&quot;:36,&quot;UNKNOWN&quot;:1},&quot;2023-04-30T10:00:04.419Z&quot;:{&quot;CRITICAL&quot;:11,&quot;HIGH&quot;:40,&quot;LOW&quot;:60,&quot;MEDIUM&quot;:56,&quot;UNKNOWN&quot;:13},&quot;2023-05-01T10:00:10.253Z&quot;:{&quot;CRITICAL&quot;:13,&quot;HIGH&quot;:56,&quot;LOW&quot;:77,&quot;MEDIUM&quot;:76,&quot;UNKNOWN&quot;:32}}