forked from wazuh/wazuh-docker
test CI
This commit is contained in:
@@ -83,7 +83,11 @@ jobs:
|
|||||||
|
|
||||||
- name: Check Wazuh manager start
|
- name: Check Wazuh manager start
|
||||||
run: |
|
run: |
|
||||||
curl -k -X GET "https://0.0.0.0:55000/cluster/nodes" -H "Authorization: Bearer ${{env.TOKEN}}"
|
wget https://packages-dev.wazuh.com/4.3/wazuh-certs-tool.sh -u wazuh-certs-tool.sh
|
||||||
|
source wazuh-certs-tool.sh >> /dev/null
|
||||||
|
nodes="`curl -k -X GET "https://0.0.0.0:55000/cluster/nodes" -H "Authorization: Bearer ${{env.TOKEN}}"`"
|
||||||
|
cert_parseYaml $nodes
|
||||||
|
|
||||||
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