osquery is an open-source framework for operating-system instrumentation and monitoring. It presents Windows, macOS and Linux as a relational database that you can query with SQL, for example to examine processes, installed software, network connections or users. The osqueryd component runs as a background daemon and executes scheduled queries, while osqueryi offers an interactive console for incident response and troubleshooting. osquery is installed by the organisation itself and forms the basis of various endpoint and security products. It is an open alternative to the built-in inventory and reporting functions of commercial endpoint management tools.
The project was developed by Facebook and has been part of the osquery Foundation within the Linux Foundation, a US non-profit, since 2019. The code is on GitHub under the Apache-2.0 and GPL-2.0 licences. The maintainer does not run a cloud platform: data is collected on your own systems and stays there unless you forward it to a logging platform of your own. For European organisations this means control over the data flow, while the project's governance sits in the United States.