Skip to main content

SetTagsBySearch

This Script is part of the UpdateEntriesBySearch Pack.#

Supported versions

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

Search entries in the war room for the pattern text, and set tags to the entries found.


Script Data#

NameDescription
Script Typepython
TagsUtility

Inputs#

Argument NameDescription
incident_idThe incident ID to search entries from. If not given, the current incident is used.
actionThe action to the entries.
tagsThe list of tags to set
filter_categoriesThe list of categories of source entries
filter_optionsThe options to filter entries
filter_tagsThe tags to filter entries
filter_entry_typesThe list of entry type of source entries
filter_entry_formatsThe list of entry format of source entries
filter_user_typeThe user type to filter entries by who created them
algorithmThe pattern matching algorithm
patternThe pattern text to search
exclude_patternThe pattern text to exclude entries matched
node_pathsThe list of node path of entries to search from
case_insensitivetrue if the pattern is matched in case-insensitive, false otherwise.
dry_runtrue if it only search the entries and doesn't update, false otherwise.
summaryThe flag to control the output of results

--

Outputs#

There are no outputs for this script.