Skip to main content

CTIXDeleteFlaggedIndicators

This Script is part of the Cyware Intel Exchange Pack.#

Supported versions

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

Deletes indicators ingested from Cyware Intel Exchange (CTIX v3) that are flagged as deprecated, revoked, false positive, reviewed, or whitelisted.

The script builds a Threat Intel query scoped to indicators from the CTIX v3 integration (sourceBrands:"CTIX v3") with any of the enabled flag fields set, and runs the built-in deleteIndicators command on the matches. All delete flags are disabled by default โ€” the script does nothing until at least one flag is explicitly enabled, so it can never issue an unscoped delete.

It is intended to be run on a schedule via the bundled CTIX - Delete Flagged Indicators job (which triggers the playbook of the same name), but can also be run manually from the War Room or Playground.

Note: this script only deletes indicators whose flag fields are already up to date in the Threat Intel Module โ€” run the CTIX feed fetch first so it can update those fields, then run this script (or the bundled job/playbook) to pick up the changes.

Script Data#


NameDescription
Script Typepython3
Cortex XSOAR Version6.10.0

Inputs#


Argument NameDescription
delete_deprecatedWhether to delete indicators marked as deprecated in Cyware Intel Exchange (CTIX). Default is false.
delete_revokedWhether to delete indicators revoked by their source in Cyware Intel Exchange (CTIX). Default is false.
delete_false_positiveWhether to delete indicators marked as false positive in Cyware Intel Exchange (CTIX). Default is false.
delete_whitelistedWhether to delete indicators allow-listed in Cyware Intel Exchange (CTIX). Default is false.
delete_reviewedWhether to delete indicators that have been reviewed in Cyware Intel Exchange (CTIX). Default is false.
excludeWhether to also add the deleted indicators to the Exclusion List. When false (default), indicators are purely deleted and can be re-created if they reappear un-flagged.
reasonThe reason recorded for the deletion (and exclusion, if enabled).

Command Example#

!CTIXDeleteFlaggedIndicators delete_false_positive=true exclude=true reason="Not malicious and used internally"

Human Readable Output#

done

Outputs#


There are no outputs for this script.