Merge branch '4.9.0' into merge-4.9.0-into-4.10.0

This commit is contained in:
David Correa Rodríguez
2024-07-19 11:32:51 +02:00
12 changed files with 101 additions and 296 deletions
+1 -1
View File
@@ -270,7 +270,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}"