mirror of
https://github.com/empayre/fleet.git
synced 2024-11-06 08:55:24 +00:00
42b3e5602e
# Checklist for submitter If some of the following don't apply, delete the relevant line. - [x] Changes file added for user-visible changes in `changes/` or `orbit/changes/`. See [Changes files](https://fleetdm.com/docs/contributing/committing-changes#changes-files) for more information. - [x] Added/updated tests - [x] Manual QA for all new/changed functionality |
||
---|---|---|
.. | ||
src | ||
.gitignore | ||
jest.config.ts | ||
jest.setup.ts | ||
jsdomwithfetch.ts | ||
package-lock.json | ||
package.json | ||
README.md | ||
server.go | ||
tsconfig.json | ||
updates.xml | ||
webpack.common.js | ||
webpack.dev.js | ||
webpack.prod.js |
Fleetd Chrome Extension
Pack extension
(In parent dir)
/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --pack-extension=./fleetd-chrome --pack-extension-key=$HOME/chrome.pem
Configure in Google Admin
Left menu: Devices > Chrome > Users & browsers
Bottom right yellow + button > Add Chrome app or extension by ID
Extension ID: fleeedmmihkfkeemmipgmhhjemlljidg
From a custom URL: https://chrome.fleetdm.com/updates.xml
Then add the "Policy for extensions" to configure it:
{
"fleet_url": {
"Value": "https://fleet.example.com"
},
"enroll_secret":{
"Value": "<secretgoeshere>"
}
}
Select "Force install". Select "Update URL" > "Installation URL (see above)"
Debugging
Service worker
View service worker logs in chrome://serviceworker-internals/?devtools (in production), or in chrome://extensions (only during development).