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

class WazuhAgentLabelConfiguration(**kwargs)#

Bases: object

Object representation of an agent’s label in the labels configuration section.

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

hidden: bool#

Indicates whether the label is hidden or not.

key: str | None#

Key of the label.

value: str | None#

Value of the label.