We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8536ff5 commit d872596Copy full SHA for d872596
README.rst
@@ -27,6 +27,8 @@ example:
27
28
.. code-block:: python
29
30
+ #!/usr/bin/env python
31
+
32
import osquery
33
34
@osquery.register_plugin
@@ -73,6 +75,12 @@ Then start the Python extension:
73
75
74
76
python ./my_table_plugin.py --socket /Users/USERNAME/.osquery/shell.em
77
78
+Alternatively, you can also autoload your extension when starting an osquery shell:
79
80
+.. code-block:: none
81
82
+ osqueryi --extension path_to_my_table_plugin.py
83
84
This will register a table called "foobar". As you can see, the table will
85
return two rows:
86
0 commit comments