Module: Wazuh

Defined in:
lib/wazuh/client.rb,
lib/wazuh/config.rb,
lib/wazuh/logger.rb,
lib/wazuh/version.rb,
lib/wazuh/api/error.rb,
lib/wazuh/sawyer/token.rb,
lib/wazuh/api/endpoints.rb,
lib/wazuh/sawyer/request.rb,
lib/wazuh/api/endpoints/v4.rb,
lib/wazuh/sawyer/connection.rb,
lib/wazuh/api/endpoints/cache.rb,
lib/wazuh/api/endpoints/lists.rb,
lib/wazuh/api/endpoints/rules.rb,
lib/wazuh/api/endpoints/agents.rb,
lib/wazuh/api/endpoints/ciscat.rb,
lib/wazuh/api/endpoints/cluster.rb,
lib/wazuh/api/endpoints/manager.rb,
lib/wazuh/api/endpoints/summary.rb,
lib/wazuh/api/endpoints/decoders.rb,
lib/wazuh/api/endpoints/syscheck.rb,
lib/wazuh/api/endpoints/v4/cache.rb,
lib/wazuh/api/endpoints/v4/lists.rb,
lib/wazuh/api/endpoints/v4/rules.rb,
lib/wazuh/api/errors/wazuh_error.rb,
lib/wazuh/api/endpoints/rootcheck.rb,
lib/wazuh/api/endpoints/v4/agents.rb,
lib/wazuh/api/endpoints/v4/ciscat.rb,
lib/wazuh/api/endpoints/v4/cluster.rb,
lib/wazuh/api/endpoints/v4/manager.rb,
lib/wazuh/api/endpoints/v4/summary.rb,
lib/wazuh/api/endpoints/v4/decoders.rb,
lib/wazuh/api/endpoints/v4/syscheck.rb,
lib/wazuh/api/endpoints/experimental.rb,
lib/wazuh/api/endpoints/syscollector.rb,
lib/wazuh/api/endpoints/v4/rootcheck.rb,
lib/wazuh/api/endpoints/active_response.rb,
lib/wazuh/api/endpoints/v4/experimental.rb,
lib/wazuh/api/endpoints/v4/syscollector.rb,
lib/wazuh/api/endpoints/v4/active_response.rb,
lib/wazuh/api/endpoints/v4/vulnerabilities.rb,
lib/wazuh/api/endpoints/security_configuration_assessment.rb,
lib/wazuh/api/endpoints/v4/security_configuration_assessment.rb

Defined Under Namespace

Modules: Api, Config, Sawyer Classes: Client, Logger

Constant Summary collapse

VERSION =
'0.3.7'

Class Method Summary collapse

Class Method Details

.configObject



42
43
44
# File 'lib/wazuh/config.rb', line 42

def config
  Config
end

.configureObject



38
39
40
# File 'lib/wazuh/config.rb', line 38

def configure
  block_given? ? yield(Config) : Config
end