What's the correct way to set osquery's `config_re...
# fleet
s
What's the correct way to set osquery's
config_refresh
via the agent options? Started to get
Could not update settings. common config: json: unknown field "config_refresh"
with the latest version even though it's a valid option based on https://osquery.readthedocs.io/en/stable/installation/cli-flags/#configuration-control-flags
j
i think that config_refresh is a CLI flag, and therefore cannot be set via options. While this was not enforced in the past, it is since 5.4: https://github.com/osquery/osquery/pull/7561
you can check what flags can be changed via config if you do
osqueryd --help
k
Thanks, @Juan Alvarez! This was possible to set through agent options previously, but the general rule of thumb is that you can set osquery options, but not command-line flags, through Fleet's agent options.
s
Good to know, thank you