getSbomIssuesBreakdown

Gets a breakdown of security issues found in SBOM libraries by severity level.

Examples

query GetSbomIssuesBreakdown($getApplicationsSbom: GetApplicationsSbom) {
  getSbomIssuesBreakdown(getApplicationsSbom: $getApplicationsSbom) {
    severity
    count
  }
}

Variables

This is an example input showing all available input fields. Only fields marked as required in the schema are mandatory.

{
  "getApplicationsSbom": {
    "scanId": "c9da693d-8906-4a32-93c9-2ffdb1cebb99",
    "limit": 100,
    "offset": 0,
    "search": "example",
    "filters": {
      "libraryNames": ["example"],
      "libraryVersions": ["example"],
      "apps": ["example"],
      "appIds": ["30966426"],
      "source": ["example"],
      "dependencyTypes": ["example"],
      "licenses": ["example"],
      "packageNames": ["example"],
      "copyrights": ["example"],
      "severities": ["example"],
      "packageInfos": ["example"],
      "malicious": ["example"],
      "packageManagers": ["example"],
      "cve": ["example"],
      "languages": ["example"],
      "os": ["example"],
      "registryName": ["example"],
      "baseImage": ["example"],
      "image": ["example"],
      "reachability": ["example"],
      "tags": ["example"],
      "imageSource": ["example"],
      "licenseIssue": [true]
    },
    "sbomSearch": [
      {
        "fieldName": "example",
        "value": ["example"]
      }
    ],
    "owners": ["example"],
    "tagIds": ["example"],
    "openItems": ["digest"],
    "sort": {
      "fields": ["LibraryName"],
      "order": ["ASC"]
    }
  }
}

Arguments

You can use the following argument(s) to customize your getSbomIssuesBreakdown query.

Argument
Description
Supported fields

getApplicationsSbom GetApplicationsSbom

Parameters for filtering which libraries to include in the issues breakdown

scanId String limit Int offset Int search String filters SBOMLibFilters sbomSearch [AutoCompleteSearch] owners [String] tagIds [String] openItems [FilterTypes] sort SbomLibSortInput

Fields

Return type: [IssuesBreakdown]

You can use the following field(s) to specify what information your getSbomIssuesBreakdown query will return. Please note that some fields may have their own subfields.

Field
Description
Supported fields

severity String

Severity level of the issues

count Int

Number of issues at this severity level

Last updated