forked from wazuh/wazuh-docker
Test CI
This commit is contained in:
@@ -107,13 +107,6 @@ jobs:
|
||||
run: |
|
||||
docker exec single-node_wazuh.manager_1 sh -c 'cat /var/ossec/logs/ossec.log'
|
||||
log=$(docker exec single-node_wazuh.manager_1 sh -c 'cat /var/ossec/logs/ossec.log | grep -E "ERR|WARN|CRIT"')
|
||||
if [[ -z "${log}" ]]; then
|
||||
echo "No errors in ossec.log"
|
||||
else
|
||||
echo "Errors in ossec.log:"
|
||||
echo "${log}"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
- name: Check filebeat output
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user