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:
8
.github/workflows/push.yml
vendored
8
.github/workflows/push.yml
vendored
@@ -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
|
||||
|
Reference in New Issue
Block a user