Skip to content

Fleet: Import Default OSQuery Query Packs

Spencer Heywood edited this page Jun 14, 2019 · 2 revisions

Login to your Kolide Fleet instance using fleetctl:

fleetctl config set --address https://localhost:8080
fleetctl login

Download the osquery repository:

git clone https://github.com/facebook/osquery

Then use fleetctl to convert the packs and upload them to the server one at a time:

mkdir new-packs
fleetctl convert -f osquery/packs/osx-attacks.conf >> new-packs/osx-attacks.yaml
fleetctl apply -f ./new-packs/osx-attacks.yaml

Repeat for each pack desired to import.

Additional links:

https://gist.github.com/marpaia/9e061f81fa60b2825f4b6bb8e0cd2c77

https://github.com/palantir/osquery-configuration/tree/master/Fleet