PieChart - Exposure Level Onboarded Devices
Visualization Exposure Levels
Query
DeviceInfo
| where Timestamp > ago(30d)
| where OnboardingStatus == "Onboarded"
| summarize arg_max(Timestamp, *) by DeviceId
| summarize Total = count() by ExposureLevel
| render piechart with(title="Overview Exposure Level")About this query
PieChart - Exposure Level Onboarded Devices
Query Information
Description
This query visualizes the onboarded devices and their exposure level in a PieChart. The higher the exposure level of a device, the more likely it is to be exploited.
References
Defender XDR
Sentinel
DeviceInfo
| where TimeGenerated > ago(30d)
| where OnboardingStatus == "Onboarded"
| summarize arg_max(TimeGenerated, *) by DeviceId
| summarize Total = count() by ExposureLevel
| render piechart with(title="Overview Exposure Level")
Explanation
This query is designed to create a pie chart that shows the distribution of exposure levels among devices that have been onboarded in the last 30 days. Here's a simple breakdown of what the query does:
-
Data Source: It uses the
DeviceInfotable, which contains information about devices. -
Time Filter: The query filters the data to include only records from the last 30 days.
-
Onboarding Status: It further filters the data to include only devices that have the status "Onboarded."
-
Latest Record per Device: For each device, it selects the most recent record based on the timestamp (
Timestampfor Defender XDR andTimeGeneratedfor Sentinel). -
Count by Exposure Level: It counts the number of devices at each exposure level. The exposure level indicates how vulnerable a device is to potential threats.
-
Visualization: Finally, it renders this information as a pie chart titled "Overview Exposure Level," which visually represents the proportion of devices at each exposure level.
In summary, the query helps visualize the risk exposure of onboarded devices over the past month, highlighting which devices might be more susceptible to security threats.
Details

Bert-Jan Pals
Released: October 20, 2024
Tables
Keywords
Operators