Module: Wazuh::Api::Endpoints::Experimental
- Included in:
- Wazuh::Api::Endpoints, V4::Experimental
- Defined in:
- lib/wazuh/api/endpoints/experimental.rb
Instance Method Summary collapse
-
#experimental_ciscat_results(options = {}) ⇒ Object
Get CIS-CAT results Returns the agent’s ciscat results info.
-
#experimental_clear_syscheck_database ⇒ Object
Clear syscheck database Clears the syscheck database for all agents.
-
#experimental_hardware(options = {}) ⇒ Object
Get hardware info of all agents Returns the agent’s hardware info.
-
#experimental_netaddr(options = {}) ⇒ Object
Get network address info of all agents Returns the agent’s network address info.
-
#experimental_netiface(options = {}) ⇒ Object
Get network interface info of all agents Returns the agent’s network interface info.
-
#experimental_netproto(options = {}) ⇒ Object
Get network protocol info of all agents Returns the agent’s network protocol info.
-
#experimental_os(options = {}) ⇒ Object
Get os info of all agents Returns the agent’s os info.
-
#experimental_packages(options = {}) ⇒ Object
Get packages info of all agents Returns the agent’s packages info.
-
#experimental_ports(options = {}) ⇒ Object
Get ports info of all agents Returns the agent’s ports info.
-
#experimental_processes(options = {}) ⇒ Object
Get processes info of all agents Returns the agent’s processes info.
Instance Method Details
#experimental_ciscat_results(options = {}) ⇒ Object
Get CIS-CAT results Returns the agent’s ciscat results info.
303 304 305 |
# File 'lib/wazuh/api/endpoints/experimental.rb', line 303 def experimental_ciscat_results( = {}) offset_request('get', '/experimental/ciscat/results', ) end |
#experimental_clear_syscheck_database ⇒ Object
Clear syscheck database Clears the syscheck database for all agents.
12 13 14 |
# File 'lib/wazuh/api/endpoints/experimental.rb', line 12 def experimental_clear_syscheck_database delete '/experimental/syscheck' end |
#experimental_hardware(options = {}) ⇒ Object
Get hardware info of all agents Returns the agent’s hardware info.
44 45 46 |
# File 'lib/wazuh/api/endpoints/experimental.rb', line 44 def experimental_hardware( = {}) offset_request('get', '/experimental/syscollector/hardware', ) end |
#experimental_netaddr(options = {}) ⇒ Object
Get network address info of all agents Returns the agent’s network address info.
73 74 75 |
# File 'lib/wazuh/api/endpoints/experimental.rb', line 73 def experimental_netaddr( = {}) offset_request('get', '/experimental/syscollector/netaddr', ) end |
#experimental_netiface(options = {}) ⇒ Object
Get network interface info of all agents Returns the agent’s network interface info.
109 110 111 |
# File 'lib/wazuh/api/endpoints/experimental.rb', line 109 def experimental_netiface( = {}) offset_request('get', '/experimental/syscollector/netiface', ) end |
#experimental_netproto(options = {}) ⇒ Object
Get network protocol info of all agents Returns the agent’s network protocol info.
136 137 138 |
# File 'lib/wazuh/api/endpoints/experimental.rb', line 136 def experimental_netproto( = {}) offset_request('get', '/experimental/syscollector/netproto', ) end |
#experimental_os(options = {}) ⇒ Object
Get os info of all agents Returns the agent’s os info.
166 167 168 |
# File 'lib/wazuh/api/endpoints/experimental.rb', line 166 def experimental_os( = {}) offset_request('get', '/experimentalsyscollector/os', ) end |
#experimental_packages(options = {}) ⇒ Object
Get packages info of all agents Returns the agent’s packages info.
195 196 197 |
# File 'lib/wazuh/api/endpoints/experimental.rb', line 195 def experimental_packages( = {}) offset_request('get', '/experimental/syscollector/packages', ) end |
#experimental_ports(options = {}) ⇒ Object
Get ports info of all agents Returns the agent’s ports info.
228 229 230 |
# File 'lib/wazuh/api/endpoints/experimental.rb', line 228 def experimental_ports( = {}) offset_request('get', '/experimental/syscollector/ports', ) end |
#experimental_processes(options = {}) ⇒ Object
Get processes info of all agents Returns the agent’s processes info.
275 276 277 |
# File 'lib/wazuh/api/endpoints/experimental.rb', line 275 def experimental_processes( = {}) offset_request('get', '/experimental/syscollector/processes', ) end |