Skip to content
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

Rename vulnerability states index for E2E Vulnerability tests #5402

Merged
merged 6 commits into from
May 22, 2024

Conversation

Rebits
Copy link
Member

@Rebits Rebits commented May 20, 2024

Description

The vulnerability states index was renamed in wazuh/wazuh#23274. This PR adapts E2E tests to this change.

To address this issue, we propose tracking the cluster name through the HostManager class. Initially, this parameter will be included in the inventory during the provisioning stage, with a default value of wazuh. Before performing any operation through the vulnerability index, the system will check the currently defined cluster name in the inventory.

This approach should be refactored as we develop a new framework. The goal is to maintain updated environment information through the HostManager object or a similar mechanism, allowing easy tracking of the cluster name.


Testing performed

Build: https://ci.wazuh.info/job/Test_e2e_system/287/console

Validation Jenkins Local OS Commit Notes
⚫⚫ 🟢 Nothing to highlight
Result analysis

@Rebits Rebits self-assigned this May 20, 2024
@Rebits Rebits linked an issue May 20, 2024 that may be closed by this pull request
@Rebits Rebits marked this pull request as ready for review May 21, 2024 09:52
@juliamagan juliamagan merged commit c792852 into 4.8.0 May 22, 2024
0 of 2 checks passed
@juliamagan juliamagan deleted the fix/5401-rename-VD-index branch May 22, 2024 17:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Change VD index name in QA framework
3 participants