Skip to main content

CloseFromXSOAR

This Script is part of the XSOAR Incident Exporter Pack.#

Supported versions

Available on Cortex XSIAM.

Extracts Close Reason and Close Notes from a pushed XSOAR incident alert and closes the Cortex XSIAM case if the XSOAR incident was closed.

This script is intended to run inside a Cortex XSIAM trigger playbook for XSOAR-sourced alerts. It reads the alert description to determine whether the source XSOAR incident is closed, then calls closeInvestigation with the mapped close reason.

Script Data#

NameDescription
Script Typepython3
Tagsxsoar, xsiam, close

Outputs#

PathTypeDescription
XSOARExporter.Close.XSOARIncidentIDStringThe XSOAR incident ID from the alert.
XSOARExporter.Close.XSOARCloseReasonStringThe close reason from XSOAR.
XSOARExporter.Close.XSIAMCloseReasonStringThe mapped XSIAM close reason.
XSOARExporter.Close.CloseNotesStringThe close notes from XSOAR.
XSOARExporter.Close.ActionStringWhether the case was closed or no action was taken.