Skip to main content

SetIndicatorGridField

This Script is part of the Common Scripts Pack.#

Supported versions

Supported Cortex XSOAR versions: 6.10.0 and later.

This script updates an indicator's grid field in Cortex XSOAR with provided row data. You can input the rows directly or extract them from the context.

Script Data#


NameDescription
Script Typepython3

Inputs#


Argument NameDescription
indicatorThe value of the indicator to be updated.
grid_fieldThe name of the grid field you want to update.
headersA comma-separated string listing the column headers for the grid.
inputEither a JSON or list of lists. This argument is mandatory.
keys_from_contextA comma-separated string listing the keys to extract values from the provided dictionaries in the input. The extracted values will be mapped to the headers in the order provided.
appendWhen set to True, appends the new content to the existing grid content instead of overwriting it.

Outputs#


There are no outputs for this script.