Skip to content

Commit 96f2537

Browse files
Fixed configs. Currently working locally. (#25)
* Fixed configs. Currently working locally. * Merging with recent changes. * Comment out bootstrap package URL * Comment our bootstrap package URL --------- Co-authored-by: Noah Talerman <[email protected]>
1 parent 862a657 commit 96f2537

6 files changed

+39
-40
lines changed

default.yml

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,19 @@
55
controls: # Controls added to "No team"
66
macos_settings:
77
custom_settings:
8-
- path: ../lib/macos-os-updates.ddm.json
9-
- path: ../lib/macos-password.mobileconfig
8+
- path: ./lib/macos-password.mobileconfig
9+
# DDM support coming soon
10+
# - path: ../lib/macos-os-updates.ddm.json
1011
windows_settings:
1112
custom_settings:
12-
- path: ../lib/windows-screenlock.xml
13+
- path: ./lib/windows-screenlock.xml
1314
scripts:
14-
- path: ../lib/collect-fleetd-logs.sh
15+
- path: ./lib/collect-fleetd-logs.sh
1516
queries:
16-
- path: ./lib/collect-fleetd-update-channel.queries.yml
17+
- path: ./lib/collect-fleetd-update-channels.queries.yml
1718
policies:
18-
agent_options: ./lib/agent-options.yml
19+
agent_options:
20+
path: ./lib/agent-options.yml
1921
org_settings:
2022
server_settings:
2123
debug_host_ids:
@@ -51,4 +53,6 @@ org_settings:
5153
transparency_url: https://fleetdm.com/transparency
5254
host_expiry_settings: # Applies to all teams
5355
host_expiry_enabled: false
54-
features: # Features added to all teams
56+
features: # Features added to all teams
57+
secrets: # These secrets are used to enroll hosts to the "All teams" team
58+
- secret: "$FLEET_GLOBAL_ENROLL_SECRET"

lib/agent-options.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
command_line_flags: {}
1+
command_line_flags:
22
config:
33
decorators:
44
load:
55
- SELECT uuid AS host_uuid FROM system_info;
66
- SELECT hostname AS hostname FROM system_info;
77
options:
88
disable_distributed: false
9-
distributed_interval: 5
9+
distributed_interval: 10
1010
distributed_plugin: tls
1111
distributed_tls_max_attempts: 3
1212
logger_tls_endpoint: /api/v1/osquery/log
13-
pack_delimiter: /
13+
pack_delimiter: /

lib/collect-failed-login-attempts.queryies.yml renamed to lib/collect-failed-login-attempts.queries.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@
33
query: SELECT users.username, account_policy_data.failed_login_count, account_policy_data.failed_login_timestamp FROM users INNER JOIN account_policy_data using (uid) WHERE account_policy_data.failed_login_count > 0;
44
interval: 300 # 5 minutes
55
observer_can_run: false
6-
automations_enabled: false
6+
automations_enabled: false
7+
platform: darwin,linux,windows

lib/collect-fleetd-update-channels.queries.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@
44
interval: 300 # 5 minutes
55
observer_can_run: true
66
automations_enabled: false
7+
platform: darwin,linux,windows

teams/workstations-canary.yml

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -11,22 +11,22 @@ controls:
1111
deadline: "2023-08-11"
1212
minimum_version: "13.5"
1313
windows_updates:
14-
deadline: "5"
15-
grace_period: "2"
14+
deadline_days: 5
15+
grace_period_days: 2
1616
macos_settings:
1717
custom_settings:
18-
- path: ../lib/macos-os-updates.ddm.json
18+
# - path: ../lib/macos-os-updates.ddm.json (DDM coming soon)
1919
- path: ../lib/macos-password.mobileconfig
2020
windows_settings:
2121
custom_settings:
2222
- path: ../lib/windows-screenlock.xml
2323
macos_setup:
24-
bootstrap_package: https://github.com/organinzation/repository/bootstrap-package.pkg
24+
# bootstrap_package: https://github.com/organinzation/repository/bootstrap-package.pkg (Example URL)
2525
enable_end_user_authentication: true
2626
macos_setup_assistant: ../lib/automatic-enrollment.dep.json
2727
scripts:
2828
- path: ../lib/remove-zoom-artifacts.script.sh
29-
- path: ../lib/reset-timezone.sh
29+
- path: ../lib/set-timezone.script.sh
3030
queries:
3131
- path: ../lib/collect-usb-devices.queries.yml
3232
- path: ../lib/collect-failed-login-attempts.queries.yml
@@ -36,12 +36,11 @@ queries:
3636
interval: 300
3737
observer_can_run: true
3838
automations_enabled: false
39-
policies:
40-
- path: ../lib/macos-device-health.policies.yml
41-
- path: ../lib/windows-device-health.policies.yml
42-
- path: ../lib/windows-device-health.policies.yml
43-
agent_options: ./lib/agent-options.yml
39+
policies:
40+
- path: ../lib/macos-device-health.policies.yml
41+
- path: ../lib/windows-device-health.policies.yml
42+
agent_options:
43+
path: ../lib/agent-options.yml
4444
team_settings:
45-
webhook_settings:
4645
secrets:
47-
- secret: $FLEET_WORKSTATIONS_CANARY_ENROLL_SECRET
46+
- secret: "$FLEET_WORKSTATIONS_CANARY_ENROLL_SECRET"

teams/workstations.yml

Lines changed: 11 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -11,36 +11,30 @@ controls:
1111
deadline: "2023-08-11"
1212
minimum_version: "13.5"
1313
windows_updates:
14-
deadline: "5"
15-
grace_period: "2"
14+
deadline_days: 5
15+
grace_period_days: 2
1616
macos_settings:
1717
custom_settings:
18-
- path: ../lib/macos-os-updates.ddm.json
18+
# - path: ../lib/macos-os-updates.ddm.json (DDM coming soon)
1919
- path: ../lib/macos-password.mobileconfig
2020
windows_settings:
2121
custom_settings:
2222
- path: ../lib/windows-screenlock.xml
2323
macos_setup:
24-
bootstrap_package: https://github.com/organinzation/repository/bootstrap-package.pkg
24+
# bootstrap_package: https://github.com/organinzation/repository/bootstrap-package.pkg (example URL)
2525
enable_end_user_authentication: true
2626
macos_setup_assistant: ../lib/automatic-enrollment.dep.json
2727
scripts:
2828
- path: ../lib/remove-zoom-artifacts.script.sh
29-
- path: ../lib/reset-timezone.sh
29+
- path: ../lib/set-timezone.script.sh
3030
queries:
3131
- path: ../lib/collect-usb-devices.queries.yml
3232
- path: ../lib/collect-failed-login-attempts.queries.yml
33-
policies:
34-
- path: ../lib/macos-device-health.policies.yml
35-
- path: ../lib/windows-device-health.policies.yml
36-
- path: ../lib/windows-device-health.policies.yml
37-
agent_options: ./lib/agent-options.yml
33+
policies:
34+
- path: ../lib/macos-device-health.policies.yml
35+
- path: ../lib/windows-device-health.policies.yml
36+
agent_options:
37+
path: ../lib/agent-options.yml
3838
team_settings:
39-
webhook_settings:
40-
failing_policies_webhook:
41-
enable_failing_policies_webhook: true
42-
destination_url: https://example.tines.com/webhook
43-
policy_ids: [1, 2, 3, 4, 5,6 ,7, 8, 9]
4439
secrets:
45-
- secret: $FLEET_WORKSTATIONS_ENROLL_SECRET
46-
40+
- secret: "$FLEET_WORKSTATIONS_ENROLL_SECRET"

0 commit comments

Comments
 (0)