Skip to content

Conversation

stevenc99
Copy link

ceph-csi for Kubernetes mounts CephFS filesystems under /var/lib/kubelet/plugins/kubernetes.io/csi/cephfs.csi.ceph.com/*/globalmount

Wazuh rootcheck scans include /var/lib by default
https://documentation.wazuh.com/current/user-manual/reference/ossec-conf/rootcheck.html?utm_source=chatgpt.com#readall

As a result, Wazuh on Kubernetes hosts will recurse into those network filesystems, which is typically not desired, as they may be mounted by multiple hosts at the same time, as well as potentially causing performance issues.

I suggest that skip_nfs include CephFS (but not necessarily Ceph RBD) in addition to CIFS and NFS.

Closes wazuh/wazuh#25587

@stevenc99 stevenc99 force-pushed the enhancement/25587-add-cephfs-type-to-skip_fs-flag branch from 7e95a73 to a5baa01 Compare September 9, 2025 14:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feature Request: Add CephFS type to skip_nfs flag
1 participant