sean.cavanaugh
03/06/2023, 9:22 PMError: applying fleet config: PATCH /api/latest/fleet/config received status 400 Bad Request: unsupported key provided: "force"
We have force: true
in the options.yaml
file. AFAIK this is still a valid osquery flag - does the error just mean that it's not a supported flag in the config?Kathy Satterlee
03/06/2023, 9:29 PMosquery
. Since --force
is a command-line flag, and osquery has started enforcing not setting command-line flags in config, it's flagged by Fleet as an invalid option. You can include --force
when applying your config if you're using a version of osquery that will allow that flag to be set:
fleetctl apply --force -f config.yaml
More info:
https://fleetdm.com/docs/using-fleet/configuration-files#agent-optionssean.cavanaugh
03/07/2023, 3:58 PM