Query Details
Tags: Query: DeviceEvents | where ActionType == "SmartScreenAppWarning" //where ActionType == 'SmartScreenUserOverride' for when users ignored the warning and proceeded to execute the file | extend data = parse_json(AdditionalFields) | extend Experience = parse_json(data).Experience | where FileName !in () //Exclusions by filename goes here | project Timestamp, DeviceName, ActionType, FileName, InitiatingProcessFileName, Experience, InitiatingProcessAccountUpn, DeviceId, ReportId References
This KQL (Kusto Query Language) query is designed to filter and display specific device events related to SmartScreen warnings. Here's a simple summary:
DeviceEvents table.ActionType is "SmartScreenAppWarning". (You can change this to "SmartScreenUserOverride" to see events where users ignored the warning and executed the file.)AdditionalFields column.Experience field from the parsed JSON data.Timestamp, DeviceName, ActionType, FileName, InitiatingProcessFileName, Experience, InitiatingProcessAccountUpn, DeviceId, and ReportId.In essence, this query helps you analyze SmartScreen warnings on devices by showing relevant details about each event, with the option to exclude certain filenames and to switch between warnings and user overrides.

Ali Hussein
Released: October 11, 2023
Tables
Keywords
Operators