forked from wazuh/wazuh-docker
test CI
This commit is contained in:
@@ -39,4 +39,9 @@ jobs:
|
|||||||
time: '60s'
|
time: '60s'
|
||||||
|
|
||||||
- name: Check Wazuh indexer start
|
- 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"
|
||||||
Reference in New Issue
Block a user