Skip to main content

GetListContent

This Script is part of the Filters And Transformers Pack.#

Supported versions

Supported Cortex XSOAR versions: 6.10.0 and later.

Returns the content of the List with the given Name as a string or JSON object, depending on the selected type.

Script Data#


NameDescription
Script Typepython3
Tagstransformer
Cortex XSOAR Version6.10.0

Inputs#


Argument NameDescription
valueThe name of the List to open.
typeThe format to return the list content in, such as 'json' or 'string'. The Type does not have to match the format configured in the list, but controls how the content of the list is handled.

Outputs#


There are no outputs for this script.

Script Examples#

Example command#

!GetListContent value="list_name"

Context Example#

{}

Human Readable Output#

None

Example command#

!GetListContent value="list_name" type=json

Context Example#

{}

Human Readable Output#

None

Example command#

!GetListContent value="list_name" type=string

Context Example#

{}

Human Readable Output#

None