wazuh / wazuh-qa

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

Vulnerability detector test module refactor: `test_archlinux_inventory_archlinux_feed` #2521

Closed jmv74211 closed 2 years ago

jmv74211 commented 2 years ago

It is asked to refactor the test module named test_archlinux_inventory_archlinux_feed.py.

It is disabled for now, as it was failing or unstable, causing false positives.

Tasks

Checks

Additional tasks

roronoasins commented 2 years ago

Test design

Name

test_archlinux_inventory_archlinux_feed.py


Objective

Check that the Vulnerability Detector module generates an alert when a vulnerability is detected and inserted.


Test checks


Initial stage (setup)


Test phases

Test cases


Final stage (teardown)

Test cases

The new test replaces the current inventory feed tests. Now each provider is a Tcase.

These are the providers that will have a new custom feed and will be tested: