Is the intended outcome to be able to SELECT tables that live in a database outside of osquery? You can create an extension that1. connects to your database
2. enumerates the tables
3. creates a new table plugin for each discovered table
4. when a query happens in the extension, it is forwarded to the external database
09/08/2020, 4:06 AM
I am think alternative of https://www.kolide.com/fleetwhich I write a query, send to presto, it connects my machine(s)' osqueryd and response live data
09/08/2020, 4:59 PM
I don't think anything like that exists. You could implement it using the same APIs that Fleet uses.