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] Expose method to notify fleet of policy changes #48443

Closed
mattapperson opened this issue Oct 16, 2019 · 2 comments
Closed

[Fleet] Expose method to notify fleet of policy changes #48443

mattapperson opened this issue Oct 16, 2019 · 2 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 sig: policyUpdated(policyId: string, type: "added" | "updated" | "removed", payload: Policy | null): Promise<{success: bool}>

Current use-case is limited to type "removed", where we should unassign all agents with the provided policy ID

@mattapperson mattapperson added the Feature:Fleet Fleet team's agent central management project label Oct 16, 2019
@nchaulet nchaulet mentioned this issue Oct 16, 2019
44 tasks
@nchaulet
Copy link
Member

What the status of an Unassigned agent, we still agent enrolled but no policy returned during checkin? it's something we want to display in the UI, with a new status?

@mattapperson
Copy link
Contributor Author

Great question.
For now such agents should be unenrolled.

If we/when we support moving agents between policies in the UI we will set a status of
"Disabled" / "Unassigned"

@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