This commit is contained in:
vcerenu
2022-05-26 13:03:41 -03:00
parent 3d3a3d1274
commit b10a00cade
+6 -1
View File
@@ -39,4 +39,9 @@ jobs:
time: '60s'
- name: Check Wazuh indexer start
run: curl -XGET https://0.0.0.0:9200/_cluster/health -u admin:SecretPassword -k
run: curl -XGET https://0.0.0.0:9200/_cluster/health -u admin:SecretPassword -k
- name: Check Wazuh indexer start
run: |
TOKEN=$(curl -u $API_USER:$API_PASSWORD -k -X GET "https://0.0.0.0:55000/security/user/authenticate?raw=true")
curl -k -X GET "https://0.0.0.0:55000/agents/outdated?pretty=true" -H "Authorization: Bearer $TOKEN"