elastic / elastic-agent

Elastic Agent - single, unified way to add monitoring for logs, metrics, and other types of data to a host.
Other
128 stars 138 forks source link

add skip audit/unenroll flag to uninstall command #5757

Open michel-laterman opened 2 hours ago

michel-laterman commented 2 hours ago

As Craig suggested in https://github.com/elastic/elastic-agent/pull/5756#issuecomment-2405762282, we should add an option to skip the audit/unenroll call when the elastic-agent uninstalls. Skipping the audit/unenroll call can be exposed to the end user through a flag used with the uninstall command. The behaviour was added in #5302.

elasticmachine commented 2 hours ago

Pinging @elastic/elastic-agent-control-plane (Team:Elastic-Agent-Control-Plane)