Fleet is the lightweight, programmable telemetry platform for servers and workstations. Get comprehensive, customizable data from all your devices and operating systems — without the downtime risk.
Go to file
Eng Zer Jun abe33f1d8d
test: use T.TempDir to create temporary test directory (#6080)
This commit replaces `ioutil.TempDir` with `t.TempDir` in tests. The
directory created by `t.TempDir` is automatically removed when the test
and all its subtests complete.

Prior to this commit, temporary directory created using `ioutil.TempDir`
needs to be removed manually by calling `os.RemoveAll`, which is omitted
in some tests. The error handling boilerplate e.g.
	defer func() {
		if err := os.RemoveAll(dir); err != nil {
			t.Fatal(err)
		}
	}
is also tedious, but `t.TempDir` handles this for us nicely.

Reference: https://pkg.go.dev/testing#T.TempDir
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2022-06-13 10:20:38 -03:00
.github Do not use golangci action for better reproducibility (use make lint-go) (#6175) 2022-06-10 18:52:24 -03:00
.storybook Added components to Storybook library (#2768) 2021-11-06 23:41:09 -07:00
.vscode document how to run dlv in headless mode and connect to the Redis CLI (#5535) 2022-05-10 11:51:09 -03:00
articles text edits (#6115) 2022-06-07 17:02:34 -05:00
assets Update API token modal to include more information (#5994) 2022-06-02 18:03:03 -05:00
changes Fix no such table errors for mdm & munki_info in vanilla osquery macOS hosts (#6170) 2022-06-13 08:52:33 -03:00
charts/fleet Prepare for 4.15.0 (#5858) 2022-05-27 16:50:20 -03:00
cmd Allow troubleshooting of mocked live query store (#6197) 2022-06-13 10:18:03 -03:00
cypress Add new "Fleet Desktop" section to global settings page (#6161) 2022-06-11 12:23:02 -05:00
docs Fix documentation bug in Organization settings yaml example (#6179) 2022-06-10 14:47:20 -07:00
ee only include policies in device endpoints for premium users (#6077) 2022-06-07 13:27:13 -03:00
frontend Add new "Fleet Desktop" section to global settings page (#6161) 2022-06-11 12:23:02 -05:00
handbook Handbook editor pass - Product (#6153) 2022-06-10 17:09:45 -05:00
infrastructure Prepare for 4.15.0 (#5858) 2022-05-27 16:50:20 -03:00
orbit test: use T.TempDir to create temporary test directory (#6080) 2022-06-13 10:20:38 -03:00
pkg Fix flaky test TestVulnerabilityDataStream (#6162) 2022-06-09 10:36:37 -03:00
scripts add on-call script (#4781) 2022-03-28 10:00:33 -06:00
server test: use T.TempDir to create temporary test directory (#6080) 2022-06-13 10:20:38 -03:00
tools Support failing policies integrations (#5973) 2022-06-06 10:41:51 -04:00
website Website: update marked dependency (#6189) 2022-06-13 13:41:18 +09:00
.dockerignore Added support to read jwt and mysql password from a file (#141) 2021-01-04 07:58:43 -08:00
.eslintrc.js Perform client side filtering with react table (#2834) 2021-11-09 11:31:28 -06:00
.gitattributes Windows friendly changes after walking through getting started guide (#1441) 2021-07-21 20:49:44 -04:00
.gitignore Remove gitignore for terraform lock files (#6106) 2022-06-07 12:55:46 -04:00
.gitpod.yml Add gitpod yml (#2915) 2021-11-19 10:03:56 -03:00
.golangci.yml Do not use golangci action for better reproducibility (use make lint-go) (#6175) 2022-06-10 18:52:24 -03:00
.goreleaser-snapshot.yml Publish development Docker images (#2114) 2021-09-21 13:06:22 -07:00
.goreleaser.yml Add netgo tag to prevent crashes on linux when making external requests (#1681) 2021-08-16 15:48:45 -03:00
.npmignore Move fleetdm.com into main Fleet repo (#83) 2020-12-02 14:48:03 -06:00
.prettierignore Amend policy creation and spec (for proprietary query), and add update APIs (#2890) 2021-11-24 14:16:42 -03:00
.prettierrc.json add prettier and have it format all fleet application code (#625) 2021-04-12 14:32:25 +01:00
CHANGELOG.md update changelog for v4.15.0 (#5951) 2022-05-27 17:52:06 -03:00
CODE_OF_CONDUCT.md Remove @fleetdm.com emails from fleetdm/fleet repo (#882) 2021-05-27 17:19:14 -04:00
CODEOWNERS Set CODEOWNERS for github actions as g-platform (#5780) 2022-05-17 16:15:12 -03:00
CONTRIBUTING.md Remove numbers from documentation filenames in Fleet repo (#4313) 2022-02-23 12:17:55 -06:00
docker-compose.yml Document supported MySQL versions (#5421) 2022-04-27 16:21:16 -07:00
Dockerfile Orbit: Add Fleet Desktop support to Windows (#4873) 2022-04-01 17:28:51 -03:00
Dockerfile-desktop-linux use the new device client in Fleet Desktop (#5988) 2022-06-02 12:37:26 -03:00
Dockerfile.osquery-perf Bump golang from 1.17.1-alpine to 1.18.1-alpine (#5212) 2022-04-19 16:46:37 -07:00
go.mod Do not use golangci action for better reproducibility (use make lint-go) (#6175) 2022-06-10 18:52:24 -03:00
go.sum Do not use golangci action for better reproducibility (use make lint-go) (#6175) 2022-06-10 18:52:24 -03:00
LICENSE Update LICENSE (#10) 2020-11-04 19:57:51 -06:00
Makefile Do not use golangci action for better reproducibility (use make lint-go) (#6175) 2022-06-10 18:52:24 -03:00
package.json Update SockJS client (#6048) 2022-06-02 16:44:07 -07:00
postcss.config.js Upgrade Bourbon to 5.1.0 and fix deprecation warnings (#1973) 2019-01-03 12:46:55 -08:00
README.md Adding OpenSSF Best Practices Badge (#4556) 2022-03-15 15:57:32 -07:00
SECURITY.md Editing security policy (#5333) 2022-05-05 20:29:06 -05:00
tools.go Build Orbit releases in GitHub Actions (#3413) 2021-12-19 17:06:17 -08:00
tsconfig.json Add ability to detect compatibility and update which hosts are checked for a policy (#4703) 2022-03-21 11:51:00 -05:00
webpack.config.js Optimize webpack using esbuild-loader (#4586) 2022-03-15 09:45:34 -05:00
yarn.lock Update SockJS client (#6048) 2022-06-02 16:44:07 -07:00

Fleet logo, landscape, dark text, transparent background

Website   News   Report a bug

Run Tests   Go Report Card   CII Best Practices   Twitter Follow  

Fleet is the most widely used open source osquery manager. Deploying osquery with Fleet enables programmable live queries, streaming logs, and effective management of osquery across 100,000+ servers, containers, and laptops. It's especially useful for talking to multiple devices at the same time.

Try Fleet

With Node.js and Docker installed:

# Install the Fleet command-line tool
sudo npm install -g fleetctl
# Run a local demo of the Fleet server
sudo fleetctl preview

Windows users can omit sudo, and should run the command in Cmd/PowerShell as administrators.

The Fleet UI is now available at http://localhost:1337.

Now what?

Check out the Ask questions about your devices tutorial to learn where to see your devices in Fleet, how to add Fleet's standard query library, and how to ask questions about your devices by running queries.

Team

Fleet is independently backed and actively maintained with the help of many amazing contributors.

📖 In keeping with our value of openness, Fleet Device Management's company handbook is public and open source. You can read about the history of Fleet and osquery and our commitment to improving the product. To upgrade from Fleet ≤3.2.0, just follow the upgrading steps for the latest release from this repository (it'll work out of the box).

Documentation

Documentation for Fleet can be found here.

Community

Chat

Please join us in the #fleet channel on osquery Slack.

Contributing

Contributions are welcome, whether you answer questions on Slack/GitHub/StackOverflow/Twitter, improve the documentation or website, write a tutorial, give a talk, start a local osquery meetup, troubleshoot reported issues, or submit a patch. The Fleet code of conduct is on GitHub.

Banner featuring a futuristic cloud city with the Fleet logo