Sha256: 40088015571e5788ac82aae441e7f7e01dc3a4a1fe04bbc220b95f2b2218cb37
Contents?: true
Size: 770 Bytes
Versions: 21
Compression:
Stored size: 770 Bytes
Contents
module Wazuh module Api module Endpoints module ActiveResponse # # Run an AR command in the agent # Runs an Active Response command on a specified agent. # # @param [String] agent_id # @option options [command] :command # Command running in the agent. If this value starts by !, then it refers to a script name instead of a command name. # @option options [custom] :custom # Whether the specified command is a custom command or not. # @option options [arguments] :arguments # Array with command arguments. def run_active_response_command(agent_id, options = {}) put "/active-response/#{agent_id}", options end end end end end
Version data entries
21 entries across 21 versions & 1 rubygems