Skip to main content

TroubleshootExecuteCommand

This Script is part of the Troubleshoot Pack.#

Executes a command in Cortex XSOAR in debug mode and pulls logs from the command execution.

Script Data#


NameDescription
Script Typepython3
Tagstroubleshoot
Cortex XSOAR Version5.0.0

Used In#


This script is used in the following playbooks and scripts.

  • Integration Troubleshooting

Inputs#


Argument NameDescription
commandThe command to run.
argumentsThe arguments of the command.
instance_nameThe instance name.

Outputs#


PathDescriptionType
TroubleshootExecuteCommand.commandThe command executed.String
TroubleshootExecuteCommand.instance_nameOn which instance of the integration the command executed.String
TroubleshootExecuteCommand.ErrorThe errors from the command.String
File.NameThe full file name (including file extension).String
File.EntryIDThe ID for locating the file in the War Room.String
File.SizeThe size of the file in bytes.Number
File.MD5The MD5 hash of the file.String
File.SHA1The SHA1 hash of the file.String
File.SHA256The SHA1 hash of the file.String
File.SHA512The SHA512 hash of the file.String
File.SSDeepThe ssdeep hash of the file (same as displayed in file entries).String
File.ExtensionThe file extension, for example: 'xls'.String
File.TypeThe file type, as determined by libmagic (same as displayed in the file entries).String