Skip to content

Commit 8aba03a

Browse files
author
Teddy Reed
committed
Update thrift spec to version 1.8.0
1 parent 65ce4fa commit 8aba03a

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

osquery.thrift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
namespace cpp osquery.extensions
2-
namespace py osquery.extensions
32

43
/// Registry operations use a registry name, plugin name, request/response.
54
typedef map<string, string> ExtensionPluginRequest
@@ -69,6 +68,8 @@ service Extension {
6968
2:string item,
7069
/// The thrift-equivilent of an osquery::PluginRequest.
7170
3:ExtensionPluginRequest request),
71+
/// Request that an extension shutdown (does not apply to managers).
72+
void shutdown(),
7273
}
7374

7475
/// The extension manager is run by the osquery core process.

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ def finalize_options(self):
2525
def run(self):
2626
"""Run the command"""
2727
system("thrift -gen py -out . osquery.thrift")
28-
system("rm osquery/extensions/*-remote")
29-
system("rm __init__.py")
28+
system("rm ./osquery/extensions/*-remote")
29+
system("rm ./__init__.py")
3030

3131
class LintCommand(Command):
3232
"""Run pylint on implementation and test code"""

0 commit comments

Comments
 (0)