This commit is contained in:
vcerenu
2022-05-26 15:41:25 -03:00
parent 7e8055f128
commit 872c121ba9

View File

@@ -41,7 +41,7 @@ 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
curl -XGET "https://0.0.0.0:9200/_cluster/nodes" -u admin:SecretPassword -k
curl -XGET "https://0.0.0.0:9200/_cat/nodes?v" -u admin:SecretPassword -k
- name: Check Wazuh manager start
run: |
@@ -51,6 +51,15 @@ jobs:
- name: Stop single node stack
run: docker-compose -f single-node/docker-compose.yml down
- name: Check Wazuh dashboard service URL
uses: jtalk/url-health-check-action@v2
with:
url: https://0.0.0.0:443
follow-redirect: true
max-attempts: 3
retry-delay: 10s
retry-all: false
- name: Create multi node certficates
run: docker-compose -f multi-node/generate-indexer-certs.yml run --rm generator
@@ -65,9 +74,18 @@ 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
curl -XGET "https://0.0.0.0:9200/_cluster/nodes" -u admin:SecretPassword -k
curl -XGET "https://0.0.0.0:9200/_cat/nodes?v" -u admin:SecretPassword -k
- 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" -H "Authorization: Bearer $TOKEN"
- name: Check Wazuh dashboard service URL
uses: jtalk/url-health-check-action@v2
with:
url: https://0.0.0.0:443
follow-redirect: true
max-attempts: 3
retry-delay: 10s
retry-all: false