mirror of
https://github.com/fleetdm/fleet
synced 2026-05-23 00:49:03 +00:00
Set default config_refresh in fleet flags
This ensures we don't end up in a state where osquery does not check in for config updates.
This commit is contained in:
parent
f38206a927
commit
aa562c3a52
1 changed files with 4 additions and 0 deletions
|
|
@ -13,6 +13,10 @@ func FleetFlags(fleetURL *url.URL) []string {
|
|||
"--enroll_tls_endpoint=" + path.Join(prefix, "/api/v1/osquery/enroll"),
|
||||
"--config_plugin=tls",
|
||||
"--config_tls_endpoint=" + path.Join(prefix, "/api/v1/osquery/config"),
|
||||
// Osquery defaults config_refresh to 0 which is probably not ideal for
|
||||
// a client connected to Fleet. Users can always override this in the
|
||||
// config they serve via Fleet.
|
||||
"--config_refresh=60",
|
||||
"--disable_distributed=false",
|
||||
"--distributed_plugin=tls",
|
||||
"--distributed_tls_max_attempts=10",
|
||||
|
|
|
|||
Loading…
Reference in a new issue