Search Vulnerabilities Exceptions
POST {{cb_url}}/containers/v1beta/orgs/{{cb_org_key}}/vulnerability_exceptions/cve/_search
Search for CVE exceptions.
RBAC Permissions Required
Permission (.notation name) | Operation(s) |
---|---|
workloads.container.image_exception | READ |
Request Schema
{
"criteria": {
"cve": "<string>",
"package":"<string>",
"type": "<string>"
},
"query": "<string>",
"start": <integer>,
"rows": <integer>,
"sort": [
{
"field": "<string>",
"order": "<string>"
},
{
"field": "<string>",
"order": "<string>"
}
]
}
Response Schema
{
"num_found": <integer>,
"results": [
{
"full_tag": "<string>",
"registry": "<string>",
"repo": "<string>",
"workloads_count": <integer>,
"created_by": "<string>",
"created_at": "<string>",
"comments": "<string>"
}
]
}
Request Body
{"criteria"=>{"cve"=>"CVE-2010-0834", "package"=>"base-files", "type"=>"deb"}, "query"=>"", "start"=>0, "rows"=>1, "sort"=>[{"field"=>"vulnerabilities", "order"=>"DESC"}]}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"num_found":2,"results":[{"full_tag":"123456789098.my.demo.server.demoorg.com/demo-k8s:v1.1.1-releasedemo.1","registry":"demoregistry.io","repo":"demorepo/kube-rbac-proxy","workloads_count":1,"created_by":"demnouser@demoorg.com","created_at":"2023-05-14T19:34:00.599Z","comments":"Setting CVE Exception for Demo"}]}