wazuh-packages
wazuh-packages copied to clipboard
Installation assistant must ask for confirmation before installing dependencies
Description
Wazuh version | Install type | Action performed | Platform |
---|---|---|---|
5.0.0 | All components | Install | Any |
Context
Currently, the Wazuh installation assistant installs two types of dependencies:
- Dependencies used by the Installation assistant itself, which are removed after the installation.
- Dependencies used by the Wazuh central components, which can not be removed because it would break the Wazuh installation.
Feature request
It is necessary to implement a new logic that avoids installing dependencies without permission. This new logic is divided in:
- Asking the user if the dependencies can be installed, with a prompt like [Y/n], making the script interactive
- Adding a new option to the script that assumes yes to the dependency installation question, like
--asume-yes
,-y
,--install-dependencies
, etc
Steps before development
- [ ] Decide if the Installation assistant dependencies should be asked.
- [ ] Decide the name of the new parameter.
- [ ] Decide if the script should ask for every dependency or perform a scan and ask for a dependency list.
Steps after development
- [ ] Validate interactive behavior
- [ ] Validate non-interactive behavior
- [ ] Research the impact of this in OVA, AMI, and Jenkins pipeline tests and open issues if necessary.
- AMI and OVA will be migrated in 5.0.0 to: https://github.com/wazuh/wazuh-virtual-machines
- Jenkins pipelines
Test_unattended_tier
,Test_unattended
,Test_unattended_distributed
andTest_unattended_distributed_cases
will be deprecated. - This changes impact to DTT1, in the
testing
andprovision
modules.