https://github.com/caseycs/osquery-http
http interface for osquery
https://github.com/caseycs/osquery-http
http http-server osquery
Last synced: 2 months ago
JSON representation
http interface for osquery
- Host: GitHub
- URL: https://github.com/caseycs/osquery-http
- Owner: caseycs
- License: mit
- Created: 2017-02-21T00:09:09.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-02-21T00:21:59.000Z (about 9 years ago)
- Last Synced: 2024-06-20T12:44:09.859Z (almost 2 years ago)
- Topics: http, http-server, osquery
- Language: Go
- Homepage:
- Size: 2.93 KB
- Stars: 0
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# osquery-http
http endpoint for [osquery](https://github.com/facebook/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'
````