mirror of
https://github.com/wazuh/wazuh-docker.git
synced 2025-11-16 03:41:39 +00:00
Fixed wazuh-certs-tool.sh and wazuh-passwords-tool.sh URLs
This commit is contained in:
@@ -8,8 +8,8 @@
|
|||||||
## Variables
|
## Variables
|
||||||
CERT_TOOL=wazuh-certs-tool.sh
|
CERT_TOOL=wazuh-certs-tool.sh
|
||||||
PASSWORD_TOOL=wazuh-passwords-tool.sh
|
PASSWORD_TOOL=wazuh-passwords-tool.sh
|
||||||
PACKAGES_URL=https://packages.wazuh.com/resources/4.3/
|
PACKAGES_URL=https://packages.wazuh.com/4.3/
|
||||||
PACKAGES_DEV_URL=https://packages-dev.wazuh.com/resources/4.3/
|
PACKAGES_DEV_URL=https://packages-dev.wazuh.com/4.3/
|
||||||
|
|
||||||
## Check if the cert tool exists in S3 buckets
|
## Check if the cert tool exists in S3 buckets
|
||||||
CERT_TOOL_PACKAGES=$(curl --silent -I $PACKAGES_URL$CERT_TOOL | grep -E "^HTTP" | awk '{print $2}')
|
CERT_TOOL_PACKAGES=$(curl --silent -I $PACKAGES_URL$CERT_TOOL | grep -E "^HTTP" | awk '{print $2}')
|
||||||
|
|||||||
@@ -30,8 +30,8 @@ tar -xf ${INDEXER_FILE}
|
|||||||
## Variables
|
## Variables
|
||||||
CERT_TOOL=wazuh-certs-tool.sh
|
CERT_TOOL=wazuh-certs-tool.sh
|
||||||
PASSWORD_TOOL=wazuh-passwords-tool.sh
|
PASSWORD_TOOL=wazuh-passwords-tool.sh
|
||||||
PACKAGES_URL=https://packages.wazuh.com/resources/4.3/
|
PACKAGES_URL=https://packages.wazuh.com/4.3/
|
||||||
PACKAGES_DEV_URL=https://packages-dev.wazuh.com/resources/4.3/
|
PACKAGES_DEV_URL=https://packages-dev.wazuh.com/4.3/
|
||||||
|
|
||||||
## Check if the cert tool exists in S3 buckets
|
## Check if the cert tool exists in S3 buckets
|
||||||
CERT_TOOL_PACKAGES=$(curl --silent -I $PACKAGES_URL$CERT_TOOL | grep -E "^HTTP" | awk '{print $2}')
|
CERT_TOOL_PACKAGES=$(curl --silent -I $PACKAGES_URL$CERT_TOOL | grep -E "^HTTP" | awk '{print $2}')
|
||||||
|
|||||||
Reference in New Issue
Block a user