mirror of
https://github.com/wazuh/wazuh-docker.git
synced 2025-10-23 04:51:57 +00:00
27 lines
845 B
Bash
27 lines
845 B
Bash
#!/bin/bash
|
|
# Wazuh App Copyright (C) 2019 Wazuh Inc. (License GPLv2)
|
|
#
|
|
# OSSEC container bootstrap. See the README for information of the environment
|
|
# variables expected by this script.
|
|
#
|
|
|
|
set -e
|
|
|
|
##############################################################################
|
|
# Adapt logstash.yml configuration.
|
|
##############################################################################
|
|
|
|
if [[ $SECURITY_ENABLED == "yes" ]]; then
|
|
|
|
echo "CONFIGURATION - TO DO"
|
|
|
|
# Settings for logstash.yml
|
|
# Example:
|
|
# echo "
|
|
# xpack.monitoring.enabled: true
|
|
# xpack.monitoring.elasticsearch.username: LOGSTASH_USER
|
|
# xpack.monitoring.elasticsearch.password: LOGSTASH_PASS
|
|
# xpack.monitoring.elasticsearch.ssl.certificate_authority: /usr/share/logstash/config/CA.pem
|
|
# " >> /usr/share/logstash/config/logstash.yml
|
|
|
|
fi |