Update to FleetDM 4.5

This commit is contained in:
Josh Brower
2021-11-08 15:05:58 -05:00
parent 2561480371
commit 083d467aa9
2 changed files with 46 additions and 43 deletions
+32 -29
View File
@@ -1,31 +1,34 @@
---
apiVersion: v1 apiVersion: v1
kind: options kind: config
spec: spec:
config: server_settings:
decorators: enable_analytics: true
always: config:
- SELECT codename FROM os_version; decorators:
- SELECT uuid AS live_query FROM system_info; always:
- SELECT address AS endpoint_ip1 FROM interface_addresses where address not - SELECT codename FROM os_version;
like '%:%' and address not like '127%' and address not like '169%' order by - SELECT uuid AS live_query FROM system_info;
interface desc limit 1; - SELECT address AS endpoint_ip1 FROM interface_addresses where address not
- SELECT address AS endpoint_ip2 FROM interface_addresses where address not like '%:%' and address not like '127%' and address not like '169%' order by
like '%:%' and address not like '127%' and address not like '169%' order by interface desc limit 1;
interface asc limit 1; - SELECT address AS endpoint_ip2 FROM interface_addresses where address not
- SELECT hardware_serial FROM system_info; like '%:%' and address not like '127%' and address not like '169%' order by
- SELECT hostname AS hostname FROM system_info; interface asc limit 1;
options: - SELECT hardware_serial FROM system_info;
decorations_top_level: true - SELECT hostname AS hostname FROM system_info;
disable_distributed: false options:
distributed_interval: 10 decorations_top_level: true
distributed_plugin: tls disable_distributed: false
distributed_tls_max_attempts: 3 distributed_interval: 10
distributed_tls_read_endpoint: /api/v1/osquery/distributed/read distributed_plugin: tls
distributed_tls_write_endpoint: /api/v1/osquery/distributed/write distributed_tls_max_attempts: 3
enable_windows_events_publisher: true distributed_tls_read_endpoint: /api/v1/osquery/distributed/read
enable_windows_events_subscriber: true distributed_tls_write_endpoint: /api/v1/osquery/distributed/write
logger_plugin: tls enable_windows_events_publisher: true
logger_tls_endpoint: /api/v1/osquery/log enable_windows_events_subscriber: true
logger_tls_period: 10 logger_plugin: tls
pack_delimiter: _ logger_tls_endpoint: /api/v1/osquery/log
overrides: {} logger_tls_period: 10
pack_delimiter: _
overrides: {}
+14 -14
View File
@@ -114,20 +114,20 @@ so-fleet:
- port_bindings: - port_bindings:
- 0.0.0.0:8080:8080 - 0.0.0.0:8080:8080
- environment: - environment:
- KOLIDE_MYSQL_ADDRESS={{ MAINIP }}:3306 - FLEET_MYSQL_ADDRESS={{ MAINIP }}:3306
- KOLIDE_REDIS_ADDRESS={{ MAINIP }}:6379 - FLEET_REDIS_ADDRESS={{ MAINIP }}:6379
- KOLIDE_MYSQL_DATABASE=fleet - FLEET_MYSQL_DATABASE=fleet
- KOLIDE_MYSQL_USERNAME=fleetdbuser - FLEET_MYSQL_USERNAME=fleetdbuser
- KOLIDE_MYSQL_PASSWORD={{ FLEETPASS }} - FLEET_MYSQL_PASSWORD={{ FLEETPASS }}
- KOLIDE_SERVER_CERT=/ssl/server.cert - FLEET_SERVER_CERT=/ssl/server.cert
- KOLIDE_SERVER_KEY=/ssl/server.key - FLEET_SERVER_KEY=/ssl/server.key
- KOLIDE_LOGGING_JSON=true - FLEET_LOGGING_JSON=true
- KOLIDE_AUTH_JWT_KEY= {{ FLEETJWT }} - FLEET_AUTH_JWT_KEY= {{ FLEETJWT }}
- KOLIDE_OSQUERY_STATUS_LOG_FILE=/var/log/fleet/status.log - FLEET_OSQUERY_STATUS_LOG_FILE=/var/log/fleet/status.log
- KOLIDE_OSQUERY_RESULT_LOG_FILE=/var/log/osquery/result.log - FLEET_OSQUERY_RESULT_LOG_FILE=/var/log/osquery/result.log
- KOLIDE_SERVER_URL_PREFIX=/fleet - FLEET_SERVER_URL_PREFIX=/fleet
- KOLIDE_FILESYSTEM_ENABLE_LOG_ROTATION=true - FLEET_FILESYSTEM_ENABLE_LOG_ROTATION=true
- KOLIDE_FILESYSTEM_ENABLE_LOG_COMPRESSION=true - FLEET_FILESYSTEM_ENABLE_LOG_COMPRESSION=true
- binds: - binds:
- /etc/pki/fleet.key:/ssl/server.key:ro - /etc/pki/fleet.key:/ssl/server.key:ro
- /etc/pki/fleet.crt:/ssl/server.cert:ro - /etc/pki/fleet.crt:/ssl/server.cert:ro