Containment Plan - Clear User Sessions

## Containment Plan - Clear User Sessions This playbook is a sub-playbook within the containment plan playbook. The playbook uses the 'Okta v2' and 'MSGraph User' integrations to clear user sessions.

Common Playbooks · 15 tasks · 3 inputs · 0 outputs

Inputs

  • ClearUserSessions — Set to 'True' to clear the user active sessions.
  • Username — The username to disable.
  • IAMUserDomain — The Okta IAM users domain. The domain will be appended to the username. E.g., username@IAMUserDomain.

Commands used

msgraph-user-get msgraph-user-session-revoke okta-clear-user-sessions okta-get-user setParentIncidentContext

Flowchart

yes yes yes yes yes yes Start Start Okta clear user sessions - okta-clear-user-sessions Okta clear user sessions okta-clear-user-sessions Done Done Get Okta user ID - okta-get-user Get Okta user ID okta-get-user Set the username to the Incident context - setParentIncidentContext Set the username to the I... setParentIncidentContext Set users to clear the session with Okta - Set Set users to clear the se... Set Is Okta enabled? - IsIntegrationAvailable Is Okta enabled? IsIntegrationAvailable Should clear the user sessions? Should clear the user ses... Is MsGraphUser enabled? - IsIntegrationAvailable Is MsGraphUser enabled? IsIntegrationAvailable Get MsGraph user ID - msgraph-user-get Get MsGraph user ID msgraph-user-get MSGraph clear user sessions - msgraph-user-session-revoke MSGraph clear user sessions msgraph-user-session-revoke Set the username to the Incident context - setParentIncidentContext Set the username to the I... setParentIncidentContext Does the username exist? Does the username exist? Does the username exist? Does the username exist? Set users to clear the session with MsGraph - Set Set users to clear the se... Set