mirror of
https://github.com/wazuh/wazuh-docker.git
synced 2025-10-23 04:51:57 +00:00
test CI
This commit is contained in:
2
.github/workflows/push.yml
vendored
2
.github/workflows/push.yml
vendored
@@ -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}"
|
||||
|
Reference in New Issue
Block a user