Skip to main content

GenerateRandomString

This Script is part of the Common Scripts Pack.#

Supported versions

Supported Cortex XSOAR versions: 6.2.0 and later.

Generates a random string.

Script Data#


NameDescription
Script Typepython
Tags-

Inputs#


Argument NameDescription
LengthThe length of the string. Maximum is 10,000.
PunctuationWhether the string will include punctuation.
LowercaseWhether the string will include letters.
UppercaseWhether uppercase should be included.
DigitsWhether digits should be included.

Outputs#


PathDescriptionType
RandomStringThe generated string.string