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] Allow users to cancel inactive unenrollment actions #189508

Open
2 tasks
criamico opened this issue Jul 30, 2024 · 4 comments
Open
2 tasks

[Fleet] Allow users to cancel inactive unenrollment actions #189508

criamico opened this issue Jul 30, 2024 · 4 comments
Assignees
Labels
Team:Fleet Team label for Observability Data Collection Fleet team

Comments

@criamico
Copy link
Contributor

Follow up of #179399

Allow the user to cancel the scheduled inactive unenrollment actions defined in #179399.

  • Cancellation should be possible between the time when agents are scheduled to be unenrolled and the time when we actually unenroll them
  • Designs TBD

It could work as scheduled upgrades: when the unenroll bulk action batches are scheduled they show up on Agent activity and the users have a chance to cancel from the UI.

@criamico criamico added the Team:Fleet Team label for Observability Data Collection Fleet team label Jul 30, 2024
@elasticmachine
Copy link
Contributor

Pinging @elastic/fleet (Team:Fleet)

@kpollich
Copy link
Member

kpollich commented Sep 3, 2024

@nimarezainia - I think this needs some definition + design. We should allow users to potentially intervene before automatic unenrollment occurs for their agents.

@nimarezainia
Copy link
Contributor

@criamico is it technically possible to have a cancel action button in the agent activity flyout?

Image

Currently I don't think our intention to un-enroll is shown anywhere.
When the unenrollment has happened, that event gets recorded in the agent activity. But that is obviously too late.
I think the watcher runs every 10minutes. I would say that as part of this issue we would first need to record our intention: "X agents will be unenrolled starting at " (time is 10 minutes from now), perhaps also pointing a the list of agents as we do for other activities in that flyout.

Once we have this message, then a cancel button would make sense. I don't know if there's anywhere else this can be displayed.

thoughts?

@nimarezainia
Copy link
Contributor

@criamico @kpollich I'm wondering if we can merge this issue with #178735 to arrive at a consistent approach.

(cc: @simosilvestri )

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

4 participants