Revert "Revert merges of 4.9.0 branch into master branch"

This commit is contained in:
Carlos Bordon
2024-07-19 10:34:13 -03:00
committed by GitHub
parent 8a1e5043c6
commit 54b2d4ce33
11 changed files with 104 additions and 300 deletions
+1 -1
View File
@@ -291,7 +291,7 @@ jobs:
sleep 10
done
docs="`curl -XGET "https://0.0.0.0:9200/wazuh-alerts*/_count" -u admin:SecretPassword -k -s | jq -r ".count"`"
if [[ $docs -gt 1 ]]; then
if [[ $docs -gt 0 ]]; then
echo "wazuh-alerts index documents: ${docs}"
else
echo "wazuh-alerts index documents: ${docs}"