Actions56
- Acquisition Actions
- Asset Actions
- Baseline Actions
- Case Actions
- InterACT Actions
- Organization Actions
- Repository Actions
- Task Actions
- Triage Rule Actions
- User Actions
InterACT → Execute Command
AI-generatedOverview
This node executes a command within an existing InterACT session identified by a session ID. It is useful for interacting with devices or systems through an interactive shell session, allowing users to run commands and receive responses in either JSON or plain text format. Practical examples include remotely executing diagnostic commands, retrieving system information, or automating device management tasks.
Use Case Examples
- Execute a diagnostic command on a remote device using an active InterACT session.
- Run a script or command asynchronously and process the JSON response for further automation.
- Retrieve command output as plain text for logging or display purposes.
Properties
| Name | Meaning |
|---|---|
| Session ID | The InterACT session ID used to identify the active interactive session where the command will be executed. |
| Command | The command string to be executed within the InterACT session. |
| Response Type | The format in which the command response is returned, either as JSON or plain text. |
Output
JSON
response- The output or result of the executed command, formatted according to the selected response type (JSON or text).
Dependencies
- Requires an API key credential for authentication with the AIR platform to execute commands in InterACT sessions.
Troubleshooting
- Ensure the provided Session ID is valid and corresponds to an active InterACT session; otherwise, command execution will fail.
- Verify that the command syntax is correct and supported by the target system to avoid errors in execution.
- If the response type is JSON, ensure the command output is properly formatted as JSON to prevent parsing errors.