https://github.com/osquery/osquery logo
Title
a

Arsenio

01/12/2023, 6:30 PM
Me again lol. Is there a way to set webhook intervals via fleetctl? I tried
fleetctl config set --webhook_settings.interval 15m
but got incorrect usage.
k

Kathy Satterlee

01/12/2023, 6:47 PM
Check out this section of the docs: https://fleetdm.com/docs/using-fleet/fleetctl-cli#using-fleetctl-to-configure-fleet First, retreive your existing configuration and save to file:
fleetctl get config > fleet_settings.yml
Then edit
fleet_settings.yml.
Once you're ready. apply the changes:
fleetctl apply -f fleet_settings.yml
a

Arsenio

01/12/2023, 6:47 PM
omg lol TY!
@Kathy Satterlee
Error: applying fleet config: PATCH /api/latest/fleet/config received status 422 Validation Failed: missing or invalid license
got this error. don't have a license in it. and didn't have it when i pulled it down either
k

Kathy Satterlee

01/12/2023, 6:57 PM
let me dig in to that.
a

Arsenio

01/12/2023, 6:57 PM
using 4.25 as well
both server and fleetctl
k

Kathy Satterlee

01/12/2023, 7:16 PM
It sounds like you may have something in your config that's restricted to Fleet Premium. I spun up a preview server and saw the same error. Would you mind sharing your config? You can either DM it to me or post here with any sensitive data redacted, whichever is easier.
Update: That was the culprit here as well. Will share the ticket for the bug shortly.