-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add test_providers cases for SUSE Linux Enterprise #2808
Comments
Task 1 - Add new custom SUSE feedCreate files in branch:
|
Task 2 - Add enabled/disabled testsThe test cases are in branch Added case in tests/integration/test_vulnerability_detector/test_providers/data/test_cases/cases_enabled.yaml:
Result: Added case in tests/integration/test_vulnerability_detector/test_providers/data/test_cases/cases_disabled.yaml:
Result: |
Task 3 - Add missing os testsThe test cases are in branch Added case in tests/integration/test_vulnerability_detector/test_providers/data/test_cases/cases_missing_os.yaml
Result: |
Task 4 - Add OS tests.All the tests failed, I set up an environment and check manually the functionality and it work well. I run the test in a clean environment and the tests have passed. Added 6 cases in tests/integration/test_vulnerability_detector/test_providers/data/test_cases/cases_os.yaml
Result: |
Task 5 - Add update interval tests.Added case in tests/integration/test_vulnerability_detector/test_providers/data/test_cases/cases_update_from_year.yaml
Result: |
Task 6 - Add update interval testsAdded case in tests/integration/test_vulnerability_detector/test_providers/data/test_cases/cases_update_interval.yaml
Result: |
Task 7 - Add SUSE OS to the test documentationAdded OS in tests involved
|
It was merge to |
Description
As part of #2792, it is necessary to add cases in the test_providers suite related to SUSE Linux Enterprise support for the Wazuh Vulnerability Detector module.
Suite test_providers
Test enabled/disabled
: Check that the provider's feeds start downloading when activated.Test missing os
: Test the behavior when the tag is omitted. Check failure if the tag is required, and in case it is not, it starts downloading the feeds as normalTest OS
: Test that it starts downloading the feeds of the specified OS.Test update from year
: Test if the feed is updated from a specific date. If the option does not apply, check warning warning.Test update interval
: Test that the feed is updated at the specified intervalTo Do
The text was updated successfully, but these errors were encountered: