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] Show reason for Agent / Endpoint uninstallation #197731

Open
Tracked by #484
ycombinator opened this issue Oct 24, 2024 · 4 comments
Open
Tracked by #484

[Fleet] Show reason for Agent / Endpoint uninstallation #197731

ycombinator opened this issue Oct 24, 2024 · 4 comments
Labels
Team:Fleet Team label for Observability Data Collection Fleet team

Comments

@ycombinator
Copy link
Contributor

Describe the feature:

With the work @michel-laterman has done for elastic/elastic-agent#484, Agent will send Fleet Server a reason for uninstalling when it is uninstalled. In the future, Endpoint will do the same. These components do this by calling the POST /api/fleet/agents/:id/audit/unenroll Fleet Server API. Note that this is a best effort API call.

We should surface this reason in the Fleet UI, which would be an improvement over what happens today when an Agent is uninstalled: the Agent leaves "offline" entries in the UI.

Describe a specific use case for the feature:

Clarifying the Agent listing in the Fleet UI by distinguishing between Agents that are active but currently offline with Agents that have been uninstalled.

@ycombinator ycombinator added the Team:Fleet Team label for Observability Data Collection Fleet team label Oct 24, 2024
@elasticmachine
Copy link
Contributor

Pinging @elastic/fleet (Team:Fleet)

@juliaElastic
Copy link
Contributor

Should we introduce a new status like "orphaned" or "uninstalled" or include them in "unenrolled"? Leaving the agents offline is misleading, there is a bug logged because those agents can't be unenrolled: #197180

@jlind23
Copy link
Contributor

jlind23 commented Oct 25, 2024

"uninstalled" would definitely make sense in this case but why would we need "orphaned"?

@intxgo
Copy link
Contributor

intxgo commented Oct 25, 2024

We need to add Endpoint orphaned please!

Agent is neither Tamper Protected against admin user, neither can guarantee delivering the audit about uninstallation. However Tamper Protected Endpoint won't give up easily 🙂 so in most cases Agent will be surprisingly lost whilst Endpoint will keep running and protection the machine albeit invisible in Fleet 🙁 so the orphaned status will clearly signal the need to fix Agent on those machines.

PS. 8.16.0 Endpoint is already sending the orphaned audit as agreed with @michel-laterman

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Team:Fleet Team label for Observability Data Collection Fleet team
Projects
None yet
Development

No branches or pull requests

5 participants