GetFailedTasks
Integrations & Incidents Health Check Pack.#
This Script is part of theSupported versions
Supported Cortex XSOAR versions: 6.0.0 and later.
Gets failed tasks details for incidents based on a query. Limited to 1000 incidents
#
PermissionsThis automation runs using the default Limited User role, unless you explicitly change the permissions. For more information, see the section about permissions here: https://docs.paloaltonetworks.com/cortex/cortex-xsoar/6-2/cortex-xsoar-admin/playbooks/automations.html
#
Script DataName | Description |
---|---|
Script Type | python3 |
Tags | |
Cortex XSOAR Version | 6.0.0 |
#
Used InThis script is used in the following playbooks and scripts.
- Integrations and Playbooks Health Check - Running Scripts
#
InputsArgument Name | Description |
---|---|
query | The query by which to retrieve failed tasks. Optional. The default value is "-status:closed" |
tenant_name | The tenant name. |
max_incidents | Maximum number of incidents to query. Maximum is 1000. |
#
OutputsThere are no outputs for this script.
#
TroubleshootingIn order for the automation script to be able to retrieve the failed tasks, the API key configured in the Demisto REST API integration, need to be of a user with Read permissions to the queried incident.