This commit is contained in:
vcerenu
2022-05-27 17:30:28 -03:00
parent 30ed0e6bb4
commit 111f04fb0b

View File

@@ -83,7 +83,7 @@ jobs:
- name: Check Wazuh manager start
run: |
apt install jq -y
sudo apt install jq -y
nodes=curl -k -X GET "https://0.0.0.0:55000/cluster/nodes" -H "Authorization: Bearer $TOKEN" | jq -r ".data.affected_items[].name" | wc -l
if [[ $nodes -eq 2 ]]; then
echo "Wazuh indexer nodes: ${nodes}"