-
Notifications
You must be signed in to change notification settings - Fork 931
Fleet Desktop guide: How to hide macOS menu bar icon #48868
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
Draft
noahtalerman
wants to merge
2
commits into
main
Choose a base branch
from
noahtalerman-patch-79
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+27
−5
Draft
Changes from 1 commit
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -10,13 +10,14 @@ Fleet Desktop unlocks two key benefits: | |
|
|
||
| If your end users have a hard time finding Fleet Desktop in the macOS menu bar, you can optionally deploy the [Fleet Desktop app](https://fleetdm.com/software-catalog/fleet-desktop-darwin). Additionally, to remind end users that they're failing policies, you can deploy [this configuration profile](https://github.com/fleetdm/fleet/blob/8cd2da576b01075db63d0a254ae597291c1d3d96/it-and-security/lib/macos/configuration-profiles/fleet-desktop-login-item.mobileconfig) to open this app everytime the end user logs in or restarts their Mac. | ||
|
|
||
| ## Install Fleet Desktop | ||
| For information on how to install Fleet Desktop, visit: [Adding Hosts](https://fleetdm.com/docs/using-fleet/adding-hosts#fleet-desktop). | ||
| ## Install and upgrade | ||
|
|
||
| ## Upgrade Fleet Desktop | ||
| Once installed, Fleet Desktop will be automatically updated via Fleetd. To learn more, visit: [Self-managed agent updates](https://fleetdm.com/docs/deploying/fleetctl-agent-updates#self-managed-agent-updates). | ||
| Fleet Desktop is bundled in Fleet's agent (fleetd) so it's automatically installed when you [enroll hosts](https://fleetdm.com/guides/enroll-hosts) by installing fleetd. | ||
|
|
||
| Once installed, Fleet Desktop will be [automatically upgraded](https://fleetdm.com/guides/fleetd-updates). | ||
|
|
||
| ## Custom transparency link | ||
|
|
||
| Organizations with complex security postures can direct end users to a resource of their choice to serve custom content. | ||
|
|
||
| > The custom transparency link is only available for users with Fleet Premium | ||
|
|
@@ -26,7 +27,7 @@ On the settings page, go to **Organization Settings > Fleet Desktop > Custom tra | |
|
|
||
| For information on setting the custom transparency link via a YAML configuration file, see the [configuration files](https://fleetdm.com/docs/configuration/yaml-files#fleet-desktop) documentation. | ||
|
|
||
| ## Secure Fleet Desktop | ||
| ## Security | ||
|
|
||
| Requests sent by Fleet Desktop and the web page that opens when clicking on the "My Device" tray item use a [Random (Version 4) UUID](https://www.rfc-editor.org/rfc/rfc4122.html#section-4.4) token to uniquely identify each host. | ||
|
|
||
|
|
@@ -53,6 +54,26 @@ As a consequence, Fleet Desktop will issue a new token if the current token is: | |
|
|
||
| This change is imperceptible to users, as clicking on the "My device" tray item always uses a valid token. If a user visits an address with an expired token, they will get a message instructing them to click on the tray item again. | ||
|
|
||
| ## Advanced | ||
|
|
||
| ### Hide the menu bar icon on macOS | ||
|
|
||
| Some Fleet users want to hide the menu bar icon on macOS because of the limited menu bar "real estate." | ||
|
|
||
| How to hide the menu bar icon: | ||
|
|
||
| 1. Add the [hide script](TODO) to Fleet. | ||
| 2. Go to a device's **Host details** page. | ||
| 3. Select **Actions > Run script** and run the hide script. | ||
|
|
||
| To run this script automatically across all macOS hosts create a policy in Fleet with the following query: | ||
|
|
||
| ```sql | ||
| TODO | ||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Hey @ksatter when you get the chance can you please help me write the policy's query we need to automatically hide the Fleet Desktop icon? |
||
| ``` | ||
|
|
||
| Then, add connect hide script to this policy via [policy automations](https://fleetdm.com/guides/policy-automation-run-script). | ||
|
|
||
|
noahtalerman marked this conversation as resolved.
|
||
| <meta name="category" value="guides"> | ||
| <meta name="authorGitHubUsername" value="zhumo"> | ||
| <meta name="authorFullName" value="Mo Zhu"> | ||
|
|
||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @allenhouchins when you get the chance can you please help me write/add the script to hide Fleet Desktop to the
solutions/folder? (assuming that's the right spot)