This commit is contained in:
vcerenu
2022-05-26 16:03:09 -03:00
parent 7e26034e22
commit ccc781023d

View File

@@ -44,7 +44,7 @@ jobs:
curl -XGET "https://0.0.0.0:9200/_cat/nodes?v" -u admin:SecretPassword -k
- 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:
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
- 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:
TOKEN: $(curl -u wazuh-wui:MyS3cr37P450r.*- -k -X GET "https://0.0.0.0:55000/security/user/authenticate?raw=true")