AzureActivity joined with AADServicePrincipalSignInLogs
4 rules join them.
Keys
$left.CallerNorm == $right.JoinKey == $left.CallerIp == $right.SigninIp1
$left.IdentityNorm == $right.CallerNorm == $left.IpNorm == $right.CallerIp1
CallerIp == IpNorm1
CallerNorm == CallerNorm1
JoinKey == CallerNorm1
Time conditions after the join
ActTime between (SigninTime .. (SigninTime + ScopeWindow))1
FirstKv between (FirstSignin .. (LastSignin + SequenceWindow))1
SigninTime between (FirstKvRead .. (LastKvRead + PivotWindow))1
TimeGenerated between (FirstKvRead .. (LastKvRead + PivotWindow))1
WriteTime between (SigninTime .. (SigninTime + RbacWindow))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.