-
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
IT: VDT - Add test_providers cases for SUSE Linux Enterprise #2820
IT: VDT - Add test_providers cases for SUSE Linux Enterprise #2820
Conversation
PROVIDER: 'suse' | ||
metadata: | ||
provider_name: 'SUSE Linux Enterprise' | ||
os: [''] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is correct. However, we must add the supported OS.
os: [''] | |
os: ['11-server', '12-server', '15-server', '11-desktop', '12-desktop', '15-desktop', ''] |
- SUSE Linux Enterprise Desktop 11 | ||
- SUSE Linux Enterprise Desktop 12 | ||
- SUSE Linux Enterprise Desktop 15 | ||
- SUSE Linux Enterprise Server 11 | ||
- SUSE Linux Enterprise Server 12 | ||
- SUSE Linux Enterprise Server 15 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In this case, we only test SUSE 11 desktop. It should remove the others.
- SUSE Linux Enterprise Desktop 11 | |
- SUSE Linux Enterprise Desktop 12 | |
- SUSE Linux Enterprise Desktop 15 | |
- SUSE Linux Enterprise Server 11 | |
- SUSE Linux Enterprise Server 12 | |
- SUSE Linux Enterprise Server 15 | |
- SUSE Linux Enterprise Desktop 11 |
- SUSE Linux Enterprise Desktop 11 | ||
- SUSE Linux Enterprise Desktop 12 | ||
- SUSE Linux Enterprise Desktop 15 | ||
- SUSE Linux Enterprise Server 11 | ||
- SUSE Linux Enterprise Server 12 | ||
- SUSE Linux Enterprise Server 15 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In this case, we only test SUSE 12 Server. It should remove the others.
- SUSE Linux Enterprise Desktop 11 | |
- SUSE Linux Enterprise Desktop 12 | |
- SUSE Linux Enterprise Desktop 15 | |
- SUSE Linux Enterprise Server 11 | |
- SUSE Linux Enterprise Server 12 | |
- SUSE Linux Enterprise Server 15 | |
- SUSE Linux Enterprise Server 12 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
05f9c07
into
2792-add-support-for-SUSE-OVAL-in-Vulnerability-Detector
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.
Test added:
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 intervalConfiguration options
local_internal_options
Tests Results
pycodestyle --max-line-length=120 --show-source --show-pep8 file.py
.