{"action":"created","issue":{"url":"https://api.github.com/repos/osquery/osquery-python/issues/22","repository_url":"https://api.github.com/repos/osquery/osquery-python","labels_url":"https://api.github.com/repos/osquery/osquery-python/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/osquery/osquery-python/issues/22/comments","events_url":"https://api.github.com/repos/osquery/osquery-python/issues/22/events","html_url":"https://github.com/osquery/osquery-python/issues/22","id":160431654,"number":22,"title":"How to get a python table to autoload?","user":{"login":"cneerdaels","id":15041962,"avatar_url":"https://avatars.githubusercontent.com/u/15041962?v=3","gravatar_id":"","url":"https://api.github.com/users/cneerdaels","html_url":"https://github.com/cneerdaels","followers_url":"https://api.github.com/users/cneerdaels/followers","following_url":"https://api.github.com/users/cneerdaels/following{/other_user}","gists_url":"https://api.github.com/users/cneerdaels/gists{/gist_id}","starred_url":"https://api.github.com/users/cneerdaels/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cneerdaels/subscriptions","organizations_url":"https://api.github.com/users/cneerdaels/orgs","repos_url":"https://api.github.com/users/cneerdaels/repos","events_url":"https://api.github.com/users/cneerdaels/events{/privacy}","received_events_url":"https://api.github.com/users/cneerdaels/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-06-15T14:09:43Z","updated_at":"2016-06-15T20:23:18Z","closed_at":null,"body":"I've managed to create a table in python and manually load it so that I can query it via osqueryi, but I can't figure out how to make that table autoload. I feel like I must be missing something obvious, but I'd appreciate any help."},"comment":{"url":"https://api.github.com/repos/osquery/osquery-python/issues/comments/226308580","html_url":"https://github.com/osquery/osquery-python/issues/22#issuecomment-226308580","issue_url":"https://api.github.com/repos/osquery/osquery-python/issues/22","id":226308580,"user":{"login":"marpaia","id":927168,"avatar_url":"https://avatars.githubusercontent.com/u/927168?v=3","gravatar_id":"","url":"https://api.github.com/users/marpaia","html_url":"https://github.com/marpaia","followers_url":"https://api.github.com/users/marpaia/followers","following_url":"https://api.github.com/users/marpaia/following{/other_user}","gists_url":"https://api.github.com/users/marpaia/gists{/gist_id}","starred_url":"https://api.github.com/users/marpaia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marpaia/subscriptions","organizations_url":"https://api.github.com/users/marpaia/orgs","repos_url":"https://api.github.com/users/marpaia/repos","events_url":"https://api.github.com/users/marpaia/events{/privacy}","received_events_url":"https://api.github.com/users/marpaia/received_events","type":"User","site_admin":false},"created_at":"2016-06-15T20:23:18Z","updated_at":"2016-06-15T20:23:18Z","body":"Hey @cneerdaels, have you checked out the [wiki on autoloading extensions](https://osquery.readthedocs.io/en/stable/deployment/extensions/#autoloading-extensions)? Basically, if you have your table set up in a python file (with a shebang at the top and the file marked as executable), you can set an autoload file which points to the python extension and your extension should be auto-loaded."}}
{"actor":{"display_login":"marpaia"}}