diff --git a/tools/audit_config_migrater.bat b/tools/audit_config_migrater.bat index bf0222b5f1..d33cd8c794 100644 --- a/tools/audit_config_migrater.bat +++ b/tools/audit_config_migrater.bat @@ -1,6 +1,11 @@ @echo off set SCRIPT_DIR=%~dp0 +echo "**************************************************************************" +echo "** This tool will be deprecated in the next major release of OpenSearch **" +echo "** https://github.com/opensearch-project/security/issues/1755 **" +echo "**************************************************************************" + rem comparing to empty string makes this equivalent to bash -v check on env var if not "%OPENSEARCH_JAVA_HOME%" == "" ( set BIN_PATH="%OPENSEARCH_JAVA_HOME%\bin\java.exe" diff --git a/tools/audit_config_migrater.sh b/tools/audit_config_migrater.sh index 01b77cf412..d2f7afa7fc 100755 --- a/tools/audit_config_migrater.sh +++ b/tools/audit_config_migrater.sh @@ -1,5 +1,10 @@ #!/bin/bash +echo "**************************************************************************" +echo "** This tool will be deprecated in the next major release of OpenSearch **" +echo "** https://github.com/opensearch-project/security/issues/1755 **" +echo "**************************************************************************" + SCRIPT_PATH="${BASH_SOURCE[0]}" if ! [ -x "$(command -v realpath)" ]; then if [ -L "$SCRIPT_PATH" ]; then diff --git a/tools/hash.bat b/tools/hash.bat index b34bcdd4c1..182596fa8d 100644 --- a/tools/hash.bat +++ b/tools/hash.bat @@ -1,6 +1,11 @@ @echo off set SCRIPT_DIR=%~dp0 +echo "**************************************************************************" +echo "** This tool will be deprecated in the next major release of OpenSearch **" +echo "** https://github.com/opensearch-project/security/issues/1755 **" +echo "**************************************************************************" + rem comparing to empty string makes this equivalent to bash -v check on env var if not "%OPENSEARCH_JAVA_HOME%" == "" ( set BIN_PATH="%OPENSEARCH_JAVA_HOME%\bin\java.exe" diff --git a/tools/hash.sh b/tools/hash.sh index c391232851..e4f92b4cdf 100755 --- a/tools/hash.sh +++ b/tools/hash.sh @@ -1,5 +1,10 @@ #!/bin/bash +echo "**************************************************************************" +echo "** This tool will be deprecated in the next major release of OpenSearch **" +echo "** https://github.com/opensearch-project/security/issues/1755 **" +echo "**************************************************************************" + SCRIPT_PATH="${BASH_SOURCE[0]}" if ! [ -x "$(command -v realpath)" ]; then if [ -L "$SCRIPT_PATH" ]; then diff --git a/tools/install_demo_configuration.sh b/tools/install_demo_configuration.sh index 88578537de..ebc909925a 100755 --- a/tools/install_demo_configuration.sh +++ b/tools/install_demo_configuration.sh @@ -1,6 +1,11 @@ #!/bin/bash #install_demo_configuration.sh [-y] +echo "**************************************************************************" +echo "** This tool will be deprecated in the next major release of OpenSearch **" +echo "** https://github.com/opensearch-project/security/issues/1755 **" +echo "**************************************************************************" + SCRIPT_PATH="${BASH_SOURCE[0]}" if ! [ -x "$(command -v realpath)" ]; then if [ -L "$SCRIPT_PATH" ]; then diff --git a/tools/securityadmin.bat b/tools/securityadmin.bat index ce6ae49a46..359727c20a 100644 --- a/tools/securityadmin.bat +++ b/tools/securityadmin.bat @@ -1,6 +1,11 @@ @echo off set SCRIPT_DIR=%~dp0 +echo "**************************************************************************" +echo "** This tool will be deprecated in the next major release of OpenSearch **" +echo "** https://github.com/opensearch-project/security/issues/1755 **" +echo "**************************************************************************" + rem comparing to empty string makes this equivalent to bash -v check on env var if not "%OPENSEARCH_JAVA_HOME%" == "" ( set BIN_PATH="%OPENSEARCH_JAVA_HOME%\bin\java.exe" diff --git a/tools/securityadmin.sh b/tools/securityadmin.sh index ff60cb4bbf..1b0b904619 100755 --- a/tools/securityadmin.sh +++ b/tools/securityadmin.sh @@ -1,4 +1,10 @@ #!/bin/bash + +echo "**************************************************************************" +echo "** This tool will be deprecated in the next major release of OpenSearch **" +echo "** https://github.com/opensearch-project/security/issues/1755 **" +echo "**************************************************************************" + SCRIPT_PATH="${BASH_SOURCE[0]}" if ! [ -x "$(command -v realpath)" ]; then if [ -L "$SCRIPT_PATH" ]; then