ManageOOOusers
Adds or removes an analyst from the out-of-office list in XSOAR. When used with the AssignAnalystToIncidentOOO automation, prevents incidents from being assigned to an analyst who is out of office.
python · Shift Management
Details
| ID | ManageOOOusers |
|---|---|
| Language | python |
| From Version | 5.5.0 |
| Docker Image | demisto/python3:3.12.13.10116658 |
| Tags | ooo Shift Management |
README
Adds or removes an analyst from the out-of-office list in XSOAR. When used with the AssignAnalystToIncidentOOO automation, prevents incidents from being assigned to an analyst who is out of office.
Script Data
| Name | Description |
|---|---|
| Script Type | python3 |
| Tags | ooo, Shift Management |
| Cortex XSOAR Version | 5.5.0 |
Inputs
| Argument Name | Description |
|---|---|
| option | Add or remove an analyst from the out-of-office list. Possible values are “Add” and “Remove”. |
| daysoff | Number of days the analyst will be off. Default is 7. |
| listname | A list to use in place of the out-of-office list. If the name of the list that you pass does not begin with OOO, the script automatically prefixes OOO to the script name. For example, if you pass a list called newList, the script will automatically change the name to OOO newList. Default is “OOO List”. |
| username | The name of the analyst to add to the list. The default is the current analyst. Must be provided when running as part of a playbook. |
Outputs
There are no outputs for this script.
commonfields: id: ManageOOOusers version: -1 name: ManageOOOusers script: '' type: python tags: - ooo - Shift Management comment: |- Adds or removes an analyst from the out-of-office list in XSOAR. When used with the AssignAnalystToIncidentOOO automation, prevents incidents from being assigned to an analyst who is out of office. enabled: true args: - name: option required: true auto: PREDEFINED predefined: - add - remove description: Add or remove an analyst from the out-of-office list. Possible values are "Add" and "Remove". - name: daysoff description: Number of days the analyst will be off. Default is 7. defaultValue: "7" - name: listname description: A list to use in place of the out-of-office list. If the name of the list that you pass does not begin with OOO, the script automatically prefixes OOO to the script name. For example, if you pass a list called newList, the script will automatically change the name to OOO newList. Default is "OOO List". defaultValue: OOO List - name: username description: The name of the analyst to add to the list. The default is the current analyst. Must be provided when running as part of a playbook. scripttarget: 0 subtype: python3 dockerimage: demisto/python3:3.12.13.10116658 runas: DBotWeakRole fromversion: 5.5.0 tests: - test_manageOOOUsers