Query Details
//This query identifies workstations missing specific KB patches for known vulnerabilities
//Shows device names and their missing KB patches that need to be applied
DeviceTvmSoftwareVulnerabilities
| join kind=inner (
DeviceTvmSoftwareVulnerabilitiesKB
| project CveId
) on CveId
| project DeviceName, CveId, RecommendedSecurityUpdateId
| summarize MissingKBs = make_set(RecommendedSecurityUpdateId) by DeviceName
| where array_length(MissingKBs) > 0 This query is designed to find workstations that are missing certain security updates (KB patches) needed to fix known vulnerabilities. Here's a breakdown of what it does:
In simple terms, the query identifies which workstations need specific security updates and lists the updates that are missing for each device.

Subash Ghimire
Released: November 10, 2024
Tables
Keywords
Operators