Proxy for a small selection of the Kolide API.
git clone git@github.com:nais/kolide-api-proxy.git
cd kolide-api-proxy
Install tools using mise:
mise install
Create a copy of the example environment file and adjust as needed:
cp .env.example .env
Run the application to start the HTTP server:
go run main.go
Point your HTTP client of choice to http://localhost:8080/api/devices
(or the HTTP_LISTEN_ADDRESS
you have specified in your .env
file), authenticate using username:password
(or the PROXY_USERNAME:PROXY_PASSWORD
combination you have specified in your .env
file) to view devices.
Run mise run
to see all available tasks. These are some of the most common ones used for local development:
mise run check # run all static code analysis tools
MIT, see LICENSE.txt for details.