MCPcopy
hub / github.com/fleetdm/fleet

github.com/fleetdm/fleet @fleet-v4.88.0 sqlite

repository ↗ · DeepWiki ↗ · release fleet-v4.88.0 ↗
41,580 symbols 178,416 edges 6,399 files 10,455 documented · 25%
README

Fleet logo, landscape, dark text, transparent background

News   ·   Report a bug   ·   Docs   ·   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?

Fleet gives you a single system to secure and maintain all your computing devices over the air. You can do MDM, patch stuff, deploy software, and verify anything, all from one place, across every OS your organization uses.

Fleet works directly with data and events from the native operating system, down to the bare metal. Strong diagnostics let you investigate errors on end-user devices and collect accurate audit evidence in minutes.

Get started

You can try Fleet out for yourself, or grab time with one of the maintainers to chat.

Is it any good?

Fleet is used in production by IT and security teams managing thousands of devices. Many deployments support tens of thousands of hosts, and a few large organizations manage 400,000 or more.

Supported platforms

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

Infrastructure as code

Manage your fleet with GitOps, or use the GUI, REST API, webhook events, and the fleetctl command-line tool.

Linux support

First-class support for all major distros. Linux gets the same attention and visibility as macOS and Windows.

Visibility and compliance

Fleet can report on hundreds of attributes across your devices and ships with CIS benchmarks for macOS and Windows and comprehensive operating system, hardware, and software data. Check out the table reference documentation to see what's available.

Open by design

Fleet is open source and transparent about what it can and can't see. End users can verify exactly how the agent works and what data their company collects. Fleet collects only the data needed to manage and secure devices, not private activity like keystrokes, emails, or webcams.

Good neighbors

Ready-to-use, enterprise-friendly integrations exist for Snowflake, Splunk, GitHub Actions, Vanta, Elastic Jira, Zendesk, and more. Fleet also works with tools such as Munki, Chef, Puppet, Ansible, CrowdStrike, and SentinelOne.

Lighter than air

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

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.

Fleet Device Management's company handbook is public and open source. You can read about the history of Fleet and our commitment to improving the product.

Chat

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

Contributing   Go Report Card   CII Best Practices  

Contributions are welcome, whether you answer questions on Slack / GitHub / LinkedIn, 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.

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.

Extension points exported contracts — how you extend this code

HTTPClient (Interface)
HTTPClient interface allows the HTTP methods to be mocked. [17 implementers]
client/base_client.go
HostProvider (Interface)
HostProvider is the interface for fetching host data. [7 implementers]
server/activity/host.go
SetOrbitNodeKeyer (Interface)
SetOrbitNodeKeyer is the interface implemented by orbit request types that carry an orbit node key for authentication. [12 …
server/fleet/api_orbit.go
Job (Interface)
Job defines an interface for jobs that can be run by the Worker [11 implementers]
server/worker/worker.go
Errorer (Interface)
Errorer is implemented by response types that may contain errors. [509 implementers]
server/platform/http/response.go
Doer (Interface)
Doer executes an HTTP request. [17 implementers]
server/mdm/nanodep/client/client.go
Checker (Interface)
Checker returns an error indicating if a service is in an unhealthy state. Checkers should be implemented by dependencie [7 …
server/health/health.go
UsersByIDsLookup (Interface)
UsersByIDsLookup is the minimal interface needed to look up user summaries by ID without going through the service layer [9 …
server/acl/activityacl/fleet_adapter.go

Core symbols most depended-on inside this repo

Equal
called by 17013
server/mdm/assets/assets.go
Wrap
called by 6139
server/contexts/ctxerr/ctxerr.go
Errorf
called by 5371
server/mdm/testing_utils/testing_utils.go
Run
called by 4432
server/worker/worker.go
String
called by 4191
server/ptr/ptr.go
push
called by 2290
server/vulnerabilities/nvd/tools/cvefeed/stats.go
Len
called by 2243
server/goose/migrate.go
Error
called by 1954
server/platform/http/response.go

Shape

Function 21,809
Method 11,792
Struct 3,916
Interface 1,986
FuncType 1,718
TypeAlias 254
Class 93
Enum 12

Languages

Go72%
TypeScript28%
Python1%

Modules by API surface

server/mock/datastore_mock.go2,067 symbols
website/assets/dependencies/mermaid.min.js1,272 symbols
server/fleet/datastore.go1,076 symbols
server/mock/service/service_mock.go921 symbols
server/fleet/service.go473 symbols
website/assets/dependencies/vue.js417 symbols
ee/vulnerability-dashboard/assets/dependencies/vue.js417 symbols
ee/fleet-agent-downloader/assets/dependencies/vue.js417 symbols
server/fleet/activities.go396 symbols
server/service/apple_mdm.go361 symbols
website/assets/dependencies/lodash.js302 symbols
ee/vulnerability-dashboard/assets/dependencies/lodash.js302 symbols

Dependencies from manifests, versioned

cloud.google.com/gov0.123.0 · 1×
cloud.google.com/go/auth/oauth2adaptv0.2.8 · 1×
cloud.google.com/go/compute/metadatav0.9.0 · 1×
cloud.google.com/go/pubsubv1.50.1 · 1×
cloud.google.com/go/pubsub/v2v2.0.0 · 1×
cyphar.com/go-pathrsv0.2.1 · 1×
dario.cat/mergov1.0.1 · 1×
filippo.io/edwards25519v1.2.0 · 1×
fyne.io/systrayv1.10.1-0.2024011118 · 1×
github.com/AbGuthrie/goquery/v2v2.0.1 · 1×

Datastores touched

(mysql)Database · 1 repos
my_prod_dbDatabase · 1 repos
my_staging_dbDatabase · 1 repos
db_nameDatabase · 1 repos
dbnameDatabase · 1 repos
nanomdmDatabase · 1 repos

For agents

$ claude mcp add fleet \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact