Query Details
# List Activities Compromised Device Can Perform as Source ### Sentinel ```KQL // List activities device can do as source let DeviceName = "laptop.test.com"; ExposureGraphEdges | where SourceNodeLabel == "device" | where SourceNodeName == DeviceName | summarize Total = dcount(TargetNodeName), Details = make_set(TargetNodeName) by EdgeLabel, SourceNodeName | project Source = SourceNodeName, Action = EdgeLabel, Details, Tota ```
This query lists the activities that a compromised device named "laptop.test.com" can perform as the source. It shows the different actions the device can take and provides details about them.

Bert-Jan Pals
Released: June 26, 2024
Tables
Keywords
Operators