Skip to content

Commit eec0a83

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 eec0a83

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
@@ -129,6 +129,11 @@
129129
ansible.builtin.command: filebeat test output
130130
changed_when: false
131131
retries: 2
132+
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"
132137

133138
handlers:
134139
- name: Restart wazuh

0 commit comments

Comments
 (0)