osquery / osquery-go

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

Fix QueryContext parsing for osquery 3.0 #54

Closed zwass closed 6 years ago

zwass commented 6 years ago

Due to changes in the types of JSON values, we need to be careful about how we parse the provided QueryContext. JSON was previously all strings, but now contains the types that one would expect. We need to maintain backwards compatibility while supporting the new (correct) version.

Fixes #53