Use cases: JSON lists
Manage JSON lists for automation and playbooks in Cortex XSOAR 8.10 On-prem.
List data can be stored in various structures, including JSON format. When accessing a valid JSON file from within a playbook, it is automatically parsed as a JSON object (list). Depending on how you store the data, you may need to Transform a List into an Array. For example, if using non-built-in commands in a script or you want to loop over list items, you should transform a list into an array. Working with a JSON file list in a playbook typically involves the following actions:
Extract the data from a JSON object
Extract a subset of the data
Filter extracted data
Apply transformers to extracted data. See Filter and transform data for more details.
Last updated
Was this helpful?







