Changed user for username in the wazuh-keystore command

This commit is contained in:
Gonzalo Acuña
2024-01-31 09:23:50 -03:00
parent 114d6edff2
commit ec63264545

View File

@@ -115,7 +115,7 @@ function_entrypoint_scripts() {
function_configure_vulnerability_detection() {
if [ "$INDEXER_PASSWORD" != "" ]; then
>&2 echo "Configuring password."
/var/ossec/bin/wazuh-keystore -f indexer -k user -v $INDEXER_USERNAME
/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
}