There isn't a separate "All-in-One source code" containing the manager, indexer and dashboard together.
The wazuh-install.sh -a option is mainly an installation/orchestration script. It downloads/installs the required Wazuh packages for:
Wazuh manager
Wazuh indexer
Wazuh dashboard
and then handles the configuration, certificates, credentials and service setup required to make them work together on the same host.
You can check the reference below:
https://github.com/wazuh/wazuh-installation-assistantThe actual components have their own source repositories and build systems:
Wazuh manager/server, built from the main Wazuh repository. This is the component that uses make, for example:
make -C src TARGET=server deps
make -C src TARGET=server
Ref:
https://github.com/wazuh/wazuh/blob/main/docs/dev/build-sources.mdWazuh indexer – separate source, based on OpenSearch, and built using Gradle such as ./gradlew assemble.
Ref:
https://github.com/wazuh/wazuh-indexer/blob/main/DEVELOPER_GUIDE.mdWazuh dashboard – separate source and uses the Node/Yarn build process rather than Make.
https://github.com/wazuh/wazuh-dashboard/blob/main/DEVELOPER_GUIDE.mdSo there isn't one Makefile you can use to compile a complete Wazuh AIO installation.
If your goal is to create your own AIO installer, then use the installation-assistant source as the base and modifying the orchestration around the packages:
Your installer
- install Wazuh indexer package
- configure indexer
- generate certificates/passwords
- install Wazuh manager package
- configure manager/indexer connection
- install Wazuh dashboard package
- configure dashboard
- start/verify services
You could create your own Makefile as a wrapper for this, for example, with targets such as:
all: indexer manager dashboard configure
manager:
- build/install manager
indexer:
- build/install indexer
dashboard:
- build/install dashboard
configure:
- certificates, passwords and component configuration
But that Makefile would be your orchestration layer. It would not replace the individual build systems used by each Wazuh component.
I would suggest starting from the installation assistant repository and its install_functions/ rather than compiling every component from source. Its own builder.sh -i creates the final wazuh-install.sh.
https://github.com/wazuh/wazuh-installation-assistantP.S Please, when replying on the Google Group, please ensure to reply all so other community users can benefit from it.