forked from wazuh/wazuh-docker
Add Wazuh agent into PR test workflow
This commit is contained in:
@@ -208,6 +208,8 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
sleep 20
|
sleep 20
|
||||||
curl -k -s -X GET "https://localhost:55000/agents?pretty=true" -H "Authorization: Bearer ${{env.TOKEN}}"
|
curl -k -s -X GET "https://localhost:55000/agents?pretty=true" -H "Authorization: Bearer ${{env.TOKEN}}"
|
||||||
|
env:
|
||||||
|
TOKEN: $(curl -s -u wazuh-wui:MyS3cr37P450r.*- -k -X GET "https://0.0.0.0:55000/security/user/authenticate?raw=true")
|
||||||
|
|
||||||
- name: Check errors in ossec.log for Wazuh manager
|
- name: Check errors in ossec.log for Wazuh manager
|
||||||
run: ./.github/single-node-log-check.sh
|
run: ./.github/single-node-log-check.sh
|
||||||
|
|||||||
Reference in New Issue
Block a user