CherwellCreateIncident
This script is an example script of how to create an incident in Cherwell. The script wraps the create business object command in the cherwell integration. When writing your own script to create a business object, follow the instructions in the configuration part, but do not change the execution section.
python · Cherwell
Details
| ID | CherwellCreateIncident |
|---|---|
| Language | python |
| From Version | 5.0.0 |
| Docker Image | demisto/python3:3.12.13.10116658 |
| Tags | Cherwell |
README
This script is an example script of how to create an incident in Cherwell. The script wraps the create business object command in the cherwell integration. When writing your own script to create a business object, follow the instructions in the configuration part, but do not change the execution section.
Script Data
| Name | Description |
|---|---|
| Script Type | python3 |
| Tags | Cherwell |
| Cortex XSOAR Version | 5.0.0 |
Dependencies
This script uses the following commands and scripts.
- cherwell-create-business-object
Inputs
| Argument Name | Description |
|---|---|
| description | Incident description. |
| priority | Incident priority. |
| owned_by | Incident owner. |
| service | Service needed. |
| customer_display_name | Requesting customer name. |
Outputs
| Path | Description | Type |
|---|---|---|
| Cherwell.BusinessObjects.PublicId | Incident public ID | String |
| Cherwell.BusinessObjects.RecordId | Incident record ID | String |
args: - description: Incident description. name: description required: true - auto: PREDEFINED description: Incident priority. name: priority predefined: - '1' - '2' - '3' - '4' - '5' - '6' required: true - description: Incident owner. name: owned_by - description: Service needed. name: service - description: Requesting customer name. name: customer_display_name required: true comment: This script is an example script of how to create an incident in Cherwell. The script wraps the create business object command in the cherwell integration. When writing your own script to create a business object, follow the instructions in the configuration part, but do not change the execution section. commonfields: id: CherwellCreateIncident version: -1 name: CherwellCreateIncident outputs: - contextPath: Cherwell.BusinessObjects.PublicId description: Incident public ID type: String - contextPath: Cherwell.BusinessObjects.RecordId description: Incident record ID type: String script: '-' tags: [Cherwell] timeout: '0' type: python dependson: must: - Cherwell|||cherwell-create-business-object dockerimage: demisto/python3:3.12.13.10116658 subtype: python3 tests: - Cherwell Example Scripts - test fromversion: 5.0.0 skipprepare: - script-name-incident-to-alert