From ec6bfa962da64cbdcf6163c0c54465ff9f6b5b90 Mon Sep 17 00:00:00 2001 From: vcerenu Date: Thu, 26 May 2022 14:27:59 -0300 Subject: [PATCH] test CI --- .github/workflows/push.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 6a9599eb..69801cd9 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -38,15 +38,15 @@ jobs: with: time: '60s' - - name: Check Wazuh manager start + - 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 curl -XGET https://0.0.0.0:9200/_cluster/nodes -u admin:SecretPassword -k - - name: Check Wazuh indexer start + - name: Check Wazuh manager start run: | TOKEN=$(curl -u wazuh-wui:MyS3cr37P450r.*- -k -X GET "https://0.0.0.0:55000/security/user/authenticate?raw=true") - curl -k -X GET "https://0.0.0.0:55000/agents/outdated?pretty=true" -H "Authorization: Bearer $TOKEN" + curl -k -X GET "https://0.0.0.0:55000" -H "Authorization: Bearer $TOKEN" - name: Stop single node stack run: docker-compose -f single-node/docker-compose.yml down @@ -70,4 +70,4 @@ jobs: - name: Check Wazuh manager start run: | TOKEN=$(curl -u wazuh-wui:MyS3cr37P450r.*- -k -X GET "https://0.0.0.0:55000/security/user/authenticate?raw=true") - curl -k -X GET "https://0.0.0.0:55000/agents/outdated?pretty=true" -H "Authorization: Bearer $TOKEN" \ No newline at end of file + curl -k -X GET "https://0.0.0.0:55000" -H "Authorization: Bearer $TOKEN" \ No newline at end of file