Elastic 7-x Docker refactor (#257)

Former-commit-id: d3220826fc
This commit is contained in:
AlfonsoRBJ
2019-10-01 13:10:01 +02:00
committed by Jesús Linares
parent 086ba71c69
commit fdb55e8ce1
32 changed files with 793 additions and 501 deletions
@@ -0,0 +1,14 @@
#!/bin/bash
# Wazuh Docker Copyright (C) 2019 Wazuh Inc. (License GPLv2)
##############################################################################
# Decrypt credentials.
# Remove the credentials file for security reasons.
##############################################################################
if [[ "x${SECURITY_CREDENTIALS_FILE}" == "x" ]]; then
echo "CREDENTIALS - Security credentials file not used. Nothing to do."
else
echo "CREDENTIALS - Remove credentiasl file."
shred -zvu ${SECURITY_CREDENTIALS_FILE}
fi