Skip to main content

GetAskLinks

This Script is part of the Community Common Scripts Pack.#

Supported versions

Supported Cortex XSOAR versions: 6.10.0 and later.

Creates external ask links for the Ask task with the given name.

Script Data#


NameDescription
Script Typepython3
Cortex XSOAR Version6.10.0

Dependencies#


This script uses the following commands and scripts.

  • core-api-get
  • Core REST API

Inputs#


Argument NameDescription
task_nameThe name of the Ask task in the playbook to generate links.
inc_idThe investigation id for which generate the links. When omitted, the current investigation is used.

Outputs#


PathDescriptionType
Ask.Links.taskNameThe name of the task in the playbook for which this link is created.String
Ask.Links.linkThe link generated for the option.String
Ask.Links.optionThe option for which this link is created.String
Ask.Links.taskIDThe id of the task in the playbook for which this link is created.Number