mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-07-02 04:52:11 +00:00
prep elk stack for 7.9.0
This commit is contained in:
parent
743616fa09
commit
c1f7146800
3 changed files with 10 additions and 6 deletions
|
@ -1,7 +1,7 @@
|
|||
FROM alpine:3.12
|
||||
#
|
||||
# VARS
|
||||
ENV ES_VER=7.8.1 \
|
||||
ENV ES_VER=7.9.0 \
|
||||
JAVA_HOME=/usr/lib/jvm/java-11-openjdk
|
||||
# Include dist
|
||||
ADD dist/ /root/dist/
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
FROM node:10.21.0-alpine
|
||||
#
|
||||
# VARS
|
||||
ENV KB_VER=7.8.1
|
||||
ENV KB_VER=7.9.0
|
||||
#
|
||||
# Include dist
|
||||
ADD dist/ /root/dist/
|
||||
|
@ -46,10 +46,14 @@ RUN sed -i 's/dl-cdn/dl-2/g' /etc/apk/repositories && \
|
|||
echo "xpack.apm.enabled: false" >> /usr/share/kibana/config/kibana.yml && \
|
||||
echo "xpack.security.enabled: false" >> /usr/share/kibana/config/kibana.yml && \
|
||||
echo "xpack.uptime.enabled: false" >> /usr/share/kibana/config/kibana.yml && \
|
||||
echo "xpack.siem.enabled: false" >> /usr/share/kibana/config/kibana.yml && \
|
||||
echo "xpack.securitySolution.enabled: false" >> /usr/share/kibana/config/kibana.yml && \
|
||||
echo "xpack.ml.enabled: false" >> /usr/share/kibana/config/kibana.yml && \
|
||||
echo "elasticsearch.requestTimeout: 60000" >> /usr/share/kibana/config/kibana.yml && \
|
||||
echo "elasticsearch.shardTimeout: 60000" >> /usr/share/kibana/config/kibana.yml && \
|
||||
# There is no switch to disable Enterprise Search, so we need to remove it
|
||||
# In order to remove all X-Pack features we need to use OSS versions
|
||||
# /usr/share/kibana/bin/kibana-plugin remove x-pack --allow-root && \
|
||||
rm -rf /usr/share/kibana/x-pack/plugins/enterprise_search && \
|
||||
rm -rf /usr/share/kibana/optimize/bundles/* && \
|
||||
/usr/share/kibana/bin/kibana --optimize --allow-root && \
|
||||
addgroup -g 2000 kibana && \
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
FROM alpine:3.12
|
||||
#
|
||||
# VARS
|
||||
ENV LS_VER=7.8.1
|
||||
ENV LS_VER=7.9.0
|
||||
# Include dist
|
||||
ADD dist/ /root/dist/
|
||||
#
|
||||
|
@ -36,8 +36,8 @@ RUN sed -i 's/dl-cdn/dl-2/g' /etc/apk/repositories && \
|
|||
chmod u+x /usr/bin/update.sh && \
|
||||
mkdir -p /etc/logstash/conf.d && \
|
||||
cp logstash.conf /etc/logstash/conf.d/ && \
|
||||
cp elasticsearch-template-es7x.json /usr/share/logstash/vendor/bundle/jruby/2.5.0/gems/logstash-output-elasticsearch-10.5.1-java/lib/logstash/outputs/elasticsearch/ && \
|
||||
cp common_configs.rb /usr/share/logstash/vendor/bundle/jruby/2.5.0/gems/logstash-output-elasticsearch-10.5.1-java/lib/logstash/outputs/elasticsearch/ && \
|
||||
cp elasticsearch-template-es7x.json /usr/share/logstash/vendor/bundle/jruby/2.5.0/gems/logstash-output-elasticsearch-10.6.1-java/lib/logstash/outputs/elasticsearch/ && \
|
||||
cp common_configs.rb /usr/share/logstash/vendor/bundle/jruby/2.5.0/gems/logstash-output-elasticsearch-10.6.1-java/lib/logstash/outputs/elasticsearch/ && \
|
||||
#
|
||||
# Setup user, groups and configs
|
||||
addgroup -g 2000 logstash && \
|
||||
|
|
Loading…
Reference in a new issue