Surprisingly a C++ example is not straightforward in that case (but that’s a problem on our side, there should be an example)Read the readme here for a Python example https://github.com/osquery/osquery-python
05/23/2021, 3:39 AM
Thanks for the information. Any plans of coming up with C++ example in near future?
06/28/2021, 1:44 AM
Does the host running OSQuery needs to have Python installed for using Python extensions or how does it work?
06/29/2021, 1:30 AM
Yes it does, an extension runs as a normal process but will open a socket/pipe and start making API calls to the main osquery process.