# osquery/osquery

SQL powered operating system instrumentation, monitoring, and analytics.

Repository: https://github.com/osquery/osquery
Canonical: https://ross.abutalabs.com/products/osquery
Homepage: https://osquery.io
Language: C++
License: NOASSERTION
License Family: other
Topics: security, monitoring, intrusion-detection, sql, hacktoberfest
Last push: 2026-08-25T16:33:00+00:00

## Health v2 (maintenance only)
Score: 92/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 78, longevity 100
- inputs: {"age_days": 4418, "days_push": 8, "days_rel": 70, "gap_med": 62.5, "n_releases_24m": 11}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 23524, forks 2596 (observed 2026-08-28T04:11:35.042985+00:00)

## What it is
osquery is a SQL-powered operating system instrumentation, monitoring, and analytics framework that exposes OS data as a high-performance relational database. It lets you query running processes, network connections, users, kernel modules, and more using standard SQL, with a plugin and extensions API for custom tables.

## Use cases
- query running processes and open network connections with SQL
- detect suspicious processes with deleted executables
- monitor macOS LaunchDaemons for persistence mechanisms
- inventory installed software and users across a fleet of hosts
- hunt for indicators of compromise on endpoints
- audit file integrity and hardware events

## When to choose
- you need SQL-based visibility into operating system state for security or compliance
- you want a cross-platform endpoint telemetry agent for Linux, macOS, and Windows
- you are building intrusion detection or host monitoring on top of queryable system data

## When to avoid
- you need application-level APM or metrics rather than OS-level data
- you want a turnkey SIEM with dashboards and alerting out of the box
- you only need log aggregation without ad-hoc system queries

## Facets
- artifact type: framework
- maturity: active
- function: monitoring, security, database, logging, analytics
- domain: security, monitoring, operating-systems, developer-tools
- platform: windows, cross-platform, cpp
- tags: endpoint-security, intrusion-detection, sql, system-instrumentation, host-monitoring, osquery, linux, macos

## Member repositories
- osquery/osquery (main) score 92

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:11:35.042985+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T16:56:27.230249+00:00, confidence not recorded.
  - readme: https://github.com/osquery/osquery (fetched 2026-08-28T04:11:35.042985+00:00, sha 52b27ddb8ffe)
  - homepage: https://osquery.io (fetched 2026-08-29T07:54:13.018957+00:00, sha 032c9c3ff54f)
- Data as of 2026-08-30T08:39:29.467469+00:00.
