This commit is contained in:
vcerenu
2022-05-27 11:33:26 -03:00
parent dfa11c08a4
commit 579fa10551

View File

@@ -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