Merge branch '4.9.0' into merge-4.9.0-into-master

This commit is contained in:
David Correa Rodríguez
2024-07-18 14:48:50 +02:00
10 changed files with 79 additions and 271 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}"