-
Notifications
You must be signed in to change notification settings - Fork 432
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
Uninstall packages #20320
Comments
Hey @marko-lisica it sounds like there's another use case we should be designing for when working on this story. We can decided later if we'd ship it separately.
I want to be able to remove any software. Not just software that Fleet installed. For example, we use the Restricted Software feature in Jamf to delete WeChat anytime it's installed by the end user. |
@marko-lisica @noahtalerman I am pretty sure the Crowdstrike Falcon agent has an uninstaller? |
@nonpunctual That's right, I forgot about security agents. Thinking about the default uninstall script, I'm not sure how Fleet can know if the native uninstaller is available for some For Crowdstrike Falcon it seems pretty simple to copy the script from their docs ( |
@nonpunctual thanks for calling this use case out! @marko-lisica I think mean that the IT admin would take these steps to install and then later uninstall CrowdStrike in Fleet?
No automatic uninstall in Fleet yet. Today, the IT admin would add a policy to check if Crowdstrike is installed, turn on policy webhooks, and catch webhook and hit Fleet's uninstall API endpoint (coming soon) in Tines (third-party automation tool). |
#20320 # Demo video(s) - API demo: https://www.loom.com/share/037c82cbde9743cfa42778eb04612482 # Checklist for submitter - [x] Changes file added for user-visible changes in `changes/`, `orbit/changes/` or `ee/fleetd-chrome/changes`. See [Changes files](https://github.com/fleetdm/fleet/blob/main/docs/Contributing/Committing-Changes.md#changes-files) for more information. - [x] Input data is properly validated, `SELECT *` is avoided, SQL injection is prevented (using placeholders for values in statements) - [x] Added/updated BE tests - [ ] Added/updated FE tests - [ ] If paths of existing endpoints are modified without backwards compatibility, checked the frontend/CLI for any necessary changes - [x] If database migrations are included, checked table schema to confirm autoupdate - For database migrations: - [x] Checked schema for all modified table for columns that will auto-update timestamps during migration. - [x] Confirmed that updating the timestamps is acceptable, and will not cause unwanted side effects. - [x] Ensured the correct collation is explicitly set for character columns (`COLLATE utf8mb4_unicode_ci`). - [x] Manual BE QA for all new/changed functionality - [ ] Manual end-to-end QA for all new/changed functionality
`fleetctl gitops` subtask for #20320 # Checklist for submitter - [x] Input data is properly validated, `SELECT *` is avoided, SQL injection is prevented (using placeholders for values in statements) - [x] Added/updated tests - [x] Manual QA for all new/changed functionality
QA DRI - @mostlikelee |
Related issues for EXE packages: #20000, #22092 (duplicate) EXE packages that work with default scripts: FileZilla Firefox |
|
Hey @getvictor
|
I'm ok with calling QA on this feature good. There are many error cases where uninstall does not always work against software not installed by Fleet, but based on product feedback these are not bugs and will be filed as feature enhancements.
|
@zayhanlon and @dherder heads up that this user story was shipped in Fleet 4.57 🙌 |
Uninstall with ease, |
Goal
Context
Changes
Product
uninstall_script
to software/batch #22040Engineering
Demo videos
QA
Risk assessment
Manual testing steps
Note about EXE installers
They are not standardized and are more likely to have issues. Related issue that's currently being worked on: #20000
@getvictor tested FileZilla:
Migration
uninstall_software_migration
cron job should run once (should be within 10 seconds of starting up the server), and update the uninstall scripts for the existing software.UI
API
GitOps
Testing notes
Confirmation
The text was updated successfully, but these errors were encountered: