Provides the WazuhWodleCommandConfiguration which allows to parse the
command section of the Wazuh local configuration (ossec.conf).
- class WazuhWodleCommandConfiguration(**kwargs)#
Bases:
objectObject representation of an agent’s command wodle configuration.
Wazuh reference: https://documentation.wazuh.com/current/user-manual/reference/ossec-conf/wodle-command.html
- command: str | None#
Path and arguments of the command that is being executed.
- day: int | None#
Day of the month the module will be triggered at.
- disabled: bool#
Indicates whether the module is disabled or not.
- ignore_output: bool#
Indicates whether the output of the command will be ignored or not.
- interval: int | None#
Frequency in seconds in which the module will be triggered.
- run_on_start: bool = True#
Indicates whether the module will be executed on agent start.
- skip_verification: bool#
Indicates whether the verification of the checksum will be skipped or not.
- tag: str | None#
Descriptive name of the command.
- time: str | None#
Time of the day (
hh:mm) the module will be triggered at.
- timeout: int | None#
Timeout in seconds which will abort the command execution. A value equal to 0 indicates that the command will run indefinitely.
- verify_md5: str | None#
MD5 checksum which is being compared to the binary.
- verify_sha1: str | None#
SHA1 checksum which is being compared to the binary.
- verify_sha256: str | None#
SHA256 checksum which is being compared to the binary.
- wday: str | None#
Day of the week the module will be triggered at.
WazuhWodleCommandConfiguration.commandWazuhWodleCommandConfiguration.dayWazuhWodleCommandConfiguration.disabledWazuhWodleCommandConfiguration.ignore_outputWazuhWodleCommandConfiguration.intervalWazuhWodleCommandConfiguration.run_on_startWazuhWodleCommandConfiguration.skip_verificationWazuhWodleCommandConfiguration.tagWazuhWodleCommandConfiguration.timeWazuhWodleCommandConfiguration.timeoutWazuhWodleCommandConfiguration.verify_md5WazuhWodleCommandConfiguration.verify_sha1WazuhWodleCommandConfiguration.verify_sha256WazuhWodleCommandConfiguration.wday