_Im_AuditEvent joined with _Im_Authentication
4 rules join them.
Keys
JoinKey == CallerNormalized1
JoinKey == JoinKey1
TargetId == PrincipalId1
UserKey == ActorKey1
Time conditions after the join
AuditTime between (ActivityTime .. (ActivityTime + 4h))1
FirstSignin between (ChangeTime .. (ChangeTime + 24h))1
SigninTime between (ChangeTime .. (ChangeTime + 24h))1
WriteTime between (SigninTime .. (SigninTime + 60m))1
Rules
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.