Skip to main content

GetTasksWithSections

This Script is part of the Cortex REST API Pack.#

Supported versions

Supported Cortex XSOAR versions: 6.0.0 and later.

Groups all tasks for a specific incident according to the task headers (titles).

Script Data#


NameDescription
Script Typepython3
TagsUtility
Cortex XSOAR Version6.0.0

Inputs#


Argument NameDescription
investigation_idIncident ID to create the task table.

Outputs#


PathDescriptionType
TasksThe entire task objectUnknown
Tasks.idTask IDstring
Tasks.nameTask namestring
Tasks.sectionTask section pathstring
Tasks.typeTask type (regular, condition, title, playbook, start)string
Tasks.ownerTask ownerstring
Tasks.stateTask state (inprogress, Completed, WillNotBeExecuted, Error, Waiting, Blocked, and empty string for not started)string
Tasks.scriptIdTask related script (empty if manual)string
Tasks.startDateTask start dateunknown
Tasks.completedDateTask completed dateunknown
Tasks.dueDateTask due date (SLA)unknown
Tasks.parentPlaybookIDTask parent playbook ID (if the task is part of a sub-playbook)unknown
Tasks.completedByName of the user who completed the taskstring