Provides the WazuhAgentSocketConfiguration which allows to parse the socket section of the Wazuh local configuration (ossec.conf).

class WazuhAgentSocketConfiguration(**kwargs)#

Bases: object

Object representation of an agent’s socket configuration section.

Wazuh reference: https://documentation.wazuh.com/current/user-manual/reference/ossec-conf/socket.html

location: str#

Path of the socket.

mode: str#

UNIX socket communication protocol (tcp or udp).

name: str#

Name of the socket.

prefix: str | None#

Prefix which is being applied to messages.