wazuh_agent_command
Execute an arbitrary command on a remote Wazuh agent through active-response. Requires explicit confirmation before running.
Instructions
⚠️ DESTRUCTIVE: Execute an arbitrary command on a remote Wazuh agent via the active-response infrastructure.
🔒 SAFETY: Same confirmation flow as wazuh_run_active_response. You MUST confirm explicitly before the command runs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | Yes | Target agent ID | |
| command | Yes | Full command string to execute on the agent (use with extreme caution) | |
| confirm | No | 🔒 SAFETY: Set to True only after reviewing the confirmation prompt. | |
| confirmation_token | No | 🔒 SAFETY: The token from the confirmation prompt. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |