Releases: AbGuthrie/goquery
Fix go get
Alias Arguments Bugfix Release
This patch release fixes a big with how the arguments were interpolated into alias commands.
Alias Description Release
There was a small bug meaning that alias descriptions were loaded not used. This is now fixed.
Fix go mod definition with major version bump
This release fixes the issue with the semantic version breaking bump of goquery to version 2.0
The go mod file has been updated and all internal imports now reference the require /v2 library suffix.
Examples are updated as well, with the new goquery import as:
"github.com/AbGuthrie/goquery/v2"
"github.com/AbGuthrie/goquery/v2/models"
Issues fixed:
Rework architecture so goquery can be imported and used as an external library
This release publishes the refactor of the project to be more go-centric as well as other usability improvements such as alias descriptions.
With this release we aim for people to be able to much more easily integrate goquery into their own systems without having to make changes to the goquery code that cannot be upstreamed (private integrations, commands, etc)
Now, integration is as simple as importing a dependency and calling the exposed Run
. Below is a contrived example:
package main
import (
"github.com/AbGuthrie/goquery"
"github.com/AbGuthrie/goquery/config"
)
func main() {
api := myCustomAPI{} // or import a pre-made integration (osctrl)
cfg = config.Config{} // populate the goquery config object
goquery.Run(api, cfg) // call and goquery
}
See mock implementation examples in the new /examples
directory.
This release covers:
Initial Release
This release marks the implementation of the required features needed to submitting queries and pulling data from an osquery fleet through a shell client integration (goquery)
With this version you can interact with osquery on a host with .connect, .query commands, and the feel of shell navigation with special commands such as ls
and cd
This release features osctrl integration. For a custom integration that will enable goquery to talk to a host's osquery instance, a server and specific endpoints must be implemented. See goserver/mock_osquery_server.go
for a reference implementation.
Huge credit to @obelisk for the hard work in organization, implementation, and drive to bring this project to life