Report generated on 20-Mar-2024 at 12:06:09 by pytest-html v3.1.1
Packages | {"pluggy": "1.2.0", "py": "1.10.0", "pytest": "7.1.2"} |
Platform | Linux-6.2.6-76060206-generic-x86_64-with-glibc2.35 |
Plugins | {"asyncio": "0.20.3", "dependency": "0.5.1", "docgen": "1.3.0", "html": "3.1.1", "json-report": "1.5.0", "metadata": "2.0.1", "testinfra": "5.0.0", "variables": "3.0.0", "xdist": "3.3.1"} |
Python | 3.10.12 |
2 tests ran in 1015.11 seconds.
(Un)check the boxes to filter the results.
2 passed, 0 skipped, 0 failed, 0 errors, 0 expected failures, 0 unexpected passesTests | Failed | Success | XFail | Error |
---|---|---|---|---|
test_vulnerability_detector/test_vulnerability_detector.py | 0 | 2 | 0 | 0 |
Result | Time | Test | Description | Duration | Markers | Links | Tier |
---|---|---|---|---|---|---|---|
No results found. Try to check the filters | |||||||
Passed | test_vulnerability_detector/test_vulnerability_detector.py::TestInitialScans::test_syscollector_first_scan | description: Validates the initiation of Syscollector scans across all agents in the environment. | 418.92 | filterwarnings | |||
-----------------------------Captured stdout setup------------------------------ manager1 {'changed': True, 'cmd': ['/var/ossec/bin/wazuh-keystore', '-f', 'indexer', '-k', 'username', '-v', 'admin'], 'delta': '0:00:00.297552', 'end': '2024-03-20 11:51:32.458112', 'msg': '', 'rc': 0, 'start': '2024-03-20 11:51:32.160560', 'stderr': '', 'stderr_lines': [], 'stdout': '', 'stdout_lines': []} manager1 {'changed': True, 'cmd': ['/var/ossec/bin/wazuh-keystore', '-f', 'indexer', '-k', 'password', '-v', 'changeme'], 'delta': '0:00:00.403851', 'end': '2024-03-20 11:51:36.506437', 'msg': '', 'rc': 0, 'start': '2024-03-20 11:51:36.102586', 'stderr': '', 'stderr_lines': [], 'stdout': '', 'stdout_lines': []} manager2 {'changed': True, 'cmd': ['/var/ossec/bin/wazuh-keystore', '-f', 'indexer', '-k', 'username', '-v', 'admin'], 'delta': '0:00:00.059253', 'end': '2024-03-20 11:51:39.369504', 'msg': '', 'rc': 0, 'start': '2024-03-20 11:51:39.310251', 'stderr': '', 'stderr_lines': [], 'stdout': '', 'stdout_lines': []} manager2 {'changed': True, 'cmd': ['/var/ossec/bin/wazuh-keystore', '-f', 'indexer', '-k', 'password', '-v', 'changeme'], 'delta': '0:00:00.090640', 'end': '2024-03-20 11:51:43.113775', 'msg': '', 'rc': 0, 'start': '2024-03-20 11:51:43.023135', 'stderr': '', 'stderr_lines': [], 'stdout': '', 'stdout_lines': []} -------------------------------Captured log setup------------------------------- ERROR test_vulnerability_detector:test_vulnerability_detector.py:120 Init setup of environment ERROR test_vulnerability_detector:test_vulnerability_detector.py:123 Getting backup of current configurations ERROR test_vulnerability_detector:test_vulnerability_detector.py:126 Configuring environment ERROR test_vulnerability_detector:test_vulnerability_detector.py:130 Truncate managers and agents logs ERROR test_vulnerability_detector:test_vulnerability_detector.py:134 Stopping agents ERROR test_vulnerability_detector:test_vulnerability_detector.py:136 Restarting managers ERROR test_vulnerability_detector:test_vulnerability_detector.py:139 Save the Wazuh indexer username and password into the Wazuh manager keystore ERROR test_vulnerability_detector:test_vulnerability_detector.py:142 Restarting managers ERROR test_vulnerability_detector:test_vulnerability_detector.py:151 Wait until Vulnerability Detector has update all the feeds ERROR test_vulnerability_detector:test_vulnerability_detector.py:155 Truncate managers and agents logs ERROR test_vulnerability_detector:test_vulnerability_detector.py:159 Removing agents -------------------------------Captured log call-------------------------------- CRITICAL test_vulnerability_detector:test_vulnerability_detector.py:230 Monitoring syscollector first scan CRITICAL test_vulnerability_detector:test_vulnerability_detector.py:239 Value of monitoring results is: {'agent1': {'not_found': [], 'found': ['2024/03/20 11:55:12']}, 'agent2': {'not_found': [], 'found': ['2024/03/20 04:55:57']}} CRITICAL test_vulnerability_detector:test_vulnerability_detector.py:254 All agents has been scanned | |||||||
Passed | test_vulnerability_detector/test_vulnerability_detector.py::TestInitialScans::test_syscollector_first_scan_index | description: Validates that the Vulnerability Detector detects vulnerabilities within the environment in the. first scan in the index. | 553.31 | filterwarnings | |||
-------------------------------Captured log call-------------------------------- CRITICAL test_vulnerability_detector:test_vulnerability_detector.py:307 Checking vulnerabilities in the index CRITICAL test_vulnerability_detector:test_vulnerability_detector.py:319 Checking that all agents has been scanned and generated vulnerabilities in the index CRITICAL test_vulnerability_detector:test_vulnerability_detector.py:339 All agents has been scanned and updated states index -----------------------------Captured log teardown------------------------------ ERROR test_vulnerability_detector:test_vulnerability_detector.py:171 Truncate managers and agents logs ERROR test_vulnerability_detector:test_vulnerability_detector.py:174 Restoring original configuration ERROR test_vulnerability_detector:test_vulnerability_detector.py:177 Restarting environment |