I realize I should have put more details,
I created a file, and technically this should have been picked up by wazuh it shows up in /var/log/audit/audit.log, but never shows up in alerts.log, I do have this in ossec.conf
<localfile>
<log_format>audit</log_format>
<location>/var/log/audit/audit.log</location>
</localfile>
here are my rules :
auditctl -l
-w /home -p w -k audit-wazuh-w
-w /home -p a -k audit-wazuh-a
-w /home -p r -k audit-wazuh-r
-w /home -p x -k audit-wazuh-x
and you can see audit log picks it up below
type=PATH msg=audit(1504028215.289:629953): item=0 name="/home" inode=24577 dev=ca:01 mode=040755 ouid=0 ogid=0 rdev=00:00 nametype=PARENT
type=PATH msg=audit(1504028215.289:629953): item=1 name="malware2.py" inode=8663 dev=ca:01 mode=0100644 ouid=0 ogid=0 rdev=00:00 nametype=CREATE
but i never see it get sent to wazuh alerts.log
I am not sure what I am missing?
Thanks