Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ example:

.. code-block:: python

#!/usr/bin/env python

import osquery

@osquery.register_plugin
Expand Down Expand Up @@ -73,6 +75,12 @@ Then start the Python extension:

python ./my_table_plugin.py --socket /Users/USERNAME/.osquery/shell.em

Alternatively, you can also autoload your extension when starting an osquery shell:

.. code-block:: none

osqueryi --extension path_to_my_table_plugin.py

This will register a table called "foobar". As you can see, the table will
return two rows:

Expand Down