ExecuteCommandAt

A wrapper script for the executeCommandAt command to be used in playbooks or the war-room.

python · Common Scripts

Details

IDExecuteCommandAt
Languagepython
From Version6.10.0
Docker Imagedemisto/python3:3.12.13.10404775

README

A wrapper script for the executeCommandAt command to be used in playbooks or the war-room

Script Data


Name Description
Script Type python3
Cortex XSOAR Version 6.0.0

Inputs


Argument Name Description
incident_ids The incident ids to run the command on. Can be passed in as CSV format for multiple.
command The command name to run
arguments The arguments to pass into the command. The format should be like: {"argument_name": "argument_value"}

Outputs


There are no outputs for this script.

Usage Notes


Executing commands on another incident

```war room
// single incident example:
!ExecuteCommandAt command=”Print” incident_ids=”" arguments=`{"value":"hello world"}`

// multiple incident example:
!ExecuteCommandAt command=”Print” incident_ids=”," arguments=`{"value":"hello world"}` ```

args:
- description: The incident ids to run the command on. Can be passed in as CSV format for multiple.
  isArray: true
  name: incident_ids
  required: true
- description: The command name to run.
  name: command
  required: true
- description: 'The arguments to pass into the command. The format should be like: {"argument_name": "argument_value"}.'
  name: arguments
comment: A wrapper script for the executeCommandAt command to be used in playbooks or the war-room.
commonfields:
  id: ExecuteCommandAt
  version: -1
dockerimage: demisto/python3:3.12.13.10404775
enabled: true
engineinfo: {}
name: ExecuteCommandAt
runas: DBotWeakRole
runonce: false
script: ''
scripttarget: 0
subtype: python3
tags: []
type: python
fromversion: 6.10.0
tests:
- No tests