Osquery makes operating system state queryable with SQL
Summary
Facebook releases osquery, which exposes processes, files, users, packages and kernel information as relational tables. Osquery was released at Facebook in 2014. The project supports Linux, macOS and Windows.
Ideas
- Virtual tables translate operating system data into SQL rows.
- A common query language unifies inventory and diagnostics.
- Scheduled queries detect state changes on many machines.
- Extensions add your own data sources and tables.
Insights
- Familiar interfaces make system data accessible to more teams.
- Uniform queries make fleet comparisons and forensic searches easier.
- Observability needs secure distribution and limits on powerful queries.
Facts
- The query engine is based on SQLite.
Recommendations
- Keep important queries and their expected results under version control.
- Restrict access to sensitive tables and logs.
References
Links to the original source and the Web Archive open in a new tab.