sean.cavanaugh03/06/2023, 9:22 PM
Error: applying fleet config: PATCH /api/latest/fleet/config received status 400 Bad Request: unsupported key provided: "force"
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 Satterlee03/06/2023, 9:29 PM
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
when applying your config if you're using a version of osquery that will allow that flag to be set:
More info: https://fleetdm.com/docs/using-fleet/configuration-files#agent-options
fleetctl apply --force -f config.yaml
sean.cavanaugh03/07/2023, 3:58 PM