In this PR, functions have been added that will be used for the configuration of Wazuh nodes. This configuration can be done either in parallel or not.
The following functions have been added which are responsible for modifying and restoring the configuration:
configure_host().
change_agents_configured_manager().
backup_host_configuration().
restore_host_backup_configuration()
In addition, the following functions have been added, which are responsible for executing the above functions in parallel when desired:
configure_environment().
backup_environment_configuration().
restore_environment_backup_configuration().
The configuration expected by these functions will have the following format:
Description
In this PR, functions have been added that will be used for the configuration of Wazuh nodes. This configuration can be done either in parallel or not.
The following functions have been added which are responsible for modifying and restoring the configuration:
configure_host()
.change_agents_configured_manager()
.backup_host_configuration()
.restore_host_backup_configuration()
In addition, the following functions have been added, which are responsible for executing the above functions in parallel when desired:
configure_environment()
.backup_environment_configuration()
.restore_environment_backup_configuration()
.The configuration expected by these functions will have the following format:
The supported files are
ossec.conf
,agent.conf
,api.yaml
andagent.conf