1 parent b84551b commit c62cf04Copy full SHA for c62cf04
1 file changed
Log Analytics/Userful Strong Auth Statistics KQL/Get x509 Users
@@ -0,0 +1,7 @@
1
+SigninLogs
2
+| where TimeGenerated > ago(30d) and AuthenticationDetails contains 'X.509 Certificate'
3
+| mv-expand todynamic(AuthenticationDetails)
4
+| extend ['Authentication Method'] = tostring(AuthenticationDetails.authenticationMethod)
5
+| where ['Authentication Method'] == 'X.509 Certificate'
6
+| extend TrustedLocation = tostring(iff(NetworkLocationDetails contains 'trustedNamedLocation', 'trustedNamedLocation',''))
7
+| distinct ['Authentication Method'], AppDisplayName, UPN = tolower(UserPrincipalName), ConditionalAccessStatus, AuthenticationRequirement, ResultType, ResultDescription, TrustedLocation, IPAddress, AutonomousSystemNumber, UserAgent
0 commit comments