Skip to main content

get-user-data

This Script is part of the Aggregated Scripts Pack.#

Supported versions

Supported Cortex XSOAR versions: 6.10.0 and later.

This script gathers user data from multiple integrations and returns an Account entity with consolidated information to the context.

Script Data#


NameDescription
Script Typepython3
Cortex XSOAR Version6.10.0

Used In#


This script is used in the following playbooks and scripts.

  • disable-user
  • silent-Suspicious Local User Account Creation
  • A user executed multiple LDAP enumeration queries
  • silent-A user executed multiple LDAP enumeration queries Test

Inputs#


Argument NameDescription
user_idList of users IDs of the user to retrieve.
user_nameList of names of the users to retrieve.
user_emailList of emails of the users to retrieve.
attributeslist of AD user's attributes to retrieve, separated by comma.
domainThe domain to retrieve users from. Available only for the iam-get-user command.
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: "SailPointIdentityNow,Active Directory Query v2,PingOne".
verboseWhether to fetch a human-readable entry for each command or just the final result. If set to true, all commands will have human-readable entries. If set to false, only the final result will be human-readable.
additional_fieldsWhether to return unmapped fields to the context output under the "AdditionalFields" path.

Outputs#


PathDescriptionType
UserData.BrandThe brand (integration) used to disable the user.String
UserData.InstanceThe integration instance used to disable the user.String
UserData.IDThe user ID.String
UserData.UsernameThe username in the relevant system.String
UserData.EmailThe email address of the account.String
UserData.RiskLevelThe risk level of the user.String
UserData.AdditionalFieldsAll the other outputs returned.String
UserData.StatusStatus of the results returned from the command.String