Dan Achin
01/13/2021, 6:59 PMGavin
01/13/2021, 7:23 PMfleetctl
binary does this for you. https://github.com/fleetdm/fleet/releases/tag/3.6.0
fleetctl convert -h ✘ 130
NAME:
fleetctl convert - Convert osquery packs into decomposed fleet configs
USAGE:
fleetctl convert [options]
OPTIONS:
--config value Path to the Fleet config file (default: "/Users/gavin/.fleet/config") [$CONFIG]
--context value Name of Fleet config context to use (default: "default") [$CONTEXT]
-f value A file to apply [$FILENAME]
--debug Whether or not to enable debug logging [$DEBUG
Dan Achin
01/13/2021, 7:33 PMzwass
01/13/2021, 7:42 PMfleetctl get
the relevant configs into files and then fleetctl apply
those files in a new instance. fleetctl
supports separate "contexts" so that you could have both configured at the same time.Dan Achin
01/13/2021, 7:44 PM