-
Notifications
You must be signed in to change notification settings - Fork 203
Missing Documentation for Installing Wazuh Dashboard from Source #7315
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
Comments
Hi, I guess your request is related to provide documentation to install the Wazuh dashboard from sources such as the documentation for Wazuh server (https://documentation.wazuh.com/4.12/deployment-options/wazuh-from-sources/wazuh-server/index.html) or Wazuh agent (https://documentation.wazuh.com/current/deployment-options/wazuh-from-sources/wazuh-agent/index.html). As you said, there is no an official guide to install the Wazuh dashboard from sources. There is documentation to build a Wazuh dashboard package from sources (https://documentation.wazuh.com/4.12/development/packaging/generate-dashboard-package.html#build-manually) based on official repositories (composition of Wazuh dashboard core, and some repositories that have the plugins) and others that are installed from OpenSearch Dashboards plugins, but you could adapt to your requirements, modifying the source code of one or some components before building the expected artifact that will be used to compose the final package Based on the guide https://documentation.wazuh.com/4.12/development/packaging/generate-dashboard-package.html#build-manually, you need to build the following components to generate the final Wazuh dashboard app:
For each repository related to Wazuh, the guide indicates how to download the source code and generate an artifact that will be used in the last steps to build the final Wazuh dashboard app. Before the generation of the artifact, you can apply some customization, take into account the depending on the change you could need/want to see the effects of the change, so you could need to run a development environment that depends on the component to customize. Requirements if you pretend to see the changes in a development environment:
For example, if you want to do some change in the Wazuh dashboard core, you can modify the code before the build of the artifact done by the following instructions (current guide for 4.12.x): Customize Wazuh dashboard core: git clone -b <BRANCH_OR_TAG> https://github.com/wazuh/wazuh-dashboard.git
cd wazuh-dashboard/
nvm install $(cat .nvmrc)
nvm use $(cat .nvmrc)
yarn osd bootstrap
### If you want to customize, apply the changes before continue the process ###
yarn build-platform <--linux | --linux-arm> --skip-os-packages --release Customize Wazuh security dashboard plugin (
Customize Wazuh security dashboard plugin (
The OpenSearch Dashboards plugins IDs that are added to the final Wazuh dashboard, are listed here (for 4.12.0): Take into account the process or requirements could vary depending on the version. |
Description:
I noticed that the official documentation provides instructions for installing Wazuh Manager and Wazuh Agent from source. However, I could not find any official guidance on installing Wazuh Dashboard from source.
For organizations or individuals looking to customize the Wazuh Dashboard or contribute to its development, having clear documentation on the installation process from source would be highly beneficial.
Expected Behavior:
A dedicated section in the official Wazuh documentation explaining how to install Wazuh Dashboard from source, similar to the existing instructions for Wazuh Manager and Wazuh Agent.
Steps covering prerequisites, dependencies, compilation, and configuration.
Actual Behavior:
No official documentation is available for installing Wazuh Dashboard from source.
Users who want to build Wazuh Dashboard from source must figure out the process independently.
Steps to Reproduce:
Visit the Wazuh Documentation.
Search for "install from source" in the documentation.
Find installation guides for Wazuh Manager and Wazuh Agent but no instructions for Wazuh Dashboard.
Questions:
Is there an official or recommended way to install Wazuh Dashboard from source?
If not documented yet, are there any existing community guidelines or internal steps that can be shared?
Additional Context:
I am currently working on a project that requires modifying Wazuh Dashboard, and being able to build it from source would be crucial.
Any guidance or official documentation on this would be greatly appreciated.
The text was updated successfully, but these errors were encountered: