Skip to content

Commit a2ee9a4

Browse files
updated query logic
1 parent 30fe68a commit a2ee9a4

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

rules/integrations/okta/credential_access_multiple_user_agent_os_authentication.toml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,15 @@ type = "threshold"
6666

6767
query = '''
6868
data_stream.dataset: "okta.system" and
69-
okta.debug_context.debug_data.dt_hash: * and
70-
okta.device.os_platform: * and
71-
event.action: ("user.authentication.verify" or "user.authentication.auth_via_mfa")
69+
event.action: (
70+
"user.authentication.verify" or
71+
"user.authentication.auth_via_mfa"
72+
) and
73+
(
74+
okta.debug_context.debug_data.dt_hash: * and
75+
not okta.debug_context.debug_data.dt_hash: "-"
76+
) and
77+
user_agent.os.name: *
7278
'''
7379

7480

0 commit comments

Comments
 (0)