Channels
doorman
infrastructure
random
zercurity
community-feeds
fleet-dev
code-review
queryhub
apple-silicon
carving
tls
fim
goquery
zentral
aws
querycon
golang
zeek
file-carving
fuzzing
auditing-warroom
linen-dev
fleetosquery
plugins
jobs
arm-architecture
darkbytes
process-auditing
uptycs
android_tests
selfgroup
vendor-feeds
fleet
eclecticiq-polylogyx-extension
ebpf
website
core
general
macos
kolide
osctrl
extensions
foundation
sql
officehours
linux
windows
Powered by
Title
k
KryptoNyte
04/24/2020, 4:31 PM
I now would like to query
myhost:8000/api/v1/kolide/hosts
for example
s
sundsta
04/24/2020, 4:45 PM
Use fleetctl
k
KryptoNyte
04/24/2020, 4:47 PM
ok thanks, I understand that may work
But what if I have a custom frontend which wants to query fleet via API?
I mean, the docs say there is an API
s
sundsta
04/24/2020, 4:49 PM
There is. It isn’t documented outside of the source at the moment except for the routes that exist. See
https://github.com/kolide/fleet/tree/df93abd722e006c76af9616f1b9ba0f5cd7bf475/docs/api
A quick skim of the source shows it is a bearer token
https://github.com/kolide/fleet/blob/df93abd722e006c76af9616f1b9ba0f5cd7bf475/server/service/client.go#L117
k
KryptoNyte
04/24/2020, 4:55 PM
cool, looking at all this, thanks!
yay it worked!!!!
Thank you
3 Views
#kolide
Join Slack