You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In osquery, SQL tables, configuration retrieval, log handling, etc are implemented via a simple, robust plugin and extensions API. This project contains the official Python bindings for creating osquery extensions in Python. Consider the following example:
14
12
15
13
```python
@@ -116,13 +114,18 @@ Then use the Python bindings:
116
114
```python
117
115
import osquery
118
116
117
+
LINUX_THRIFT_SOCKET='/var/osquery/osquery.em'
118
+
WINDOWS_THRIFT_SOCKET=r'\\.\pipe\osquery.em'
119
+
119
120
if__name__=="__main__":
120
121
# You must know the Thrift socket path
121
122
# For an installed and running system osqueryd, this is:
0 commit comments