macadmins / osquery-extension

An osquery extension for endpoint engineers
Apache License 2.0
97 stars 32 forks source link

Upgrade osquery-go to latest (with Apache Thrift library upgrade) #15

Closed lucasmrod closed 2 years ago

lucasmrod commented 2 years ago

Hi folks. I'm Lucas, a developer at Fleet DM.

We've hit some issues with the osquery-go's transport (e.g. https://github.com/fleetdm/fleet/issues/4337), and believe an upgrade to the latest Apache Thrift library could help.

osquery-go has upgraded the Apache Thrift library version from 0.13.0 to 0.16.0, see https://github.com/osquery/osquery-go/commit/954ac78f381fa2e896490833cd4bdc5d86b3a7cd. Between 0.13.0 and 0.16.0 there are several fixes to the Apache Thrift Go bindings: https://github.com/apache/thrift/blob/master/CHANGES.md

This PR is the result of upgrading osquery-go to latest by running:

go get -u github.com/osquery/osquery-go@latest