diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 224ca1b9..8134b400 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -36,11 +36,14 @@ jobs: - name: Check Wazuh indexer start run: | curl -XGET "https://0.0.0.0:9200/_cluster/health?wait_for_status=green&timeout=120s" -u admin:SecretPassword -k + + - name: Check Wazuh indexer nodes + run: | curl -XGET "https://0.0.0.0:9200/_cat/nodes?v" -u admin:SecretPassword -k | wc -l - name: Check Wazuh manager start run: | - curl -k -X GET "https://0.0.0.0:55000" -H "Authorization: Bearer ${{env.TOKEN}}" + curl -k -X GET "https://0.0.0.0:55000/cluster/status" -H "Authorization: Bearer ${{env.TOKEN}}" env: TOKEN: $(curl -u wazuh-wui:MyS3cr37P450r.*- -k -X GET "https://0.0.0.0:55000/security/user/authenticate?raw=true") @@ -59,6 +62,9 @@ jobs: - name: Check Wazuh indexer start run: | curl -XGET "https://0.0.0.0:9200/_cluster/health?wait_for_status=green&timeout=120s" -u admin:SecretPassword -k + + - name: Check Wazuh indexer nodes + run: | curl -XGET "https://0.0.0.0:9200/_cat/nodes?v" -u admin:SecretPassword -k | wc -l - name: Check Wazuh manager start