Report generated on 19-Apr-2024 at 13:07:17 by pytest-html v3.1.1
4 tests ran in 593.58 seconds.
(Un)check the boxes to filter the results.
4 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 | 4 | 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. | 253.64 | filterwarnings | |||
-------------------------------Captured log setup------------------------------- ERROR test_vulnerability_detector:test_vulnerability_detector.py:154 Init setup of environment ERROR test_vulnerability_detector:test_vulnerability_detector.py:157 Getting backup of current configurations ERROR test_vulnerability_detector:test_vulnerability_detector.py:160 Configuring environment ERROR test_vulnerability_detector:test_vulnerability_detector.py:162 Save the Wazuh indexer username and password into the Wazuh manager keystore ERROR test_vulnerability_detector:test_vulnerability_detector.py:166 Truncate managers and agents logs ERROR test_vulnerability_detector:test_vulnerability_detector.py:170 Stopping agents ERROR test_vulnerability_detector:test_vulnerability_detector.py:178 Restarting managers ERROR test_vulnerability_detector:test_vulnerability_detector.py:182 Wait until Vulnerability Detector has update all the feeds -------------------------------Captured log call-------------------------------- CRITICAL test_vulnerability_detector:test_vulnerability_detector.py:254 Monitoring syscollector first scan CRITICAL test_vulnerability_detector:test_vulnerability_detector.py:263 Value of monitoring results is: {'agent1': {'not_found': [], 'found': ['2024/04/19 12:01:26']}} CRITICAL test_vulnerability_detector:test_vulnerability_detector.py:278 All agents has been scanned | |||||||
Passed | test_vulnerability_detector/test_vulnerability_detector.py::TestInitialScans::test_vulnerability_first_scan_index | description: Validates that the Vulnerability Detector detects vulnerabilities within the environment in the. first scan in the index. | 201.29 | filterwarnings | |||
-------------------------------Captured log call-------------------------------- CRITICAL test_vulnerability_detector:test_vulnerability_detector.py:330 Checking vulnerabilities in the index CRITICAL test_vulnerability_detector:test_vulnerability_detector.py:345 Checking that all agents has been scanned and generated vulnerabilities in the index CRITICAL test_vulnerability_detector:test_vulnerability_detector.py:365 All agents has been scanned and updated states index | |||||||
Passed | test_vulnerability_detector/test_vulnerability_detector.py::TestInitialScans::test_syscollector_second_scan | description: Validates the initiation of the second Syscollector scans across all agents in the environment. | 8.03 | filterwarnings | |||
-------------------------------Captured log call-------------------------------- CRITICAL test_vulnerability_detector:test_vulnerability_detector.py:420 Value of monitoring results is: {'agent1': {'not_found': [], 'found': ['2024/04/19 12:01:26', '2024/04/19 12:03:31', '2024/04/19 12:05:36']}} CRITICAL test_vulnerability_detector:test_vulnerability_detector.py:422 Checking that all agents has been scanned CRITICAL test_vulnerability_detector:test_vulnerability_detector.py:439 Syscollector scan started in all agents | |||||||
Passed | test_vulnerability_detector/test_vulnerability_detector.py::TestInitialScans::tests_syscollector_first_second_scan_consistency_index | description: Ensure the consistency of the agent's vulnerabilities between the first and second scans in index. | 74.04 | filterwarnings | |||
-------------------------------Captured log call-------------------------------- CRITICAL test_vulnerability_detector:test_vulnerability_detector.py:486 Checking vulnerabilities in the second scan -----------------------------Captured log teardown------------------------------ ERROR test_vulnerability_detector:test_vulnerability_detector.py:191 Truncate managers and agents logs ERROR test_vulnerability_detector:test_vulnerability_detector.py:195 Delete vulnerability index ERROR test_vulnerability_detector:test_vulnerability_detector.py:198 Restoring original configuration ERROR test_vulnerability_detector:test_vulnerability_detector.py:201 Restarting environment |