sequence by okta.actor.id with maxspan=12h
[any where event.dataset == "okta.system" and okta.event_type == "user.mfa.factor.deactivate"
and okta.outcome.result == "SUCCESS" and not okta.client.user_agent.raw_user_agent like "SFDC-Callout*"]
![any where event.dataset == "okta.system" and okta.event_type == "user.mfa.factor.activate"]
Install detection rules in Elastic Security
Detect MFA Deactivation with no Re-Activation for Okta User Account in the Elastic Security detection engine by installing this rule into your Elastic Stack.
To setup this rule, check out the installation guide for Prebuilt Security Detection Rules(opens in a new tab or window).