Provides the WazuhAgentSyscheckDirectoryConfiguration which allows to parse the
directories subsection of the syscheck section of the Wazuh local configuration (ossec.conf).
- class WazuhAgentSyscheckDirectoryConfiguration(**kwargs)#
Bases:
objectObject representation of an agent’s syscheck.directories configuration section.
Wazuh reference: https://documentation.wazuh.com/current/user-manual/reference/ossec-conf/syscheck.html#directories
- check_all: bool#
Indicates whether all check will be performed or not.
- check_attrs: bool#
Indicates whether the attributes of files will be checked or not.
- check_group: bool#
Indicates whether the group ownership of files will be checked or not.
- check_inode: bool#
Indicates whether the inode of files will be checked or not.
- check_md5sum: bool#
Indicates whether the MD5 hash of files will be checked or not.
- check_mtime: bool#
Indicates whether the modification time of files will be checked.
- check_owner: bool#
Indicates whether the ownership of files will be checked or not.
- check_perm: bool#
Indicates whether the permissions of files will be checked or not.
- check_sha1sum: bool#
Indicates whether SHA-1 hash of files will be checked or not.
- check_sha256sum: bool#
Indicates whether the SHA-256 hash of files will be checked or not.
- check_size: bool#
Indicates whether the size of files will be checked or not.
- check_sum: bool#
Indicates whether MD5, SHA-1 and SHA-256 hashes will be checked or not.
- diff_size_limit: int | None#
File size cutoff in bytes on which diffs won’t be performed.
- follow_symbolic_link: bool = False#
Indicates wether symlinks will be followed or not.
- realtime: bool = False#
Indicates whether real-time/continuous monitoring is enabled or not.
- recursion_level: int | None#
The maximum level of recursion.
- report_changes: bool = False#
Indicates whether (text)file changes will be reported or not.
- restrict: str | None#
Regular expression which limits the checks to files that match.
- tags: list[str]#
List of tags that will added to alerts.
- whodata: bool = False#
Indicates whether the who-data monitoring is enabled or not.
WazuhAgentSyscheckDirectoryConfiguration.check_allWazuhAgentSyscheckDirectoryConfiguration.check_attrsWazuhAgentSyscheckDirectoryConfiguration.check_groupWazuhAgentSyscheckDirectoryConfiguration.check_inodeWazuhAgentSyscheckDirectoryConfiguration.check_md5sumWazuhAgentSyscheckDirectoryConfiguration.check_mtimeWazuhAgentSyscheckDirectoryConfiguration.check_ownerWazuhAgentSyscheckDirectoryConfiguration.check_permWazuhAgentSyscheckDirectoryConfiguration.check_sha1sumWazuhAgentSyscheckDirectoryConfiguration.check_sha256sumWazuhAgentSyscheckDirectoryConfiguration.check_sizeWazuhAgentSyscheckDirectoryConfiguration.check_sumWazuhAgentSyscheckDirectoryConfiguration.diff_size_limitWazuhAgentSyscheckDirectoryConfiguration.follow_symbolic_linkWazuhAgentSyscheckDirectoryConfiguration.realtimeWazuhAgentSyscheckDirectoryConfiguration.recursion_levelWazuhAgentSyscheckDirectoryConfiguration.report_changesWazuhAgentSyscheckDirectoryConfiguration.restrictWazuhAgentSyscheckDirectoryConfiguration.tagsWazuhAgentSyscheckDirectoryConfiguration.whodata