Skip to main content

DeleteContent

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

Supported versions

Supported Cortex XSOAR versions: 6.0.0 and later.

Delete content to keep XSOAR tidy.

Script Data#


NameDescription
Script Typepython3
Tagsconfiguration, Content Management
Cortex XSOAR Version6.0.0

Inputs#


Argument NameDescription
include_ids_dictThe content items ids to delete, in a JSON format.
exclude_ids_dictThe content items IDs to preserve, in a JSON format.
dry_runIf set to true, the flow will work as usuall except that no content items will be deleted from the system.
verify_certIf true, verify certificates when accessing github.
skip_proxyIf true, skip system proxy settings.

Outputs#


PathDescriptionType
ConfigurationSetup.Deletion.successfully_deletedDeleted idsString
ConfigurationSetup.Deletion.not_deletedNot deleted idsString
ConfigurationSetup.Deletion.statusDeletion statusString