Provides the WazuhAgentClientConfiguration which allows to parse the
client section of the Wazuh local configuration (ossec.conf).
- class WazuhAgentClientConfiguration(**kwargs)#
Bases:
objectObject representation of an agent’s client configuration section.
Wazuh reference: https://documentation.wazuh.com/current/user-manual/reference/ossec-conf/client.html
- auto_restart_enabled: bool#
Indicates whether the agent will restart automatically after receiving a new and valid configuration from the manager.
- config_profiles: list[str]#
List of profiles the agent is assigned to.
- crypto_method: str#
The algorithm that is being utilized to encrypt the messages the agent sends to the manager.
- enrollment: WazuhAgentClientEnrollmentConfiguration#
The agent’s enrollment configuration.
- force_reconnect_interval: int#
Interval in which the agent will be forced to reconnect to the manager. A value of 0 indicates that no forced reconnection will be performed.
- ip_update_interval: int#
Specifies the interval in seconds an agent will query the control module for its main IP address.
- notify_time: int#
The frequency in seconds in which the agent contacts the manager to check for potential configuration updates.
- reconnect_delay: int#
The time in seconds the agent will wait before attempting a reconnection.
- remote_conf_enabled: bool#
Indicates whether the shared configuration will be applied to the agent.
- server: list[WazuhAgentClientServerConfiguration]#
List of connection parameters the agent uses to contact the manager.
WazuhAgentClientConfiguration.auto_restart_enabledWazuhAgentClientConfiguration.config_profilesWazuhAgentClientConfiguration.crypto_methodWazuhAgentClientConfiguration.enrollmentWazuhAgentClientConfiguration.force_reconnect_intervalWazuhAgentClientConfiguration.ip_update_intervalWazuhAgentClientConfiguration.notify_timeWazuhAgentClientConfiguration.reconnect_delayWazuhAgentClientConfiguration.remote_conf_enabledWazuhAgentClientConfiguration.server