Skip to content

Commit

Permalink
Update policies via GitOps (#18537)
Browse files Browse the repository at this point in the history
  • Loading branch information
lukeheath committed Apr 25, 2024
1 parent b82d5f4 commit 3a538e9
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 9 deletions.
9 changes: 0 additions & 9 deletions it-and-security/lib/macos-device-health.policies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,12 +64,3 @@
description: Looks for PDF files with file names typically used by 1Password for emergency recovery kits. To protect the performance of your devices, the search is one level deep and limited to the Desktop, Documents, Downloads, and Shared folders.
resolution: Delete 1Password emergency kits from your computer, and empty the trash. 1Password emergency kits should only be printed and stored in a physically secure location.
platform: darwin
- name: macOS - Check if latest version
query: |
SELECT 1 FROM os_version
WHERE (major > 14 OR (major = 14 AND minor > 4) OR (major = 14 AND minor = 4 AND patch >= 1)) --Sonoma
critical: false
description: This policy check if macOS version is most recent version available.
resolution: From the Apple menu, select System Settings. Navigate to General > Software Update.
platform: darwin
calendar_events_enabled: true
9 changes: 9 additions & 0 deletions it-and-security/teams/workstations-canary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,15 @@ policies:
- path: ../lib/macos-device-health.policies.yml
- path: ../lib/windows-device-health.policies.yml
- path: ../lib/linux-device-health.policies.yml
- name: macOS - Check if latest version
query: |
SELECT 1 FROM os_version
WHERE (major > 14 OR (major = 14 AND minor > 4) OR (major = 14 AND minor = 4 AND patch >= 2)) --Sonoma
critical: false
description: This policy check if macOS version is most recent version available.
resolution: From the Apple menu, select System Settings. Navigate to General > Software Update.
platform: darwin
calendar_events_enabled: true
queries:
- path: ../lib/collect-failed-login-attempts.queries.yml
- path: ../lib/collect-fleetd-information.yml
Expand Down
13 changes: 13 additions & 0 deletions it-and-security/teams/workstations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ team_settings:
host_expiry_window: 0
secrets:
- secret: $DOGFOOD_WORKSTATIONS_ENROLL_SECRET
integrations:
google_calendar:
enable_calendar_events: true
webhook_url: $DOGFOOD_WORKSTATIONS_CANARY_CALENDAR_WEBHOOK_URL
agent_options:
path: ../lib/agent-options.yml
controls:
Expand Down Expand Up @@ -57,6 +61,15 @@ policies:
- path: ../lib/macos-device-health.policies.yml
- path: ../lib/windows-device-health.policies.yml
- path: ../lib/linux-device-health.policies.yml
- name: macOS - Check if latest version
query: |
SELECT 1 FROM os_version
WHERE (major > 14 OR (major = 14 AND minor > 4) OR (major = 14 AND minor = 4 AND patch >= 1)) --Sonoma
critical: false
description: This policy check if macOS version is most recent version available.
resolution: From the Apple menu, select System Settings. Navigate to General > Software Update.
platform: darwin
calendar_events_enabled: true
queries:
- path: ../lib/collect-failed-login-attempts.queries.yml
- path: ../lib/collect-usb-devices.queries.yml
Expand Down

0 comments on commit 3a538e9

Please sign in to comment.