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

[Fleet] Add create agent action API #45943

Conversation

nchaulet
Copy link
Member

Resolve #45891

Summary

Add a rest API to add actions to an agent (PAUSE, RESUME, ...)

POST /fleet/agents/{agentId}/actions
{
  "type": "PAUSE"
}

To discuss: I think it make no sense to have a delete API for that as actions are going to be consumed almost in realtime by the agents.

@nchaulet nchaulet added the Feature:Fleet Fleet team's agent central management project label Sep 17, 2019
@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@mattapperson
Copy link
Contributor

LGTM, just missing one thing. Things like DATA_DUMP require a payload. In that case a policy would be part of the payload

@nchaulet
Copy link
Member Author

👍I will do the update for DATA_DUMP in a second PR

@nchaulet nchaulet merged commit 3215cb2 into elastic:feature-make-it-ingest Sep 18, 2019
@nchaulet nchaulet deleted the feature-fleets-agent-actions-api branch September 18, 2019 12:55
nchaulet added a commit to nchaulet/kibana that referenced this pull request Sep 20, 2019
nchaulet added a commit that referenced this pull request Sep 23, 2019
nchaulet added a commit that referenced this pull request Sep 23, 2019
@jen-huang jen-huang added the Team:Fleet Team label for Observability Data Collection Fleet team label Mar 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Fleet Fleet team's agent central management project Team:Fleet Team label for Observability Data Collection Fleet team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants