Module: Wazuh::Client::Agents

Included in:
Wazuh::Client
Defined in:
lib/wazuh/client/agent.rb

Instance Method Summary collapse

Instance Method Details

#agents(options = {}) ⇒ Object



4
5
6
7
# File 'lib/wazuh/client/agent.rb', line 4

def agents(options = {})
  response = get 'agents', options
  response.body["data"]
end

#delete_agents(options = {}) ⇒ Object



9
10
11
12
# File 'lib/wazuh/client/agent.rb', line 9

def delete_agents(options = {})
  response = delete 'agents', options
  response.body["data"]
end