Skip to content

Commit b078250

Browse files
author
Manuel J. Bernal
authored
Merge pull request #218 from wazuh/issue-217
Adapt Kibana image to v7.2.0
2 parents 61b1f45 + 507d27a commit b078250

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

kibana/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ USER root
88

99
ADD https://packages.wazuh.com/wazuhapp/wazuhapp-${WAZUH_APP_VERSION}.zip /tmp
1010

11-
RUN /usr/share/kibana/bin/kibana-plugin install file:///tmp/wazuhapp-${WAZUH_APP_VERSION}.zip
11+
RUN /usr/share/kibana/bin/kibana-plugin install --allow-root file:///tmp/wazuhapp-${WAZUH_APP_VERSION}.zip
1212
RUN rm -rf /tmp/wazuhapp-${WAZUH_APP_VERSION}.zip
1313

1414
COPY config/entrypoint.sh ./entrypoint.sh

kibana/config/kibana_settings.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,6 @@ curl -POST "http://$kibana_ip:5601/api/kibana/settings" -H "Content-Type: applic
7474

7575
sleep 5
7676
# Do not ask user to help providing usage statistics to Elastic
77-
curl -POST "http://$kibana_ip:5601/api/telemetry/v1/optIn" -H "Content-Type: application/json" -H "kbn-xsrf: true" -d '{"enabled":false}'
77+
curl -POST "http://$kibana_ip:5601/api/telemetry/v2/optIn" -H "Content-Type: application/json" -H "kbn-xsrf: true" -d '{"enabled":false}'
7878

7979
echo "End settings"

0 commit comments

Comments
 (0)