To set up the Okta user login failures playbook, install Security Operations Spoke, open the flow in Flow Designer, activate the base flow or a customized copy, and set the security incident trigger to Category = Failed Login. Then validate the investigation branches for multiple IPs, successful logins, user explanations, and containment.
Define the Okta user login failures playbook scope
The Okta User Login Failures from Multiple IPs playbook supports investigation of failed authentication involving ServiceNow user IDs. Its associated alert examines Okta logs for failures from more than three non-ServiceNow IP ranges during a one-hour period. That describes the alert scenario; the playbook itself is associated with a security incident through its trigger condition.
The alert describes the suspicious pattern. The incident category decides whether this playbook is associated with the record. Treating the alert threshold as the Flow Designer trigger would obscure where to look when an expected investigation does not start.
Before implementation, identify who owns the Okta evidence, who handles security incidents, and who can coordinate account actions with IT Support. Record these responsibilities in your operating notes. For the wider identity connection work, use the ServiceNow and Okta integration guide. Keep this playbook review focused on investigation and response rather than assuming that activating a flow completes integration setup.
Prepare the spoke and action-specific access
Security Operations Spoke, identified as sn_sec_spoke, must be installed before setup. The setup prerequisites list sn_si.admin and flow_designer. The procedure specifically instructs the person opening and configuring the playbook to sign in with sn_si.user and flow_designer. Preserve that distinction when assigning access instead of treating the prerequisite list as a blanket role statement for all work.
The playbook usage procedure lists sn_si.admin and flow_designer as its required roles. Assign the configuration and investigation work with these action-specific requirements in view. Do not infer that a person who can open an incident also has permission to perform the setup procedure.
Check these details on your instance and release before making changes. As a readiness exercise, have the intended configurator confirm that the named flow is accessible, and have the investigation owner review the response sequence. A readiness check typically surfaces a missing dependency or an access mismatch before a live incident depends on the flow.
Activate the base flow or a deliberate customization
- Sign in for the setup procedure with sn_si.user and flow_designer.
- Navigate to All > Flow Designer and locate Okta User Login Failures from Multiple IPs.
- Decide whether the base behavior meets the investigation process you intend to operate.
- If changes are needed, use Copy flow from the flow icon and make the required modifications in the copy.
- Activate the main flow when using the base playbook, or activate the copied flows after completing the changes.
- Set the Trigger Condition so the playbook is triggered and associated with the security incident when Category is Failed Login.
Copying is optional. Make the choice because a response decision or task needs adaptation, rather than adding a customization with no operational reason. In your change notes, identify which flow the team intends to use and the reason for any modified branch. Those notes give an investigator context when a local sequence differs from the base behavior.
Review the trigger separately from activation. Activation makes the selected flow available for use; the category condition defines its association with the security incident. When an expected playbook is absent, check the intended flow and the incident category before changing investigation logic. For the broader workflow context, see Security Incident Response playbooks.
For help planning this work, see ServiceNow implementation.
Follow the evidence through the investigation branches
Start with the targeted user account. Action 1 combines account identification with examination of the IP subnets and whether they share an Autonomous System Number, or ASN, owner. Keep the account, address range, and ownership observations together in the case notes. An unexplained list of IP addresses gives the next analyst less context than a record of what those addresses have in common.
Action 2 checks for successful logins before or after the activity across the different IPs or ASNs. Preserve the timing relationship in the investigation record. A successful authentication around the failures is a different observation from a sequence containing failures alone, so do not compress both into a single statement that the account had login trouble.
When no successful logins are found before or after that activity, the sequence moves through Action 3 to the known-user-agent check in Action 4. If the devices are authenticated by known user agents, the flow ends at that point. Record which user agents were recognized so a later reviewer can see why. During review, record the evidence used to recognize the agents so a later reviewer can understand the decision.
Action 5 uses out-of-band contact to ask the user whether account lockout or an incorrect password explains the activity. Action 6 evaluates the business justification. When the user gives a valid business justification, Action 7 runs its tasks. Action 8 creates a response task that documents the findings so far, Action 9 starts a post-incident review, and Action 10 ends the flow. A valid explanation still leaves a documentation and review obligation.
Coordinate containment and restore the account
Action 11 examines the source IP address and client user agent, with IP-based investigation used to assess possible brute-force activity. The purpose is to connect a containment decision to observed authentication activity, rather than treating the presence of several addresses as the entire investigation.
Action 12 notifies the affected user that the account will be locked for investigation; an email template is available for this notification. Action 13 brings in IT Support to lock the account and investigate the extent of compromise. Identify the handoff owner before this point so the notification and account action can be coordinated.
Action 14 resets the user password and emails the user the default password, so run that step under your credential procedure. Action 15 blocks the malicious source IPs. Action 16 has IT Support release the account and return it to operation. Keep password handling aligned with your organization’s credential procedures. The decision record should distinguish which addresses were identified as malicious from the broader set reviewed during the investigation.
Actions 17 and 18 capture findings and complete the post-incident review before task closure. Record what was observed, the reason for the chosen response, the account actions taken, and the restoration handoff. For preparing staff to carry out those responsibilities, see user adoption and training.
Check the containment steps in sequence
The containment branch runs in a fixed order, and each step depends on the one before it. Confirm that the earlier branch ended without a valid explanation before the team starts blocking addresses or locking accounts.
- Action 11 pivots on the source IP address and client user agent to test whether the attempts look like brute-force activity.
- Action 12 tells the affected user that the account will be locked for investigation, using the email template supplied with the playbook.
- Action 13 hands the lock and scope investigation to IT Support.
- Action 14 resets the password and sends the user the default password by email.
- Action 15 blocks the malicious source IPs.
- Action 16 has IT Support release the account and return it to operational standards.
- Action 17 documents the findings so far, and Action 18 completes the post-incident review before the task closes.
Validate decisions before relying on the flow
Use a controlled review with the people responsible for configuration, investigation, and IT Support. The aim is to establish whether the chosen flow can support the decisions the team expects to make. Treat the following as acceptance checks for your implementation, rather than additional product settings.
- Confirm that the intended main flow or customized copy is active and that the incident has the expected Failed Login category.
- Walk through how the analyst will identify the user, compare IP subnet ownership, and record successful-login timing.
- Review the known-user-agent branch and the evidence needed to justify its outcome.
- Rehearse a user explanation that is accepted and a case that requires further investigation and containment.
- Check the account-lock handoff, malicious-IP decision, restoration coordination, and post-incident review ownership.
If the flow starts but the investigation stalls, identify the missing decision evidence or task owner before changing the trigger. If the flow does not become associated with the incident, begin with activation and category checks.