-
Notifications
You must be signed in to change notification settings - Fork 159
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]: Uninstalling the tamper protection agent without Uninstall token shows error. #4255
Comments
Pinging @elastic/fleet (Team:Fleet) |
@amolnater-qasource Kindly review |
Secondary review for this ticket is Done. |
Pinging @elastic/elastic-agent-control-plane (Team:Elastic-Agent-Control-Plane) |
Can you upload diagnostics after this error occurs? |
Hi @cmacknz Thanks for looking into this issue. Kindly find the attached Agent Diagnostic Logs. Agent Diagnostic Logs Please let us know if anything else is required from our end. Thanks! |
Thanks I see that I think we'd need to see the full uninstall command line and also ideally where you got the uninstall token from. Agent thinks the uninstall token is invalid, but I can't tell if that is true or not from the diagnostics alone because the token comes from Kibana and isn't available in the agent logs. |
I may be missing something, but getting an error when attempting to uninstall a tamper protected agent without the uninstall token is the correct behavior. The error below is expected in this case:
|
Thank you for confirming the expected behavior @cmacknz . |
Kibana Build details:
Host OS and Browser version: All, All
Preconditions:
Steps to reproduce:
what's working fine.
Able to uninstall the Agent with the help of Uninstall tokens.
Expected:
Uninstalling the tamper protection agent without Uninstall token shouldn't show any error.
Screenshot:
The text was updated successfully, but these errors were encountered: