Skip to main content

PanoraysCheckOlderDuplicate

This Script is part of the Panorays Pack.#

Supported versions

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

Checks whether an older open/pending "Panorays Finding" incident already exists for the same Finding ID, by calling getIncidents server-side and returning a single explicit boolean output. Used by the Panorays Finding - Triage and Response playbook to avoid a race where two incidents created at nearly the same time could each see the other as already-open and both close as Duplicate - only the newer incident (higher ID) is ever told a duplicate exists.

Script Data#


NameDescription
Script Typepython3
Tags
Cortex XSOAR Version6.10.0

Inputs#


Argument NameDescription
finding_idThe Panorays Finding ID to search for.
incident_idThe current incident's ID. Only other incidents with a lower ID are considered a match.

Outputs#


PathDescriptionType
PanoraysDuplicateCheck.OlderDuplicateExistsWhether an older open/pending duplicate incident exists for this Finding ID.Boolean