mirror of
https://github.com/wazuh/wazuh-docker.git
synced 2025-11-05 14:35:24 +00:00
test CI
This commit is contained in:
4
.github/workflows/push.yml
vendored
4
.github/workflows/push.yml
vendored
@@ -44,7 +44,7 @@ jobs:
|
|||||||
curl -XGET "https://0.0.0.0:9200/_cat/nodes?v" -u admin:SecretPassword -k
|
curl -XGET "https://0.0.0.0:9200/_cat/nodes?v" -u admin:SecretPassword -k
|
||||||
|
|
||||||
- name: Check Wazuh manager start
|
- name: Check Wazuh manager start
|
||||||
run: curl -k -X GET "https://0.0.0.0:55000" -H "Authorization: Bearer $TOKEN"
|
run: curl -k -X GET "https://0.0.0.0:55000" -H "Authorization: Bearer ${{env.TOKEN}}"
|
||||||
env:
|
env:
|
||||||
TOKEN: $(curl -u wazuh-wui:MyS3cr37P450r.*- -k -X GET "https://0.0.0.0:55000/security/user/authenticate?raw=true")
|
TOKEN: $(curl -u wazuh-wui:MyS3cr37P450r.*- -k -X GET "https://0.0.0.0:55000/security/user/authenticate?raw=true")
|
||||||
|
|
||||||
@@ -77,7 +77,7 @@ jobs:
|
|||||||
curl -XGET "https://0.0.0.0:9200/_cat/nodes?v" -u admin:SecretPassword -k
|
curl -XGET "https://0.0.0.0:9200/_cat/nodes?v" -u admin:SecretPassword -k
|
||||||
|
|
||||||
- name: Check Wazuh manager start
|
- name: Check Wazuh manager start
|
||||||
run: curl -k -X GET "https://0.0.0.0:55000/cluster/status" -H "Authorization: Bearer $TOKEN"
|
run: curl -k -X GET "https://0.0.0.0:55000/cluster/status" -H "Authorization: Bearer ${{env.TOKEN}}"
|
||||||
env:
|
env:
|
||||||
TOKEN: $(curl -u wazuh-wui:MyS3cr37P450r.*- -k -X GET "https://0.0.0.0:55000/security/user/authenticate?raw=true")
|
TOKEN: $(curl -u wazuh-wui:MyS3cr37P450r.*- -k -X GET "https://0.0.0.0:55000/security/user/authenticate?raw=true")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user