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] Agents API #40964

Closed
mattapperson opened this issue Jul 12, 2019 · 4 comments
Closed

[Fleet] Agents API #40964

mattapperson opened this issue Jul 12, 2019 · 4 comments
Assignees
Labels
Feature:Fleet Fleet team's agent central management project Team:Fleet Team label for Observability Data Collection Fleet team

Comments

@mattapperson
Copy link
Contributor

Method + Resource Purpose Fields Security required Notes
PUT /api/fleet/config/{config ID}/agents/enroll Enrolls an agent into a given config, returning an access token id?, metadata{} Enrollment key
POST /api/fleet/config/{config ID}/agents/{agent ID} Post to update metadata on this agent, or assign it to a new config metadata{}, config?, config version? User: fleet permissions
GET /api/fleet/config/{config ID}/agents/{agent ID} Returns and agent User: fleet permissions
DELETE /api/fleet/config/{config ID}/agents/{agent ID} Unenrolls and agent User: fleet permissions
@mattapperson mattapperson added the Feature:Fleet Fleet team's agent central management project label Jul 12, 2019
@mattapperson mattapperson self-assigned this Jul 12, 2019
@mattapperson mattapperson mentioned this issue Jul 12, 2019
8 tasks
@nchaulet
Copy link
Member

nchaulet commented Aug 2, 2019

This one seems really well specified to me, I only have one question do we want to make the difference between local and user provided metadata? in this case metadata would be something like metadata: {local: , user: }

@mattapperson
Copy link
Contributor Author

Sounds good to me 😊

@nchaulet
Copy link
Member

@mattapperson what do you think is the best way to pass the enrollment key in the enroll endpoint: an Authorization header, or in the body request?

@mattapperson
Copy link
Contributor Author

I would say an auth header

@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

No branches or pull requests

3 participants