GenerateRandomJSON
Community Common Scripts Pack.#
This Script is part of theSupported versions
Supported Cortex XSOAR versions: 6.10.0 and later.
Generate a list of random dictionaries, using Faker Python library. For more information, please visit https://faker.readthedocs.io
#
Script DataName | Description |
---|---|
Script Type | python3 |
#
InputsArgument Name | Description |
---|---|
list_size | Size of the list of dictionaries to generate. |
faker_providers | Comma separated list of Faker provider(s) to generate data from (Only relevant if category input is set to Other). For the list of providers, please visit https://faker.readthedocs.io/en/master/providers.html |
category | Faker providers grouped into categories (e.g. IT, Finance, Person, etc) for the creation of the dictionary. If Random is selected, faker providers are chosen at random from the entire set of providers. |
dict_size | Number of key-value pairs contained on each dictionary if Random is selected as category, otherwise this number is chosen from a pre-defined list. |
#
OutputsThere are no outputs for this script.