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

class WazuhAgentLabelsConfiguration(**kwargs)#

Bases: object

Object representation of an agent’s labels configuration section.

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

labels: list[WazuhAgentLabelConfiguration]#

List of the user-defined labels that are assigned to the agent.