ATP Detection events triggered
ATP Detection Events
Query
CloudAppEvents
| where ActionType == "AtpDetection"
| extend
DetectionMethod = parse_json(RawEventData).DetectionMethod,
EventDeepLink = parse_json(RawEventData).EventDeepLink,
FileData = parse_json(RawEventData).FileData
| project-reorder
Timestamp,
ActionType,
Application,
AccountId,
DetectionMethod,
FileData,
EventDeepLinkAbout this query
ATP Detection events triggered
Query Information
Description
Displays the AtpDetection events in CloudAppEvents.
Defender XDR
Sentinel
CloudAppEvents
| where ActionType == "AtpDetection"
| extend
DetectionMethod = parse_json(RawEventData).DetectionMethod,
EventDeepLink = parse_json(RawEventData).EventDeepLink,
FileData = parse_json(RawEventData).FileData
| project-reorder
TimeGenerated,
ActionType,
Application,
AccountId,
DetectionMethod,
FileData,
EventDeepLink
Explanation
This query is designed to extract and display specific security events related to Advanced Threat Protection (ATP) detections from a dataset called CloudAppEvents. Here's a simple breakdown of what the query does:
-
Filter Events: It looks for events where the
ActionTypeis "AtpDetection". This means it's specifically interested in events where ATP has detected something potentially malicious or noteworthy. -
Extract Details: For each of these events, it extracts additional details from a field called
RawEventData. This includes:DetectionMethod: How the threat was detected.EventDeepLink: A link to more detailed information about the event.FileData: Information about any files involved in the detection.
-
Organize Output: The query then organizes the output to show specific columns in a particular order. For the Defender XDR version, it includes:
Timestamp: When the event occurred.ActionType: The type of action, which is "AtpDetection".Application: The application involved.AccountId: The account associated with the event.DetectionMethod,FileData, andEventDeepLinkas extracted earlier.
For the Sentinel version, it uses
TimeGeneratedinstead ofTimestamp, but the rest of the columns are the same.
In summary, this query helps security analysts quickly identify and review ATP detection events, providing them with essential details to understand and respond to potential threats.
Details

Bert-Jan Pals
Released: December 1, 2024
Tables
Keywords
Operators