Hi Ahmed, Thanks for using Wazuh!
We recently published a new blog of this topic! Please check this
Auditing Kubernetes with Wazuh
But in summary you need to follow this steps
- Create a webhook listener on the Wazuh server to receive logs from the Kubernetes cluster.
- Enable auditing on the Kubernetes cluster and configure it to forward audit logs to the Wazuh webhook listener.
- Create rules on the Wazuh server to alert about audit events received from Kubernetes.
I hope I have helped you, and do not hesitate to ask if you have questions.