Skip to main content

clear-user-session

This Script is part of the Common Scripts Pack.#

Supported versions

Supported Cortex XSOAR versions: 6.10.0 and later.

This script clears user sessions across multiple integrations for a list of usernames.

Script Data#


NameDescription
Script Typepython3
Cortex XSOAR Version6.10.0

Inputs#


Argument NameDescription
user_nameList of names of the users to retrieve.
brandsWhich integrations brands to run the command for. If not provided, the command will run for all available integrations. For multi-select provide a comma-separated list. For example: "Okta v2,Microsoft Graph User".
verboseWhether to retrieve human readable entry for every command or only the final result. True means to retrieve human readable entry for every command. False means to retrieve human readable entry only for the final result.

Outputs#


PathDescriptionType
SessionClearResults.UserNameThe username for which the session clearing process was executed.String
SessionClearResults.ResultThe result of the session clearing process for the user (Success or Failed).String
SessionClearResults.SourceThe integrations (e.g., Microsoft Graph, Okta v2) where the session clearing succeeded.List
SessionClearResults.MessageAdditional information or error details if the session clearing process failed.String