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

class WazuhAgentScaConfiguration(**kwargs)#

Bases: object

Object representation of an agent’s sca configuration section.

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

day: int | None#

Day of the month the module will be triggered at.

enabled: bool = True#

Indicates whether the module is enabled or not.

interval: int | None#

Frequency in seconds in which the module will be triggered.

policies: list[str]#

List of paths to policy files.

scan_on_start: bool = True#

Indicates whether the module will be executed on agent start.

skip_nfs: bool = True#

Indicates whether network mounted files will be scanned or not.

time: str | None#

Time of the day (hh:mm) the module will be triggered at.

wday: str | None#

Day of the week the module will be triggered at.