Skip to main content

get-user-data

This Script is part of the Common 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

Inputs#


Argument NameDescription
user_idList of IDs of the user to retrieve.
user_nameList of names of the users to retrieve.
user_emailList of emails of the users to retrieve.
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 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 human readable only for the final result.

Outputs#


PathDescriptionType
Account.ID.ValueThe user ID.String
Account.ID.SourceThe source of the account ID, for example, the integration name.String
Account.UsernameThe username in the relevant system.String
Account.DisplayNameThe display name.String
Account.Email.AddressThe email address of the account.String
Account.GroupsGroups to which the account belongs (integration specific). For example, for AD these are groups of which the account is memberOf.String
Account.TypeThe account type. The most common value is 'AD', but can be 'LocalOS', 'Google', 'AppleID'.String
Account.JobTitleThe job title of the account.String
Account.OfficeThe office where the person associated with the account works.String
Account.TelephoneNumberThe phone number associated with the account.String
Account.IsEnabledWhether the account is enabled or disabled. 'True' means the account is enabled.Bool
Account.Manager.EmailThe email address of the manager.String
Account.Manager.DisplayNameThe display name of the manager.String
Account.RiskLevelThe risk level associated with the account. This could be 'LOW', 'MEDIUM', or 'HIGH'.String