Skip to main content

GetIdsFromCustomContent

This Script is part of the XSOAR CI/CD Pack.#

Supported versions

Available on Cortex XSOAR (versions 6.8.0 and later) and Cortex XSIAM.

Extract custom content IDs from custom content bundle file and exclude IDs as specified.

Script Data#


NameDescription
Script Typepython3
Cortex XSOAR Version6.8.0

Inputs#


Argument NameDescription
exclude_ids_listList of dictionaries of IDs to exclude in a JSON format (e.g., [{"job": ["job1", "job2"], "pack": ["pack1"]}, {"job": ["job3"]}]
file_entry_idThe entry ID of the custom content tar file.

Outputs#


PathDescriptionType
GetIdsFromCustomContent.included_idsDictionary of IDs of custom content excluding the ones specified.Unknown
GetIdsFromCustomContent.excluded_idsDictionary of IDs of custom content excluding the ones specified.Unknown