Module: Wazuh::Api::Endpoints::Decoders
- Included in:
- Wazuh::Api::Endpoints, V4::Decoders
- Defined in:
- lib/wazuh/api/endpoints/decoders.rb
Instance Method Summary collapse
-
#all_decoders(options = {}) ⇒ Object
Get all decoders Returns all decoders included in ossec.conf.
-
#all_decoders_files(options = {}) ⇒ Object
Get all decoders files Returns all decoders files included in ossec.conf.
-
#all_parent_decoders(options = {}) ⇒ Object
Get all parent decoders Returns all parent decoders included in ossec.conf.
-
#decoders_by_name(decoder_name, options = {}) ⇒ Object
Get decoders by name Returns the decoders with the specified name.
Instance Method Details
#all_decoders(options = {}) ⇒ Object
Get all decoders Returns all decoders included in ossec.conf.
25 26 27 |
# File 'lib/wazuh/api/endpoints/decoders.rb', line 25 def all_decoders( = {}) offset_request("get", "/decoders", ) end |
#all_decoders_files(options = {}) ⇒ Object
Get all decoders files Returns all decoders files included in ossec.conf.
51 52 53 |
# File 'lib/wazuh/api/endpoints/decoders.rb', line 51 def all_decoders_files( = {}) offset_request('get', '/decoders/files', ) end |
#all_parent_decoders(options = {}) ⇒ Object
Get all parent decoders Returns all parent decoders included in ossec.conf.
67 68 69 |
# File 'lib/wazuh/api/endpoints/decoders.rb', line 67 def all_parent_decoders( = {}) offset_request('get', '/decoders/parents', ) end |
#decoders_by_name(decoder_name, options = {}) ⇒ Object
Get decoders by name Returns the decoders with the specified name.
85 86 87 |
# File 'lib/wazuh/api/endpoints/decoders.rb', line 85 def decoders_by_name(decoder_name, = {}) offset_request("get", "/decoders/#{decoder_name}", ) end |