getSbomVulnerableLibraries
Gets statistics about libraries with known vulnerabilities grouped by severity.
Examples
query GetSbomVulnerableLibraries($input: SbomVulnerableLibrariesInput) {
getSbomVulnerableLibraries(input: $input) {
data {
name
count
}
}
}
Variables
This is an example input showing all available input fields. Only fields marked as required in the schema are mandatory.
{
"input": {
"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]
},
"owners": ["example"],
"tagIds": ["example"]
}
}
Arguments
You can use the following argument(s) to customize your getSbomVulnerableLibraries
query.
Parameters for filtering which libraries to include in the vulnerability analysis
search String
filters SBOMLibFilters
owners [String]
tagIds [String]
Fields
Return type: SbomVulnerableLibrariesResponse
You can use the following field(s) to specify what information your getSbomVulnerableLibraries
query will return. Please note that some fields may have their own subfields.
List of vulnerability counts grouped by severity level
name SeverityRisk!
count Int!
Last updated