Skip to main content


This Script is part of the Community Common Scripts Pack.#

Supported versions

Supported Cortex XSOAR versions: 6.5.0 and later.

The automation removes evidence based on a query performed on the evidence content, if the provided string is found within the evidence- it will be removed.

Script Data#

Script Typepython3


Argument NameDescription
removeIfContainsString that if found in the entry of an evidence- the evidence will be removed. The default value is "No entries"


There are no outputs for this script.


Multi-tenant environments should be configured with the Cortex Rest API instance when using this automation. Make sure the Use tenant parameter (in the Cortex Rest API integration) is checked to ensure that API calls are made to the current tenant instead of the master tenant.