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

Wazuh indexer fork first steps #1

Closed
7 tasks done
gdiazlo opened this issue Aug 1, 2023 · 7 comments · Fixed by #3
Closed
7 tasks done

Wazuh indexer fork first steps #1

gdiazlo opened this issue Aug 1, 2023 · 7 comments · Fixed by #3
Assignees
Labels

Comments

@gdiazlo
Copy link
Member

gdiazlo commented Aug 1, 2023

We want to generate our own flavor of OpenSearch under the wazuh-indexer name.

This will be a fork which will follow closely the OpenSearch development.

We will use this repo to add our required changes, generate our own packages and contribute back to the OpenSearch project.

To do:

  • Update repository README and description
  • Enable security tools
  • Enable Actions
  • Enable branch protection
  • Fetch latest branch/sync
  • Create Wazuh branches, starting with 4.8.0
  • Implement Wazuh configuration files
@gdiazlo gdiazlo added level/task Task issue request/operational Operational requests type/maintenance Maintenance issue labels Aug 1, 2023
@AlexRuiz7 AlexRuiz7 mentioned this issue Aug 1, 2023
6 tasks
@AlexRuiz7 AlexRuiz7 linked a pull request Aug 1, 2023 that will close this issue
6 tasks
@AlexRuiz7
Copy link
Member

The following inherited GitHub Actions have been disabled until we analyze them. We can then decide whether to re-enable:

Although some of them look very interesting and promising, they do require adjustments for us to use, as they are configured specially for OpenSearch and use secrets (variables) which obviously are not inherited.

The remaining actions enabled are:

@AlexRuiz7
Copy link
Member

0867b1b Included Wazuh configuration files from [email protected]:

  • stack/indexer/base/files/etc/wazuh-indexer
  • unattended_installer/config/indexer/roles

@AlexRuiz7
Copy link
Member

There are some changes in the jvm.options file compared with the OpenSearch's version. I've asked the @wazuh/cicd team for explanations about these changes, but we didn't find any real reason.

I've been investigating and found that these changes are related to the OpenSearch Performance Analyzer, and apparently these settings are required for this tool to work, but couldn't find any real documentation about this.

These are the resources consulted:

@AlexRuiz7
Copy link
Member

AlexRuiz7 commented Aug 7, 2023

Branch 4.9.0 was created from branch 2.x, which at the moment is including changes towards 2.10.0.

@gdiazlo gdiazlo reopened this Aug 14, 2023
@gdiazlo gdiazlo added level/epic Epic issue and removed level/task Task issue labels Aug 14, 2023
@AlexRuiz7
Copy link
Member

AlexRuiz7 commented Nov 14, 2023

The branch 4.8.0 was renamed to 4.9.0.
Since last time I worked on this, OpenSearch 2.11.0 has been released, so the branch is out of date and needs to be updated.

Check the diff: 896573f...587f224

@AlexRuiz7
Copy link
Member

There is also needed to update the configuration files mentioned in the comment #1 (comment) as they have been changed for 4.9.0.

See

Ensuring the ISM policy is correctly applied in the fork is required.

@AlexRuiz7 AlexRuiz7 changed the title wazuh-indexer first steps Wazuh indexer fork first steps Nov 14, 2023
@AlexRuiz7
Copy link
Member

AlexRuiz7 commented Nov 14, 2023

To be continued in:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Done
Status: Done
Development

Successfully merging a pull request may close this issue.

3 participants