Skip to content
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

Create new endpoint on the Command Manager plugin #412

Closed
4 tasks
AlexRuiz7 opened this issue Sep 18, 2024 · 1 comment
Closed
4 tasks

Create new endpoint on the Command Manager plugin #412

AlexRuiz7 opened this issue Sep 18, 2024 · 1 comment
Assignees
Labels
level/task Task issue type/enhancement Enhancement issue

Comments

@AlexRuiz7
Copy link
Member

Description

We need to create a new HTTP Rest API to the Command Manager plugin, exposing a POST endpoint that receives the command action request from the Management API on the Wazuh Server node, or from the Content Manager plugin (this is yet to be defined). Independently of the source, the Command Manager endpoint must receive this information, fit it into the Command index data model and persist the data on the index.

The endpoint must define the endpoint and its parameters, validate the data and persist it as the Commands index data model requires.

Be aware of any security concerns. On a next iteration, we want to secure the endpoint, so only allowed clients are allowed to use the endpoint.

Tasks

  • Implement the ActionPlugin interface
  • Implement the Rest endpoint (resthandler, model, ...)
  • Validate the data
  • Persist the data into the commands index.
@f-galland
Copy link
Member

Superseded by wazuh/wazuh-indexer-plugins#69

@f-galland f-galland closed this as not planned Won't fix, can't repro, duplicate, stale Sep 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
level/task Task issue type/enhancement Enhancement issue
Projects
Status: Done
Development

No branches or pull requests

2 participants