Skip to main content

cves

Query

Searches the CVE catalog (the public CVE list, with CISA KEV and SSVC enrichment) a page at a time. The catalog is global, not limited to your org. Search by device make, model and firmware, or by filter alone; with firmware set, CVEs the firmware is already patched for are left out. Ask for the next page with the nextToken of the previous one and the same arguments.

cves(filter: CVEFilterInput, firmware: String, includeUnverifiedVersion: Boolean, make: String, manufacturerId: String, model: String, pagination: PaginationInput, severities: [CVESeverityInput]): CVESearchCVEsResponse

Arguments​

ArgumentTypeDefaultDescription
filterCVEFilterInputNarrows the catalog by CVE id, vendor, product, manufacturer, CWE, publication date, CVSS base score and CISA KEV listing; and, or and not combine filters.
firmwareStringObserved firmware or version. When set, CVEs whose affected range is already patched in this version are left out.
includeUnverifiedVersionBooleanAlso return CVEs whose applicability to firmware cannot be determined (versionState UNVERIFIED_VERSION). False by default.
makeStringDevice make (vendor), matched case-insensitively against the affected vendors of each CVE. Empty to match on the other arguments alone.
manufacturerIdStringDevice library manufacturer id, for an exact vendor match instead of matching make.
modelStringDevice model (product), matched case-insensitively against the affected products of each CVE.
paginationPaginationInputlimit is the page size and nextToken continues from the previous page (pass the nextToken of the previous response with the same arguments).
severities[CVESeverityInput]Only CVEs in one of these severity bands. Empty for every severity.

Returns​

CVESearchCVEsResponse

Example​

Request
query Cves {
cves {
matches {
matchConfidence
versionState
}
pagination {
nextToken
noMoreData
prevToken
total
totalAvailable
}
}
}