Fixed policy check for macOS - Disable guest account (#27531)
I created and tested the fix before seeing the [comment in this issue](https://github.com/fleetdm/fleet/issues/24417). Feel free to merge the fix or close this out but I made this pull request since we had another customer report this issue today.
This commit is contained in:
@@ -118,7 +118,7 @@ policies:
|
||||
- name: macOS - Disable guest account
|
||||
description: This policy checks if the guest account is disabled.
|
||||
resolution: As an IT admin, deploy a macOS, login window profile with the DisableGuestAccount option set to true.
|
||||
query: SELECT 1 FROM managed_policies WHERE domain='com.apple.loginwindow' AND username = '' AND name='DisableGuestAccount' AND CAST(value AS INT) = 1;
|
||||
query: SELECT 1 FROM managed_policies WHERE domain='com.apple.mcx' AND username = '' AND name='DisableGuestAccount' AND CAST(value AS INT) = 1;
|
||||
platform: darwin
|
||||
critical: false
|
||||
calendar_events_enabled: false
|
||||
|
||||
Reference in New Issue
Block a user