VeriKQL by Kaushik Saha

CommonSecurityLog joined with ThreatIntelligenceIndicator

7 rules join them.

Kinds: innerunique 7. A join with no kind= is innerunique, which keeps one left row per key.

Keys

TI_DomainEntity == Domain2
DomainName == DestinationDnsDomain1
EmailSenderAddress == DestinationUserID1
FileHashValue == FileHash1
TI_ipEntity == CS_ipEntity1
Url == PA_Url1

Time conditions after the join

7 rules of 7 compare a datetime column of one side with one of the other in a where after the join. The others bound only each side's own window, or not at all.

CommonSecurityLog_TimeGenerated < ExpirationDateTime6
HitTime < ExpirationDateTime1

Rules

Every rule that joins them7

Rules are from Azure/Azure-Sentinel (MIT licence) at commit 9ea9f7c. VeriKQL stores facts its parser read from each rule and links the rule; it does not copy rule text. Counts are what the rules do: practice, not guidance, and not Microsoft's recommendation.