wazuh / wazuh-qa

Wazuh - Quality Assurance
GNU General Public License v2.0
61 stars 30 forks source link

Research Vulnerability Detector integration tests #2806

Closed damarisg closed 2 years ago

damarisg commented 2 years ago
Related Issue
https://github.com/wazuh/wazuh-qa/issues/2792

Description

As part of https://github.com/wazuh/wazuh-qa/issues/2792, it is necessary to investigate the development of the new structure in the Vulnerability Detector tests. In addition, we must learn about the coverage of Suites: test_feeds, test_providers, and test_scan_results that integration tests have.

To Do List

CamiRomero commented 2 years ago

Task 1: Analyze how it works Vulnerability Detector

For this task, I watch a video that explains the basic Vulnerability Detector module and a video that explains how it works the status of vulnerabilities, and with that information and the official documentation, I write a personal documentation with the more important information about how vulnerability detector works.

CamiRomero commented 2 years ago

Task 2: Watch the video that explains the new structure applied.

For this task, I watch a video that explains the new structure applied to the Integration test. Issue related: https://github.com/wazuh/wazuh-qa/issues/2462 PR related: https://github.com/wazuh/wazuh-qa/pull/2499

CamiRomero commented 2 years ago

Task 3: Check coverage of the suite test_feeds

In this task, I do a quick view of tests inside test_feed.

Suite test feeds:

CamiRomero commented 2 years ago

Task 4: Check coverage of the suite test_providers

In this task, I do a quick view of tests inside test_providers

CamiRomero commented 2 years ago

Task 5: Check coverage of the suite test_scan_results

Deblintrake09 commented 2 years ago

Task 1: Analyze how it works Vulnerability Detector

I watch a video that explains the basic Vulnerability Detector functionality, how to configure it, and how it works. Also, watched another video explaining how alerts are generated based on during partial and full scans. Wrote some notes on how VD works with the data from the videos and the official documentation.

Deblintrake09 commented 2 years ago

Task 2: Watch the video that explains the new structure applied.

Watched a video that explains the new structure applied to the Integration test. Issue related: #2462 PR related: #2499

Deblintrake09 commented 2 years ago

Task 3: Check coverage of the suite test_feeds

For this Task, I did a quick analysis of the files in the test_feeds suite, and tried to determine possible test cases that were missing.

Test feeds Suidt:

Possible coverage to Add:

Deblintrake09 commented 2 years ago

Task 4: Check coverage of the suite test_providers

This task consisted of a quick review of tests inside test_providers

Deblintrake09 commented 2 years ago

Task 5: Check coverage of the suite test_scan_results

damarisg commented 2 years ago

Task 1: Analyze how it works Vulnerability Detector

damarisg commented 2 years ago

Task 2: Watch the video that explains the new structure applied.

damarisg commented 2 years ago

Task 3: Check coverage of the suite test_feeds

I do a quick view of tests inside test_feed.

damarisg commented 2 years ago

Task 4: Check coverage of the suite test_providers

I do a quick view of tests inside test_providers:

damarisg commented 2 years ago

Task 5: Check coverage of the suite test_scan_results

I do a quick view of tests inside test_scan_results: