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#
| Name | Description |
|---|---|
| Script Type | python3 |
| Cortex XSOAR Version | 6.10.0 |
Dependencies#
This script uses the following commands and scripts.
- core-api-get
- Core REST API
Inputs#
| Argument Name | Description |
|---|---|
| task_name | The name of the Ask task in the playbook to generate links. |
| inc_id | The investigation id for which generate the links. When omitted, the current investigation is used. |
Outputs#
| Path | Description | Type |
|---|---|---|
| Ask.Links.taskName | The name of the task in the playbook for which this link is created. | String |
| Ask.Links.link | The link generated for the option. | String |
| Ask.Links.option | The option for which this link is created. | String |
| Ask.Links.taskID | The id of the task in the playbook for which this link is created. | Number |