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 - Migrate Wazuh indexer build files #1686

Open
3 tasks
vcerenu opened this issue Jan 15, 2025 · 0 comments
Open
3 tasks

MVP - Migrate Wazuh indexer build files #1686

vcerenu opened this issue Jan 15, 2025 · 0 comments

Comments

@vcerenu
Copy link
Member

vcerenu commented Jan 15, 2025

Description

The current process of building Docker images in Wazuh is done with a script in the build-docker-images/build-images.sh path, which uses the build-docker-images/build-images.yml file to build the images of the 3 components and we use the .env file hosted in the root of the repository to hold environment variables that are shared with all build processes in general.
For the build process of each of the images we have set up our own directory to house the Dockerfile and the other script files and configurations used in the build of the image, which in the case of Wazuh indexer is the build-docker-images/wazuh-indexer directory.

build-docker-images/
├── build-images.sh
├── build-images.yml
├── README.md
└── wazuh-indexer
     ├── config
     │   ├── action_groups.yml
     │   ├── check_repository.sh
     │   ├── config.sh
     │   ├── config.yml
     │   ├── entrypoint.sh
     │   ├── internal_users.yml
     │   ├── opensearch.yml
     │   ├── roles_mapping.yml
     │   ├── roles.yml
     │   └── securityadmin.sh
     └── Dockerfile

In the migration of the build process, you need to migrate the files from the corresponding directory to the new repository and assign the environment variables that are assigned in the build-docker-images/build-images.sh script in a general way within the Dockerfile, so that the process is generated without errors.

Tasks

  • Migrate the files from the build-docker-images/wazuh-indexer directory to the new repository
  • Assign the necessary values ​​to the environment variables so that the build is correct.
  • Test the build of the Wazuh manager Docker image

DRI

Gonzalo Acuña

@vcerenu vcerenu changed the title Migrate Wazuh indexer build files MVP - Migrate Wazuh indexer build files Jan 15, 2025
@vcerenu vcerenu added the level/subtask Task issue label Jan 16, 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
Projects
Status: Backlog
Development

No branches or pull requests

2 participants