report-1.html

Report generated on 02-Aug-2023 at 13:21:13 by pytest-html v3.1.1

Summary

4 tests ran in 81.47 seconds.

4 passed, 0 skipped, 0 failed, 0 errors, 0 expected failures, 0 unexpected passes
Tests Failed Success XFail Error
test_active_response/test_execd/test_execd_firewall_drop.py 0 2 0 0
test_active_response/test_execd/test_execd_restart.py 0 2 0 0

Results

Result Time Test Description Duration Markers Links Tier
Passed 2023-08-02 13:21:13.511840 test_active_response/test_execd/test_execd_firewall_drop.py::test_execd_firewall_drop[get_configuration0] description: Check if 'firewall-drop' command of 'active response' is executed correctly.. For this purpose, a simulated agent is used and the 'active response'. is sent to it. This response includes an IP address that must be added. and removed from 'iptables', the Linux firewall. 26.54 linux, agent 0
-----------------------------Captured stderr setup------------------------------
Redirecting to /bin/systemctl stop wazuh-agent.service 2023/08/02 13:19:57 agent-auth: INFO: Started (pid: 15485). 2023/08/02 13:19:57 agent-auth: INFO: Requesting a key from server: 127.0.0.1 2023/08/02 13:19:57 agent-auth: INFO: No authentication password provided 2023/08/02 13:19:57 agent-auth: INFO: Using agent name as: ip-172-31-7-128.ec2.internal 2023/08/02 13:19:57 agent-auth: INFO: Waiting for server reply 2023/08/02 13:19:57 agent-auth: INFO: Valid key received Redirecting to /bin/systemctl start wazuh-agent.service
Passed 2023-08-02 13:21:13.512272 test_active_response/test_execd/test_execd_firewall_drop.py::test_execd_firewall_drop[get_configuration1] description: Check if 'firewall-drop' command of 'active response' is executed correctly.. For this purpose, a simulated agent is used and the 'active response'. is sent to it. This response includes an IP address that must be added. and removed from 'iptables', the Linux firewall. 16.72 linux, agent 0
-----------------------------Captured stdout setup------------------------------
2023-08-02T13:20:18.1690982418
-----------------------------Captured stderr setup------------------------------
2023-08-02 13:20:21,927 - wazuh_testing - ERROR - Not valid keys used. Redirecting to /bin/systemctl stop wazuh-agent.service 2023/08/02 13:20:23 agent-auth: INFO: Started (pid: 16508). 2023/08/02 13:20:23 agent-auth: INFO: Requesting a key from server: 127.0.0.1 2023/08/02 13:20:23 agent-auth: INFO: No authentication password provided 2023/08/02 13:20:23 agent-auth: INFO: Using agent name as: ip-172-31-7-128.ec2.internal 2023/08/02 13:20:23 agent-auth: INFO: Waiting for server reply 2023/08/02 13:20:23 agent-auth: INFO: Valid key received Redirecting to /bin/systemctl start wazuh-agent.service
-------------------------------Captured log setup-------------------------------
ERROR wazuh_testing:remoted_sim.py:592 Not valid keys used.
----------------------------Captured stdout teardown----------------------------
2023-08-02T13:20:34.1690982434
Passed 2023-08-02 13:21:13.512526 test_active_response/test_execd/test_execd_restart.py::test_execd_restart[get_configuration0] description: Check if 'restart-wazuh' command of 'active response' is executed correctly.. For this purpose, a simulated agent is used, to which the active response is sent.. This response includes the order to restart the Wazuh agent,. which must restart after receiving this response. 24.11 linux, win32, agent 0
-----------------------------Captured stderr setup------------------------------
Redirecting to /bin/systemctl stop wazuh-agent.service 2023/08/02 13:20:38 agent-auth: INFO: Started (pid: 16998). 2023/08/02 13:20:38 agent-auth: INFO: Requesting a key from server: 127.0.0.1 2023/08/02 13:20:38 agent-auth: INFO: No authentication password provided 2023/08/02 13:20:38 agent-auth: INFO: Using agent name as: ip-172-31-7-128.ec2.internal 2023/08/02 13:20:38 agent-auth: INFO: Waiting for server reply 2023/08/02 13:20:38 agent-auth: INFO: Valid key received Redirecting to /bin/systemctl start wazuh-agent.service
Passed 2023-08-02 13:21:13.512832 test_active_response/test_execd/test_execd_restart.py::test_execd_restart[get_configuration1] description: Check if 'restart-wazuh' command of 'active response' is executed correctly.. For this purpose, a simulated agent is used, to which the active response is sent.. This response includes the order to restart the Wazuh agent,. which must restart after receiving this response. 13.89 linux, win32, agent 0
-----------------------------Captured stdout setup------------------------------
2023-08-02T13:20:59.1690982459
-----------------------------Captured stderr setup------------------------------
2023-08-02 13:21:00,859 - wazuh_testing - ERROR - Not valid keys used. Redirecting to /bin/systemctl stop wazuh-agent.service 2023/08/02 13:21:02 agent-auth: INFO: Started (pid: 17830). 2023/08/02 13:21:02 agent-auth: INFO: Requesting a key from server: 127.0.0.1 2023/08/02 13:21:02 agent-auth: INFO: No authentication password provided 2023/08/02 13:21:02 agent-auth: INFO: Using agent name as: ip-172-31-7-128.ec2.internal 2023/08/02 13:21:02 agent-auth: INFO: Waiting for server reply 2023/08/02 13:21:02 agent-auth: INFO: Valid key received Redirecting to /bin/systemctl start wazuh-agent.service
-------------------------------Captured log setup-------------------------------
ERROR wazuh_testing:remoted_sim.py:592 Not valid keys used.
----------------------------Captured stdout teardown----------------------------
2023-08-02T13:21:12.1690982472