-
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 Vulnerability Detector System End-to-End syscollector initial scans tests #4590
Comments
Found some provision errors:
It has been created a basic test structure and some fixture for configure the environment.
Created class method to configure the environment through YAML files |
Continue creating common fixtures for the basic tests. |
Created first PoC of the |
There still some issues regarding the monitoring of the logs. Currently working on it |
The Installation of a vulnerable package case was implemented correctly. This was performed following this case structure - case: "Updating a vulnerable package that remains vulnerable to the same CVE"
id: "update_vuln_package_remain_vulnerable"
description: "Updating a vulnerable package that remains vulnerable to the same CVE"
preconditions:
tasks:
- install_package:
package:
centos: https://downloads.rclone.org/v1.49.5/rclone-v1.49.5-linux-amd64.rpm
ubuntu: https://downloads.rclone.org/v1.49.5/rclone-v1.49.5-linux-amd64.deb
check_alerts:
centos:
- event: install_package
name: "rclone"
version: "1.49.5"
ubuntu:
- event: install_package
name: "rclone"
version: "1.49.5"
body:
tasks:
- install_package:
package:
centos: https://downloads.rclone.org/v1.50.0/rclone-v1.50.0-linux-amd64.rpm
ubuntu: https://downloads.rclone.org/v1.50.0/rclone-v1.50.0-linux-amd64.deb
check_alerts:
centos:
- event: upgrade_package
name: "rclone"
version: "1.50.0"
ubuntu:
- event: upgrade_package
name: "rclone"
version: "1.50.0"
teardown:
- remove_package:
package:
centos: rclone
ubuntu: rclone This approach will allow us to include desired cases easily. However this first iteration do not include dependency.
Currently working
|
|
|
|
|
Regarding this clarifications it is necessary to:
Currently working in tests dependency and fixing minor errors in vulnerability alerts gathering. Changes here: 21176da New ETA 17/11/23 due the following reasons:
|
Refactor VD tests in order to improve migration to new framework. Done in b9f1101 |
Created PR with development #4703 Note Current approach implement host handling functionality using different E2E modules. This is a workaround in order to avoid the migration of the QA framework. However it is recommended to follow a class approach to implement those operations. During testing it has been detected a possible issue handling Vulnerabilities of Windows agents registered in worker nodes. Currently researching this issue. |
Currently testing in real environment |
Testing build: https://ci.wazuh.info/job/Test_e2e_system/189/console |
Working on PR review requested changes |
Moved ETA to 27/11/2023 to apply the rest of the PR comments from @juliamagan |
|
Moved ETA to 28/11/2023 to allow the revision from @juliamagan |
Description
This issue aims to create the basic End-to-end test cases defined in #4531. As all tests defined in the issue are part of the minimal required testing suite, and as tests have tight dependencies, the cases that are part of the basis for all test cases will be done in this issue, so development can be parallelized.
Proposed test cases
...
Considerations
The text was updated successfully, but these errors were encountered: