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_exceptionREAD

API Documentation

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

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

{&quot;num_found&quot;:2,&quot;results&quot;:[{&quot;full_tag&quot;:&quot;123456789098.my.demo.server.demoorg.com/demo-k8s:v1.1.1-releasedemo.1&quot;,&quot;registry&quot;:&quot;demoregistry.io&quot;,&quot;repo&quot;:&quot;demorepo/kube-rbac-proxy&quot;,&quot;workloads_count&quot;:1,&quot;created_by&quot;:&quot;demnouser@demoorg.com&quot;,&quot;created_at&quot;:&quot;2023-05-14T19:34:00.599Z&quot;,&quot;comments&quot;:&quot;Setting CVE Exception for Demo&quot;}]}