forked from wazuh/wazuh-docker
test CI
This commit is contained in:
@@ -83,7 +83,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Check Wazuh manager start
|
- name: Check Wazuh manager start
|
||||||
run: |
|
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
|
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
|
if [[ $nodes -eq 2 ]]; then
|
||||||
echo "Wazuh indexer nodes: ${nodes}"
|
echo "Wazuh indexer nodes: ${nodes}"
|
||||||
|
|||||||
Reference in New Issue
Block a user