Skip to content
This repository was archived by the owner on Nov 16, 2023. It is now read-only.

Commit 5bd4d56

Browse files
authored
Update WhenZAPed.md
1 parent 64ecc48 commit 5bd4d56

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

Initial access/WhenZAPed.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,10 @@ This query allows to verify when email matching your search condition (by defaul
88
```
99
let URL=""; // Put your URL here
1010
EmailUrlInfo
11-
| where Url matches regex URL
12-
| join EmailEvents on NetworkMessageId
13-
| where DeliveryAction == "Delivered" and EmailDirection == "Inbound"
11+
| where Url matches regex URL
12+
| join (EmailEvents | where DeliveryAction == "Delivered" and EmailDirection == "Inbound") on NetworkMessageId
1413
| project Timestamp, NetworkMessageId, Url, SenderFromAddress, SenderIPv4, RecipientEmailAddress, Subject,DeliveryAction, DeliveryLocation
15-
| join kind=inner EmailPostDeliveryEvents on NetworkMessageId
14+
| join (EmailPostDeliveryEvents | where ActionType has "ZAP") on NetworkMessageId,RecipientEmailAddress
1615
| extend DeliveryTime=(Timestamp)
1716
| extend ZAPTime=(Timestamp1)
1817
| project DeliveryTime, ZAPTime, NetworkMessageId, SenderFromAddress, SenderIPv4,RecipientEmailAddress, Subject, DeliveryAction, DeliveryLocation

0 commit comments

Comments
 (0)