Skip to content

Commit 8179341

Browse files
committed
Correct permissions on Wazuh alerts manifest
Wazuh instance wasnt creating wazuh-alerts-* indices and the "Check alerts index pattern" health-check fails. Error and solution from logs: ``` Error reading manifest file: config file ("/usr/share/filebeat/module/wazuh/alerts/manifest.yml") can only be writable by the owner but the permissions are "-rw-rw-rw-" to fix the permissions use: 'chmod go-w /usr/share/filebeat/module/wazuh/alerts/manifest.yml' ```
1 parent 4a55d94 commit 8179341

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

etc/kayobe/ansible/wazuh-manager.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,11 @@
130130
changed_when: false
131131
retries: 2
132132

133+
- name: Correct permissions on alerts manifest
134+
ansible.builtin.file:
135+
path: "/usr/share/filebeat/module/wazuh/alerts/manifest.yml"
136+
mode: "go-w"
137+
133138
handlers:
134139
- name: Restart wazuh
135140
ansible.builtin.service:

0 commit comments

Comments
 (0)