osquery / osquery-go

Go bindings for osquery
MIT License
386 stars 78 forks source link

Add DeregisterExtension endpoint #92

Closed a-cognet closed 3 years ago

a-cognet commented 3 years ago

When the extension manager shuts down, osquery states it should deregister. When the extension is started again, having deregistered can avoid failures when osquery starts the new process before the register watcher has had time to remove the old extension from its map.

a-cognet commented 3 years ago

@zwass, this is the fix I suggest. Please tell me what you think.