DSPMCheckAndSetErrorEntries
This script checks for error entries based on provided entry IDs and returns "yes" if any errors are found or "no" if no errors are present. If errors are detected, it sets the error messages in the XSOAR context.
python · DSPM
Details
| ID | DSPMCheckAndSetErrorEntries |
|---|---|
| Language | python |
| From Version | 6.10.0 |
| Docker Image | demisto/python3:3.12.13.10116658 |
README
This script checks for error entries based on provided entry IDs and returns “yes” if any errors are found or “no” if no errors are present. If errors are detected, it sets the error messages in the XSOAR context.
Script Data
| Name | Description |
|---|---|
| Script Type | python3 |
| Cortex XSOAR Version | 6.10.0 |
Inputs
| Argument Name | Description |
|---|---|
| entry_id | Entry to check. |
Outputs
| Path | Description | Type |
|---|---|---|
| yes | If one or more entries is an error. | Unknown |
| no | If none of the entries is not an error. | Unknown |
commonfields: id: DSPMCheckAndSetErrorEntries version: -1 name: DSPMCheckAndSetErrorEntries script: '' type: python tags: [] comment: This script checks for error entries based on provided entry IDs and returns "yes" if any errors are found or "no" if no errors are present. If errors are detected, it sets the error messages in the XSOAR context. enabled: true args: - name: entry_id required: true description: Entry to check. isArray: true outputs: - contextPath: yes description: If one or more entries is an error. - contextPath: no description: If none of the entries is not an error. scripttarget: 0 subtype: python3 runonce: false dockerimage: demisto/python3:3.12.13.10116658 runas: DBotWeakRole engineinfo: {} fromversion: 6.10.0 tests: - No tests (auto formatted)