osquery-http

command module
v0.0.0-...-b6f8e85 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 21, 2017 License: MIT Imports: 9 Imported by: 0

README

osquery-http

http endpoint for osquery

Requirements

  • go
  • osquery

Example

Quickstart:

go run main.go
curl 'http://localhost:8000/tables'

A bit more complex:

SECRET=foo go run main.go
curl 'http://localhost:8000/table/users?secret=foo'

And something else:

BIND=localhost:8000 SECRET=foo go run main.go
curl 'http://localhost:8000/query?q=select%20name,cmdline,total_size%20from%20processes%20order%20by%20total_size%20desc%20limit%2010&secret=foo'

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL