-
Notifications
You must be signed in to change notification settings - Fork 18
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
Agent centralized configuration #32
Comments
Update
|
(2024/10/02):
(2024/10/03):
(2024/10/07):
(2024/10/08):
(2024/10/09):
(2024/10/10):
|
UpdateDiscussed with @Nicogp how to start and distribute the work for this issue. We settled for a first approach with the CentralizedConfiguration being a class in the Modules section of the Agent. It will support the requirements to work with the ModuleManager (namely, implement the interface needed by the ModuleWrapper), and it will be configurable to minimize physical dependencies to other components of the Agent. Branch is in place as https://github.com/wazuh/wazuh-agent/tree/enhancement/32-agent-centralized-configuration-class-mvp |
UpdateImplementing the |
UpdateImplementing setters for the various |
Update (October 10th)Moving on to implement and test the function to set the file downloader. Adjusted functions to the parallel development led by Nico. |
Parent issue:
Description
This MVP issue focuses on developing the "Agent centralized configuration command" use case. The agent will utilize the "command manager" component to receive requests from the manager. Two types of request will be:
set-group
:This command should set its group set, and will include one or more groups which the agent belongs to.
update-group
:It indicates that the group-related configuration has changed in the manager.
In both cases, the agent will then respond with the following actions:
Functional requirements
Non-functional requirements
The configuration update process should be efficient and not significantly impact the agent’s performance.
The agent must reliably validate and apply configurations without causing errors or downtime.
The agent must securely download configuration files, ensuring they are not tampered with.
The solution should scale with the number of configuration files and the size of the agent’s environment.
Implementation restrictions
This functionality must be implemented as a command within the agent.
The configuration will be in YAML format, spread across multiple files (one per agent group).
The configuration must be validated before application. The agent should never accept a configuration that produces errors.
Plan
Integrate with the existing configuration module to handle the reading and validation of YAML files.
Define the format for the centralized configuration request to ensure compatibility between the manager and the agent.
Comms API
server design wazuh#23395 (comment)Implement the necessary server-side logic to send the
update-configuration
requests with the appropriate configuration files.Implement the agent-side logic to:
set-group
andupdate-group
are handled by the CentralizedConfiguration module.Requirement Traceability Matrix
The text was updated successfully, but these errors were encountered: