Provides the WazuhAgentLocalfileRegexConfiguration which allows to parse regular expression configuration objects of an agent’s local configuration localfile section.

class WazuhAgentLocalfileRegexConfiguration(**kwargs)#

Bases: object

Object representation of a localfile configuration’s regular expression configuration.

Wazuh references: https://documentation.wazuh.com/current/user-manual/reference/ossec-conf/localfile.html#ignore https://documentation.wazuh.com/current/user-manual/reference/ossec-conf/localfile.html#restrict

type: str#

The type of the regular expression.

Possible values: [“osregex”, “osmatch”, “pcre2”]

value: str | None#

The regular expression.