mirror of
https://github.com/wazuh/wazuh-docker.git
synced 2025-11-14 10:58:02 +00:00
Compare commits
5 Commits
v0.9.0-rc1
...
cloud-v0.2
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3f206679da | ||
|
|
2f0bb8e43c | ||
|
|
c91681853e | ||
|
|
936b47ae57 | ||
|
|
3431411eaf |
@@ -63,11 +63,13 @@ ARG XPACK_SIEM="false"
|
|||||||
ARG CHANGE_WELCOME="true"
|
ARG CHANGE_WELCOME="true"
|
||||||
|
|
||||||
COPY --chown=kibana:kibana ./config/10-wazuh_app_config.sh /entrypoint-scripts/10-wazuh_app_config.sh
|
COPY --chown=kibana:kibana ./config/10-wazuh_app_config.sh /entrypoint-scripts/10-wazuh_app_config.sh
|
||||||
|
COPY --chown=kibana:kibana ./config/12-custom_logos.sh /entrypoint-scripts/12-custom_logos.sh
|
||||||
COPY --chown=kibana:kibana ./config/15-decrypt_credentials.sh /entrypoint-scripts/15-decrypt_credentials.sh
|
COPY --chown=kibana:kibana ./config/15-decrypt_credentials.sh /entrypoint-scripts/15-decrypt_credentials.sh
|
||||||
COPY --chown=kibana:kibana ./config/20-entrypoint.sh /entrypoint-scripts/20-entrypoint.sh
|
COPY --chown=kibana:kibana ./config/20-entrypoint.sh /entrypoint-scripts/20-entrypoint.sh
|
||||||
COPY --chown=kibana:kibana ./config/20-entrypoint_kibana_settings.sh ./
|
COPY --chown=kibana:kibana ./config/20-entrypoint_kibana_settings.sh ./
|
||||||
COPY --chown=kibana:kibana ./config/20-entrypoint_certs_management.sh ./
|
COPY --chown=kibana:kibana ./config/20-entrypoint_certs_management.sh ./
|
||||||
RUN chmod +x /entrypoint-scripts/10-wazuh_app_config.sh && \
|
RUN chmod +x /entrypoint-scripts/10-wazuh_app_config.sh && \
|
||||||
|
chmod +x /entrypoint-scripts/12-custom_logos.sh && \
|
||||||
chmod +x /entrypoint-scripts/15-decrypt_credentials.sh && \
|
chmod +x /entrypoint-scripts/15-decrypt_credentials.sh && \
|
||||||
chmod +x /entrypoint-scripts/20-entrypoint.sh && \
|
chmod +x /entrypoint-scripts/20-entrypoint.sh && \
|
||||||
chmod +x ./20-entrypoint_kibana_settings.sh && \
|
chmod +x ./20-entrypoint_kibana_settings.sh && \
|
||||||
|
|||||||
14
kibana/config/12-custom_logos.sh
Normal file
14
kibana/config/12-custom_logos.sh
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
# Wazuh App Copyright (C) 2019 Wazuh Inc. (License GPLv2)
|
||||||
|
|
||||||
|
##############################################################################
|
||||||
|
# Kibana logos
|
||||||
|
##############################################################################
|
||||||
|
|
||||||
|
if [[ $CUSTOM_LOGO == "true" ]]; then
|
||||||
|
|
||||||
|
|
||||||
|
echo "CUSTOM LOGO - Change Kibana logos."
|
||||||
|
# TO DO
|
||||||
|
|
||||||
|
fi
|
||||||
@@ -1 +1 @@
|
|||||||
3cbdd26d9eeaff99f91312f703adccd828723b3c
|
1bda3f0db629fab2a64f859fe0769afc8a359fc7
|
||||||
@@ -25,5 +25,6 @@ then
|
|||||||
sed -i 's#visible: true#visible: false#g' $kibana_path/x-pack/legacy/plugins/upgrade_assistant/public/index.js
|
sed -i 's#visible: true#visible: false#g' $kibana_path/x-pack/legacy/plugins/upgrade_assistant/public/index.js
|
||||||
sed -i 's#visible: true#visible: false#g' $kibana_path/x-pack/legacy/plugins/snapshot_restore/public/plugin.js
|
sed -i 's#visible: true#visible: false#g' $kibana_path/x-pack/legacy/plugins/snapshot_restore/public/plugin.js
|
||||||
sed -i 's#visible: true#visible: false#g' $kibana_path/x-pack/legacy/plugins/remote_clusters/public/plugin.js
|
sed -i 's#visible: true#visible: false#g' $kibana_path/x-pack/legacy/plugins/remote_clusters/public/plugin.js
|
||||||
|
sed -i 's#visible: true#visible: false#g' $kibana_path/x-pack/legacy/plugins/index_management/public/register_management_section.js
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
@@ -40,6 +40,22 @@ filter {
|
|||||||
remove_field => [ "beat", "input_type", "tags", "count", "@version", "log", "offset", "type", "@src_ip", "host"]
|
remove_field => [ "beat", "input_type", "tags", "count", "@version", "log", "offset", "type", "@src_ip", "host"]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
filter {
|
||||||
|
# Workarounds for vulnerability-detector
|
||||||
|
if "vulnerability-detector" in [rule][groups] {
|
||||||
|
# Drop vulnerability-detector events from Manager
|
||||||
|
if [agent][id] == "000"{
|
||||||
|
drop { }
|
||||||
|
}
|
||||||
|
|
||||||
|
# if exists, remove data.vulnerability.published field due to conflicts
|
||||||
|
if [data][vulnerability][published] {
|
||||||
|
mutate {
|
||||||
|
remove_field => [ "[data][vulnerability][published]" ]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
output {
|
output {
|
||||||
elasticsearch {
|
elasticsearch {
|
||||||
hosts => ["elasticsearch:9200"]
|
hosts => ["elasticsearch:9200"]
|
||||||
|
|||||||
@@ -1,6 +1,8 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# Wazuh Docker Copyright (C) 2019 Wazuh Inc. (License GPLv2)
|
# Wazuh Docker Copyright (C) 2019 Wazuh Inc. (License GPLv2)
|
||||||
|
|
||||||
|
# Trap to kill container if it is necessary.
|
||||||
|
trap "exit" SIGINT SIGTERM
|
||||||
# It will run every .sh script located in entrypoint-scripts folder in lexicographical order
|
# It will run every .sh script located in entrypoint-scripts folder in lexicographical order
|
||||||
for script in `ls /entrypoint-scripts/*.sh | sort -n`; do
|
for script in `ls /entrypoint-scripts/*.sh | sort -n`; do
|
||||||
bash "$script"
|
bash "$script"
|
||||||
|
|||||||
Reference in New Issue
Block a user