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
Victor Lyuboslavsky 2520fc2179
Reduce server load for fleetd upgrade (#15606)
📺 Loom:
https://www.loom.com/share/9e17848963574af3aa10d426b450bcd0?sid=f8078293-c7e1-4864-a8a3-4cec996971f5

#15476 
#15540 
#15542

After upgrading fleetd, customer-blanco saw a spike in traffic and a
spike in DB connections. These fixes attempt to reduce the traffic and
DB load when fleetd is upgraded.

On the server, added fleet/device/{token}/ping endpoint to be used by
agents to check their token.

On the agent:
- Removed call to fleet/orbit/device_token unless token needs to be
updated.
- Changed call to fleet/device/{token}/desktop with a less resource
intensive call to fleet/device/{token}/ping
- Removed call to fleet/orbit/ping

# Checklist for submitter

If some of the following don't apply, delete the relevant line.

<!-- Note that API documentation changes are now addressed by the
product design team. -->

- [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] Manual QA for all new/changed functionality
  - For Orbit and Fleet Desktop changes:
- [x] Manual QA must be performed in the three main OSs, macOS, Windows
and Linux.
- [x] Auto-update manual QA, from released version of component to new
version (see [tools/tuf/test](../tools/tuf/test/README.md)).
2023-12-13 14:31:48 -06:00
.github Update min macOS for fleetctl-workstations to 14.2 (#15622) 2023-12-13 13:08:31 -05:00
.storybook Update storybook versions (#14841) 2023-11-01 10:54:26 +00:00
.vscode generate js coverage report in CI (#12029) 2023-06-01 17:46:25 +01:00
articles Update disk encryption docs (#15496) 2023-12-12 15:58:26 -05:00
assets Implement Windows OS Updates (feature branch). (#15359) 2023-11-29 11:07:24 -05:00
changes Reduce server load for fleetd upgrade (#15606) 2023-12-13 14:31:48 -06:00
charts Prepare v4.41.1 (#15500) 2023-12-07 16:06:17 -06:00
cmd pre-calculate host counts for software titles (#15601) 2023-12-13 12:48:57 -03:00
docs Reduce server load for fleetd upgrade (#15606) 2023-12-13 14:31:48 -06:00
ee Add pagination meta to software versions endpoint (#15550) 2023-12-12 12:24:20 -06:00
frontend Add no team option to automatic enrollment modal (#15616) 2023-12-13 12:27:14 -06:00
git-hooks Optional git hooks (#14074) 2023-10-31 09:59:47 -06:00
handbook Adding in new CSA teammate (#15628) 2023-12-13 13:47:40 -06:00
infrastructure ECR Repo and images for osquery in dogfood-free (#15516) 2023-12-13 11:52:57 -06:00
mdm_profiles Update password policy configuration profile (#15468) 2023-12-07 15:18:20 -05:00
orbit Reduce server load for fleetd upgrade (#15606) 2023-12-13 14:31:48 -06:00
pkg Add backoff functionality for fleetd updates (#15489) 2023-12-08 19:43:56 -03:00
proposals Add Fleet server FIPS 140-2 v1 proposal (#13919) 2023-09-19 13:05:14 -03:00
schema 2023-12-06 Regenerate osquery_fleet_schema.json (#15474) 2023-12-08 17:00:12 -06:00
scripts Linux and Windows MDM scripts (#15501) 2023-12-12 14:52:27 -06:00
server Reduce server load for fleetd upgrade (#15606) 2023-12-13 14:31:48 -06:00
terraform firehose addon module updates (#15439) 2023-12-07 19:24:03 -05:00
test/upgrade Bump github.com/docker/docker from 20.10.23+incompatible to 23.0.4+incompatible (#11259) 2023-04-21 14:53:55 -07:00
tools Prepare v4.41.1 (#15500) 2023-12-07 16:06:17 -06:00
website Update scrollable-tweets.component.js (#15617) 2023-12-13 00:09:20 -06:00
.dockerignore Added support to read jwt and mysql password from a file (#141) 2021-01-04 07:58:43 -08:00
.eslintrc.js Complete removal of Cypress (#13389) 2023-08-18 11:06:12 -06:00
.gitattributes Windows friendly changes after walking through getting started guide (#1441) 2021-07-21 20:49:44 -04:00
.gitignore Modifying chart to include dependencies (#14758) 2023-11-07 11:16:33 -06:00
.gitpod.yml Add gitpod yml (#2915) 2021-11-19 10:03:56 -03:00
.golangci.yml Add Kolide osquery tables 2023-11-01 20:11:35 -06:00
.goreleaser-snapshot.yml use image containing installer deps for fleetdm/fleetctl (#7040) 2022-08-24 12:10:16 +00:00
.goreleaser.yml remove deprecated fields from .goreleaser.yml (#12726) 2023-07-12 10:00:47 -07:00
.npmignore Move fleetdm.com into main Fleet repo (#83) 2020-12-02 14:48:03 -06:00
.prettierignore Complete removal of Cypress (#13389) 2023-08-18 11:06:12 -06:00
.prettierrc.json add prettier and have it format all fleet application code (#625) 2021-04-12 14:32:25 +01:00
.trivyignore 8241 trivy ignore file action (#8345) 2022-10-31 10:50:29 -04:00
babel.config.json Fleet Frontend: Create integration tests QuerySidePanel.tests.tsx (#12179) 2023-06-07 12:01:59 -04:00
CHANGELOG.md Prepare v4.41.1 (#15500) 2023-12-07 16:06:17 -06:00
CODE_OF_CONDUCT.md Remove @fleetdm.com emails from fleetdm/fleet repo (#882) 2021-05-27 17:19:14 -04:00
codecov.yml Revert "Enforce codecov requirements" (#15586) 2023-12-13 10:52:37 -06:00
CODEOWNERS Make Rachael Shaw CODEOWNER of docs (#15129) 2023-11-14 22:53:49 -06:00
docker-compose-redis-cluster.yml Move Redis cluster docker yml to separate file (#11162) 2023-04-12 15:14:28 -04:00
docker-compose.yml 14729 smtp settings validation for TLS (#15029) 2023-11-21 11:48:21 -07:00
Dockerfile Bump alpine from 3.17.3 to 3.18.2 (#12367) 2023-06-23 12:33:29 -07:00
Dockerfile-desktop-linux update Go to 1.21.5 (#15592) 2023-12-13 13:57:12 -03:00
Dockerfile.osquery-perf Bump golang from 1.20.3-alpine to 1.20.5-alpine (#12206) 2023-06-23 12:31:37 -07:00
go.mod Add database migrations to support software titles feature (#15401) 2023-12-01 11:33:07 -03:00
go.sum Add database migrations to support software titles feature (#15401) 2023-12-01 11:33:07 -03:00
LICENSE Update LICENSE (#10) 2020-11-04 19:57:51 -06:00
Makefile Require a custom Clone for cacheable items, add tooling and CI check to help catch issues (#15458) 2023-12-06 14:34:22 -05:00
manifest.yml.cloudgov.example cloud.gov deployment (#7611) 2022-09-07 13:30:06 -05:00
package.json Bump axios from 1.2.3 to 1.6.0 (#15088) 2023-11-10 14:07:31 -06: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 Link to some of our fav open source repos (#13476) 2023-08-23 07:18:43 -07:00
SECURITY.md Editing security policy (#5333) 2022-05-05 20:29:06 -05:00
tools.go Update notarization to use notarytool (#7962) 2022-09-27 08:25:42 -07:00
tsconfig.json Fleet UI: Convert URLs in Policy resolution text to be clickable links (#13023) 2023-08-18 09:15:23 -04:00
webpack.config.js Upgrade webpack to v5 (#11173) 2023-04-14 07:58:54 -07:00
yarn.lock Bump axios from 1.2.3 to 1.6.0 (#15088) 2023-11-10 14:07:31 -06:00

Fleet logo, landscape, dark text, transparent background

News   ·   Report a bug   ·   Handbook   ·   Why open source?   ·   Art

Open-source platform for IT and security teams with thousands of computers. Designed for APIs, GitOps, webhooks, YAML, and humans.

A glass city in the clouds

What's it for?

Organizations like Fastly and Gusto use Fleet for vulnerability reporting, detection engineering, device management (MDM), device health monitoring, posture-based access control, managing unused software licenses, and more.

Explore data

To see what kind of data you can use Fleet to gather, check out the table reference documentation.

Out-of-the-box policies

Fleet includes out-of-the box support for all CIS benchmarks for macOS and Windows, as well as many simpler queries.

Take as much or as little as you need for your organization.

Supported platforms

Here are the platforms Fleet currently supports:

  • Linux (all distros)
  • macOS
  • Windows
  • Chromebooks
  • Amazon Web Services (AWS)
  • Google Cloud (GCP)
  • Azure (Microsoft cloud)
  • Data centers
  • Containers (kube, etc)
  • Linux-based IoT devices

Lighter than air

Fleet is lightweight and modular. You can use it for security without using it for MDM, and vice versa. You can turn off features you are not using.

Openness

Fleet is dedicated to flexibility, accessibility, and clarity. We think everyone can contribute and that tools should be as easy as possible for everyone to understand.

Good neighbors

Fleet has no ambition to replace all of your other tools. (Though it might replace some, if you want it to.) Ready-to-use, enterprise-friendly integrations exist for Snowflake, Splunk, GitHub Actions, Vanta, Elastic Jira, Zendesk, and more.

Fleet plays well with Munki, Chef, Puppet, and Ansible, as well as with security tools like Crowdstrike and SentinelOne. For example, you can use the free version of Fleet to quickly report on what hosts are actually running your EDR agent.

While most folks prefer to use one or the other, Fleet can also coexist peacefully with Rapid7 and other agent-based vulnerability scanners. This can be useful during migrations.

Free as in free

The free version of Fleet will always be free. Fleet is independently backed and actively maintained with the help of many amazing contributors.

Longevity

The company behind Fleet is founded (and majority-owned) by true believers in open source. The company's business model is influenced by GitLab (NYSE: GTLB), with great investors, happy customers, and the capacity to become profitable at any time.

In keeping with Fleet's 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.

Is it any good?

Fleet is used in production by IT and security teams with thousands of laptops and servers. Many deployments support tens of thousands of hosts, and a few large organizations manage deployments as large as 400,000+ hosts.

Chat

Please join us in MacAdmins Slack or in osquery Slack.

The Fleet community is full of kind and helpful people. Whether or not you are a paying customer, if you need help, just ask.

Contributing   Run Tests   Go Report Card   CII Best Practices   Twitter Follow  

The landscape of cybersecurity and IT is too complex. Let's open it up.

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

What's next?

To see what Fleet can do, head over to fleetdm.com and try it out for yourself, grab time with one of the maintainers to discuss, or visit the docs and roll it out to your organization.

Production deployment

Fleet is simple enough to spin up for yourself. Or you can have us host it for you. Premium features are available either way.

Documentation

Complete documentation for Fleet can be found at https://fleetdm.com/docs.

License

The free version of Fleet is available under the MIT license. The commercial license is also designed to allow contributions to paid features for users whose employment agreements allow them to contribute to open source projects. (See LICENSE.md for details.)

Fleet is built on osquery, nanoMDM, Nudge, and swiftDialog.