mirror of
https://github.com/fleetdm/fleet
synced 2026-04-21 13:37:30 +00:00
Update Enroll hosts doc page (#15279)
- Remove section about plain osquery and launcher. Using fleetd is best practice and we want all new Fleet users to follow this best practice. If they can't we want to learn why. - Replace "Fleetd configuration options" section with a tip. Easier to maintain as we add/update flags.
This commit is contained in:
parent
bd54184510
commit
e673cc6caa
1 changed files with 2 additions and 43 deletions
|
|
@ -6,14 +6,10 @@ Fleet gathers information from an [osquery](https://github.com/osquery/osquery)
|
|||
|
||||
You can enroll macOS, Windows or Linux hosts via the [CLI](#cli) or [UI](#ui). To learn how to enroll Chromebooks, see [Enroll Chromebooks](#enroll-chromebooks).
|
||||
|
||||
|
||||
### Supported osquery versions
|
||||
|
||||
Fleet supports the [latest version of osquery](https://github.com/osquery/osquery/tags).
|
||||
|
||||
|
||||
|
||||
|
||||
## CLI
|
||||
|
||||
> You must have `fleetctl` installed. [Learn how to install `fleetctl`](https://fleetdm.com/fleetctl-preview).
|
||||
|
|
@ -35,6 +31,8 @@ Generate macOS installer (.pkg)
|
|||
fleetctl package --type pkg --fleet-url=example.fleetinstance.com --enroll-secret=85O6XRG8'!l~P&zWt_'f&$QK(sM8_D4x
|
||||
```
|
||||
|
||||
Tip: To see all options for `fleetctl package` command, run `fleetctl package -h` in your Terminal.
|
||||
|
||||
## UI
|
||||
|
||||
To generate an installer in Fleet UI:
|
||||
|
|
@ -216,45 +214,6 @@ so:
|
|||
```
|
||||
If the provided path doesn't contain all 3 binaries, the command will fail.
|
||||
|
||||
### Fleetd configuration options
|
||||
|
||||
The following command-line flags to `fleetctl package` allow you to configure an osquery installer further to communicate with a specific Fleet instance.
|
||||
|
||||
| Flag | Options |
|
||||
| -------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- |
|
||||
| --type | **Required** - Type of package to build.<br> Options: `pkg`(macOS),`msi`(Windows), `deb`(Debian based Linux), `rpm`(RHEL, CentOS, etc.) |
|
||||
| --fleet-desktop | Include Fleet Desktop. |
|
||||
| --enroll-secret | Enroll secret for authenticating to Fleet server |
|
||||
| --fleet-url | URL (`host:port`) of Fleet server |
|
||||
| --fleet-certificate | Path to server certificate bundle |
|
||||
| --identifier | Identifier for package product (default: `com.fleetdm.orbit`) |
|
||||
| --version | Version for package product (default: `0.0.3`) |
|
||||
| --insecure | Disable TLS certificate verification (default: `false`) |
|
||||
| --service | Install osquery with a persistence service (launchd, systemd, etc.) (default: `true`) |
|
||||
| --sign-identity | Identity to use for macOS codesigning |
|
||||
| --notarize | Whether to notarize macOS packages (default: `false`) |
|
||||
| --disable-updates | Disable auto updates on the generated package (default: false) |
|
||||
| --osqueryd-channel | Update channel of osqueryd to use (default: `stable`) |
|
||||
| --orbit-channel | Update channel of Orbit to use (default: `stable`) |
|
||||
| --desktop-channel | Update channel of desktop to use (default: `stable`) |
|
||||
| --update-url | URL for update server (default: `https://tuf.fleetctl.com`) |
|
||||
| --update-roots | Root key JSON metadata for update server (from fleetctl updates roots) |
|
||||
| --use-system-configuration | Try to read --fleet-url and --enroll-secret using configuration in the host (currently only macOS profiles are supported) |
|
||||
| --enable-scripts | Enable script execution (default: `false`) |
|
||||
| --debug | Enable debug logging (default: `false`) |
|
||||
| --verbose | Log detailed information when building the package (default: false) |
|
||||
| --local-wix-dir | Use local installations of the 3 WiX v3 binaries this command uses (`heat.exe`, `candle.exe`, and `light.exe`) instead of installations in a pre-configered Docker Hub (only available on Windows w/ WiX v3) |
|
||||
| --help, -h | show help (default: `false`) |
|
||||
|
||||
Fleet supports other methods for adding your hosts to Fleet, such as the plain osquery
|
||||
binaries or [Kolide Osquery
|
||||
Launcher](https://github.com/kolide/launcher/blob/master/docs/launcher.md#connecting-to-fleet).
|
||||
|
||||
### Enroll hosts with plain osquery
|
||||
|
||||
Osquery's [TLS API](http://osquery.readthedocs.io/en/stable/deployment/remote/) plugin lets you use
|
||||
the native osqueryd binaries to connect to Fleet. Learn more [here](https://github.com/fleetdm/fleet/blob/main/docs/Contributing/Enroll-hosts-with-plain-osquery.md).
|
||||
|
||||
|
||||
<meta name="pageOrderInSection" value="500">
|
||||
<meta name="description" value="Learn how to generate installers and enroll hosts in your Fleet instance using fleetd or osquery.">
|
||||
|
|
|
|||
Loading…
Reference in a new issue