Skip to content

Latest commit

 

History

History
25 lines (21 loc) · 1.12 KB

ManualAntivirusScans.md

File metadata and controls

25 lines (21 loc) · 1.12 KB

List Antivirus Scan Activities

Query Information

Description

This query lists all manual (and playbook related) anvitius actions that are initiated and the related comments per device.

References

Defender For Endpoint

CloudAppEvents
| where ActionType == "RunAntiVirusScan"
| extend DeviceName = tostring(parse_json(RawEventData).DeviceName), ActionComment = tostring(parse_json(RawEventData).ActionComment), ActionScope = tostring(parse_json(RawEventData).ActionScope)
| summarize TotalAntivirusScans = count(), ScanTypes = make_set(ActionScope), Comments = make_set(ActionComment) by DeviceName

Sentinel

CloudAppEvents
| where ActionType == "RunAntiVirusScan"
| extend DeviceName = tostring(parse_json(RawEventData).DeviceName), ActionComment = tostring(parse_json(RawEventData).ActionComment), ActionScope = tostring(parse_json(RawEventData).ActionScope)
| summarize TotalAntivirusScans = count(), ScanTypes = make_set(ActionScope), Comments = make_set(ActionComment) by DeviceName