Query Details
# Lookup vulnerability information based on a CveID ---- ### Defender For Endpoint ``` let CVE = "CVE-2022-3602"; // Add your CVEid here DeviceTvmSoftwareVulnerabilities | where CveId == CVE | summarize VulnerableDevices = make_set(DeviceName) by CveId | join DeviceTvmSoftwareVulnerabilitiesKB on CveId | extend TotalDevices = array_length(VulnerableDevices) | project TotalDevices, CveId, VulnerabilitySeverityLevel, CvssScore, VulnerabilityDescription, VulnerableDevices ```
This query looks up vulnerability information based on a specific CVE ID (Common Vulnerabilities and Exposures ID). It retrieves data from the Defender for Endpoint system and returns the total number of devices affected by the vulnerability, along with details such as severity level, CVSS score, description, and the names of the vulnerable devices.

Bert-Jan Pals
Released: February 14, 2023
Tables
Keywords
Operators