Merge pull request #1202 from wazuh/merge-4.8.0-into-4.8.1

Merge `4.8.0` into `4.8.1`
This commit is contained in:
Gonzalo Acuña
2024-02-07 13:42:45 -03:00
committed by GitHub
5 changed files with 3 additions and 8 deletions

View File

@@ -10,7 +10,7 @@ ARG FILEBEAT_CHANNEL=filebeat-oss
ARG FILEBEAT_VERSION=7.10.2
ARG WAZUH_FILEBEAT_MODULE
RUN apt-get update && apt install curl apt-transport-https lsb-release gnupg -y
RUN apt-get update && apt install curl apt-transport-https lsb-release xz-utils gnupg -y
COPY config/check_repository.sh /
RUN chmod 775 /check_repository.sh

View File

@@ -115,7 +115,8 @@ function_entrypoint_scripts() {
function_configure_vulnerability_detection() {
if [ "$INDEXER_PASSWORD" != "" ]; then
>&2 echo "Configuring password."
sed -i "s|<password>VDPass</password>|<password>$INDEXER_PASSWORD</password>|g" /var/ossec/etc/ossec.conf
/var/ossec/bin/wazuh-keystore -f indexer -k username -v $INDEXER_USERNAME
/var/ossec/bin/wazuh-keystore -f indexer -k password -v $INDEXER_PASSWORD
fi
}

View File

@@ -108,8 +108,6 @@
<host>https://wazuh2.indexer:9200</host>
<host>https://wazuh3.indexer:9200</host>
</hosts>
<username>admin</username>
<password>VDPass</password>
<ssl>
<certificate_authorities>
<ca>/etc/ssl/root-ca.pem</ca>

View File

@@ -108,8 +108,6 @@
<host>https://wazuh2.indexer:9200</host>
<host>https://wazuh3.indexer:9200</host>
</hosts>
<username>admin</username>
<password>VDPass</password>
<ssl>
<certificate_authorities>
<ca>/etc/ssl/root-ca.pem</ca>

View File

@@ -106,8 +106,6 @@
<hosts>
<host>https://wazuh.indexer:9200</host>
</hosts>
<username>admin</username>
<password>VDPass</password>
<ssl>
<certificate_authorities>
<ca>/etc/ssl/root-ca.pem</ca>