Add Wazuh agent into PR test workflow

This commit is contained in:
vcerenu
2025-05-09 11:56:16 -03:00
parent 680b0ac725
commit 5803392993

View File

@@ -208,6 +208,8 @@ jobs:
run: |
sleep 20
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
run: ./.github/single-node-log-check.sh