workaround for wazuh-api issue 440 and 443

Former-commit-id: d3cfd2234a
This commit is contained in:
AlfonsoRBJ
2019-09-03 16:21:16 +02:00
parent 9d71a6cbcc
commit abfe509753
2 changed files with 1265 additions and 0 deletions
+7
View File
@@ -94,5 +94,12 @@ COPY config/01-wazuh.sh /entrypoint-scripts/01-wazuh.sh
RUN chmod 755 /entrypoint.sh && \
chmod 755 /entrypoint-scripts/01-wazuh.sh
# Workaround.
# Issues:
# https://github.com/wazuh/wazuh-api/issues/440
# https://github.com/wazuh/wazuh-api/issues/443
COPY --chown=root:ossec config/agents.js /var/ossec/api/controllers/agents.js
RUN chmod 770 /var/ossec/api/controllers/agents.js
# Run all services
ENTRYPOINT ["/entrypoint.sh"]
File diff suppressed because it is too large Load Diff