FailedInstances
Executes a test for all integration instances available and returns detailed information about succeeded and failed integration instances.
javascript · Common Scripts
Details
| ID | FailedInstances |
|---|---|
| Language | javascript |
| From Version | 5.0.0 |
README
Executes a test for all integration instances available and returns a detailed table with information about any failed integration instances.
The script runs on all enabled instances, regardless of whether the “Do not use by default in CLI” checkbox is selected.
Script Data
| Name | Description |
|---|---|
| Script Type | javascript |
| Tags | - |
| Cortex XSOAR Version | 4.0.0+ |
Inputs
There are no inputs for this script.
Outputs
| Path | Description | Type |
|---|---|---|
| FailedInstances.instance | The name of the failed integration instance. | string |
| FailedInstances.brand | The brand of the failed integration instance. | string |
| FailedInstances.category | The category of the failed integration instance. | string |
| FailedInstances.information | The error information of the failed integration instance. | string |
| FailedInstances.status | Status of the instance. | string |
| InstancesCount.FailedCount | The number of failed instances. | string |
| InstancesCount.SuccessCount | The number of working instances. | string |
| InstancesCount.TotalCount | The number of total enabled instances. | string |
| SuccessInstances.brand | Brand of succeeded integration instance. | string |
| SuccessInstances.category | Category of succeeded integration instance. | string |
| SuccessInstances.information | succeeded. | string |
| SuccessInstances.instance | Name of succeeded integration instance | string |
| SuccessInstances.status | Status of the instance. | string |
commonfields: id: FailedInstances version: -1 name: FailedInstances script: '' type: javascript tags: [] comment: Executes a test for all integration instances available and returns detailed information about succeeded and failed integration instances. enabled: true args: - description: Weather to test instances with "Do not use by default" option checked. name: includeDefault required: false auto: PREDEFINED predefined: - "false" - "true" defaultValue: "false" outputs: - contextPath: FailedInstances.instance description: The name of the failed integration instance. type: string - contextPath: FailedInstances.brand description: The brand name of the failed integration instance. type: string - contextPath: FailedInstances.category description: The category of the failed integration instance. type: string - contextPath: FailedInstances.information description: Error information about the failed integration instance. type: string - contextPath: FailedInstances.status description: The status of the instance. type: string - contextPath: InstancesCount.FailedCount description: The number of failed instances. type: string - contextPath: InstancesCount.SuccessCount description: The number of working instances. type: string - contextPath: InstancesCount.TotalCount description: The number of total enabled instances. type: string - contextPath: SuccessInstances.brand description: The brand name of the successful integration instance. type: string - contextPath: SuccessInstances.category description: The category of the successful integration instance. type: string - contextPath: SuccessInstances.information description: Information that the integration instance was succesful. type: string - contextPath: SuccessInstances.instance description: The name of the successful integration instance. type: string - contextPath: SuccessInstances.status description: The status of the instance. type: string scripttarget: 0 timeout: 10.8µs runas: DBotWeakRole fromversion: 5.0.0 tests: - FailedInstances - Test