diff --git a/wazuh/config/01-wazuh.sh b/wazuh/config/01-wazuh.sh index 2a4ac9ed..e0f005b0 100644 --- a/wazuh/config/01-wazuh.sh +++ b/wazuh/config/01-wazuh.sh @@ -259,6 +259,9 @@ main() { # When modifiying some files using the Wazuh API (i.e. /var/ossec/etc/ossec.conf), group rw permissions are needed for changes to take place. # https://github.com/wazuh/wazuh/issues/3647 chmod -R g+rw ${WAZUH_INSTALL_PATH} + + # Files inside /var/ossec/integrations should not have write permissions for group and other. + chmod -R 750 "/var/ossec/integrations/" } main