From 96c2e46acd6e90e81af3d4ce939e9b87dd3b663a Mon Sep 17 00:00:00 2001 From: Katheryn Satterlee Date: Mon, 3 Apr 2023 09:55:00 -0700 Subject: [PATCH] Update agent_options.overrides (#10939) Corrected indentation for `agent_options.overrides` and added contents to `agent_options.config.options`. Documentation-only change. --- .../Using-Fleet/configuration-files/README.md | 49 ++++++++++--------- 1 file changed, 26 insertions(+), 23 deletions(-) diff --git a/docs/Using-Fleet/configuration-files/README.md b/docs/Using-Fleet/configuration-files/README.md index 8caf59cbb3..312b2f94b9 100644 --- a/docs/Using-Fleet/configuration-files/README.md +++ b/docs/Using-Fleet/configuration-files/README.md @@ -1295,29 +1295,32 @@ In the example file below, all Darwin and Ubuntu hosts will **only** receive the ```yaml agent_options: config: - options: ~ - overrides: - # Note configs in overrides take precedence over the default config defined - # under the config key above. Hosts receive overrides based on the platform - # returned by `SELECT platform FROM os_version`. In this example, the base - # config would be used for Windows and CentOS hosts, while Mac and Ubuntu - # hosts would receive their respective overrides. Note, these overrides are - # NOT merged with the top level configuration. - platforms: - darwin: - options: - distributed_interval: 10 - distributed_tls_max_attempts: 10 - logger_tls_endpoint: /api/osquery/log - logger_tls_period: 300 - disable_tables: chrome_extensions - docker_socket: /var/run/docker.sock - file_paths: - users: - - /Users/%/Library/%% - - /Users/%/Documents/%% - etc: - - /etc/%% + options: + distributed_interval: 3 + distributed_tls_max_attempts: 3 + logger_tls_period: 10 + overrides: + # Note configs in overrides take precedence over the default config defined + # under the config key above. Hosts receive overrides based on the platform + # returned by `SELECT platform FROM os_version`. In this example, the base + # config would be used for Windows and CentOS hosts, while Mac and Ubuntu + # hosts would receive their respective overrides. Note, these overrides are + # NOT merged with the top level configuration. + platforms: + darwin: + options: + distributed_interval: 10 + distributed_tls_max_attempts: 10 + logger_tls_endpoint: /api/osquery/log + logger_tls_period: 300 + disable_tables: chrome_extensions + docker_socket: /var/run/docker.sock + file_paths: + users: + - /Users/%/Library/%% + - /Users/%/Documents/%% + etc: + - /etc/%% ``` ##### agent_options.auto_table_construction