AddKeyToList
This Script is part of the Common Scripts Pack.#
Adds/Replaces a key in key/value store backed by an XSOAR list.
Script Data#
| Name | Description |
|---|---|
| Script Type | python3 |
| Tags | |
| Cortex XSOAR Version | 5.0.0 |
Inputs#
| Argument Name | Description |
|---|---|
| listName | List name. |
| keyName | Key. |
| value | Key Value. |
| append | Append to key. |
| allowDups | Allow duplicates in array keys. |
Outputs#
There are no outputs for this script.
Script Example#
!AddKeyToList listName="NewList" keyName="SomeKey" value="TestValue"
Context Example#
Human Readable Output#
Successfully updated list NewList.