Fleet is the lightweight, programmable telemetry platform for servers and workstations. Get comprehensive, customizable data from all your devices and operating systems — without the downtime risk.
Go to file
Zachary Wasserman 6fa2413363 Add logging and convenience methods (#34)
* Add request logging.
* Catch/log panic in request handlers.
* Add `mustGetDB` method that gets a DB connection or panics. This can simplify
  boilerplate in handlers.
* Consolidate `file` and `line` in logged fields to `location`.
* Set default log level to `WarnLevel`.
* Log a warning when Kolide is started with the example config.
* Turn on DB logging in debug mode.
2016-08-03 08:01:59 -07:00
tools Add configs + documentation for testing with dockerized osqueryd (#22) 2016-08-02 12:09:30 -07:00
.gitignore Add bootup output to reflect that kolide binary is serving (#29) 2016-08-02 14:42:37 -07:00
auth_test.go Endpoint integration tests (#28) 2016-08-02 15:39:20 -07:00
auth.go Endpoint integration tests (#28) 2016-08-02 15:39:20 -07:00
config.go Add bootup output to reflect that kolide binary is serving (#29) 2016-08-02 14:42:37 -07:00
docker-compose.yml Initial commit 2016-07-28 18:34:26 -04:00
kolide.go Add logging and convenience methods (#34) 2016-08-03 08:01:59 -07:00
models.go Add logging and convenience methods (#34) 2016-08-03 08:01:59 -07:00
osquery.go Initial commit 2016-07-28 18:34:26 -04:00
README.md Add drone.io badge to the README (#21) 2016-08-01 16:44:08 -07:00
server.go Add logging and convenience methods (#34) 2016-08-03 08:01:59 -07:00
sessions_test.go Authentication, authorization and user management (#10) 2016-08-01 16:32:20 -07:00
sessions.go Authentication, authorization and user management (#10) 2016-08-01 16:32:20 -07:00
story_test.go Endpoint integration tests (#28) 2016-08-02 15:39:20 -07:00
users_test.go Endpoint integration tests (#28) 2016-08-02 15:39:20 -07:00
users.go Endpoint integration tests (#28) 2016-08-02 15:39:20 -07:00

Kolide

Build Status

Building

To build the code, run the following from the root of the repository:

go build

Testing

To run the application's tests, run the following from the root of the repository:

go test

Development Environment

To set up the development environment via docker, run the following frmo the root of the repository:

docker-compose up

Obviouly this requires that you have docker installed. At this point in time, automatic configuration tools are not included with this project.

If you'd like to shut down the virtual infrastructure created by docker, run the following from the root of the repository:

docker-compose down

Once you docker-compose up and are running the databases, build the code and run the following command to create the database tables:

kolide prepare-db