Skip to main content

GetByIncidentId

This Script is part of the Common Scripts Pack.#

Gets a value from the specified incident's context.

Note This script can only retrieve incident fields that appear under the investigation context. To get incident basic information, use the searchIncidentsV2 automation to pull the relevant incident and extract the needed fields from the automation output.

Script Data#


NameDescription
Script Typepython3
Cortex XSOAR Version5.0.0

Inputs#


Argument NameDescription
incident_idThe ID of the incident from which to get context values. The default is the current incident.
get_keyThe key to get
set_keyThe key to set. The default is "get_key".

Outputs#


There are no outputs for this script.