Skip to content

Commit dd93c6a

Browse files
updated query logic
1 parent 0fe16e1 commit dd93c6a

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

rules/integrations/okta/credential_access_multiple_user_agent_os_authentication.toml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -64,16 +64,13 @@ timestamp_override = "event.ingested"
6464
type = "threshold"
6565

6666
query = '''
67-
data_stream.dataset: "okta.system" and
68-
event.action: (
67+
data_stream.dataset: "okta.system"
68+
and not okta.debug_context.debug_data.dt_hash: "-"
69+
and user_agent.os.name: *
70+
and event.action: (
6971
"user.authentication.verify" or
7072
"user.authentication.auth_via_mfa"
71-
) and
72-
(
73-
okta.debug_context.debug_data.dt_hash: * and
74-
not okta.debug_context.debug_data.dt_hash: "-"
75-
) and
76-
user_agent.os.name: *
73+
)
7774
'''
7875

7976

0 commit comments

Comments
 (0)