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.image | READ |
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
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"CRITICAL":10,"HIGH":5,"LOW":4,"MEDIUM":10,"UNKNOWN":2}