Adapt Command Manager to he new command pulling and distribution design #203
Labels
level/task
Task issue
mvp
Minimum Viable Product
type/change
Change performed in a resource or Wazuh Cloud environment
Description
After completing the initial 5.0 MVP iteration, the initial design of the Command Manager plugin is going to be adapted due to incoming changes on the Server (see wazuh/wazuh#27434). The Command Manager will no longer be responsible for searching, preparing and sending the commands to the Server. It will be the Server who queries the Indexer for the commands, greatly simplifying the data flow.
Key changes include:
The Command Manager won't send commands to the Server. All code, settings, documentation and tests related must be removed as these won't be needed anymore.
The Command Manager still needs to implement a Job Scheduler job. This job's responsibility is to look for commands which have expired, updating their status to
FAILURE
. The job's schedule is configurable. The condition could be modeled as:Functional requirements
m_api.uri
m_api.username
m_api.password
Plan
Related issues
opensearch.yml
#171testPost_success
is flaky #163The text was updated successfully, but these errors were encountered: