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

MVP - OVA - Creation of the Configurer submodule #161

Open
Enaraque opened this issue Jan 14, 2025 · 0 comments
Open

MVP - OVA - Creation of the Configurer submodule #161

Enaraque opened this issue Jan 14, 2025 · 0 comments
Labels
level/subtask Subtask issue type/enhancement Enhancement issue

Comments

@Enaraque
Copy link
Member

Enaraque commented Jan 14, 2025

Description

Within the Configurer module, a submodule named ova_configurer will be created. This submodule will handle all configurations required for integrating Wazuh and preparing it for deployment as an OVA.

The submodule will include two essential parts:

  • Base OVA Configuration Files: These files are mentioned in the OVA spike and are responsible for setting up a base instance that will serve as the foundation for subsequent Wazuh configurations.
  • OVA Generation Configuration Files: These files are currently located in the ova directory and are used to prepare the OVA for deployment.

Initially, these files will already exist but will need to be migrated to Python. This transition will create a more maintainable and testable structure since the current Bash scripts are complex and less scalable.

Important

Additionally, configurations currently implemented through Ansible playbooks must also be transitioned to Python. This ensures Ansible is used only for copying files from the local machine to the remote machine and executing the Configurer.

By adapting these files to Python, we can establish a modular structure allowing us to:

  1. Customize a base OVA using the initial configuration files.
  2. Configure the main Wazuh components in the OVA via the core_configurer.
  3. Set up the OVA for proper generation and deployment.

Unit Tests

As the submodule is developed, unit tests must be written continuously to validate the correctness of each method and/or function.

The tests will use pytest, and overall test coverage should be monitored to ensure that a significant percentage of the code is being tested.

Deployment Tests

Deployment tests for the OVA configuration must verify that the OVA includes all configurations specified in the configuration files, such as:

  • Wazuh logo displayed during the login session.
  • A wazuh-user user account is created.
  • Hostname is updated appropriately.
  • Initial login instructions (username and password) are displayed.
  • Wazuh splash screen is displayed correctly when the OVA is powered on.
  • (to be defined).

Related issue

DRI

@teddytpc1

@Enaraque Enaraque added level/task Task issue type/enhancement Enhancement issue level/subtask Subtask issue and removed level/task Task issue labels Jan 14, 2025
@teddytpc1 teddytpc1 changed the title MVP - Creation of the OVA Configurer submodule MVP - OVA - Creation of the OVA Configurer submodule Jan 22, 2025
@teddytpc1 teddytpc1 changed the title MVP - OVA - Creation of the OVA Configurer submodule MVP - OVA - Creation of the Configurer submodule Jan 22, 2025
@wazuhci wazuhci moved this to Backlog in XDR+SIEM/Release 5.0.0 Jan 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
level/subtask Subtask issue type/enhancement Enhancement issue
Projects
Status: Backlog
Development

No branches or pull requests

1 participant