mirror of
https://github.com/fleetdm/fleet
synced 2026-05-23 17:08:53 +00:00
Repurpose policies (#17560)
- Update CIS guest account policy - Update guest account policy in dogfood
This commit is contained in:
parent
3ba6bb50c4
commit
3365fd736f
3 changed files with 3 additions and 21 deletions
|
|
@ -2110,10 +2110,7 @@ spec:
|
|||
3. Select the i next to the Guest User
|
||||
4. Verify that Allow guests to log in to this computer is disable
|
||||
query: |
|
||||
SELECT 1 WHERE
|
||||
EXISTS(SELECT 1 FROM plist WHERE path='/Library/Preferences/com.apple.loginwindow.plist' AND key='GuestEnabled' AND value = 0)
|
||||
OR
|
||||
EXISTS(select 1 FROM plist WHERE path='/Library/Preferences/com.apple.MCX.plist' AND key='DisableGuestAccount' AND value = 1);
|
||||
SELECT 1 FROM plist WHERE path='/Library/Preferences/com.apple.loginwindow.plist' AND key='GuestEnabled' AND value = 0;
|
||||
purpose: Informational
|
||||
tags: compliance, CIS, CIS_Level1, CIS-macos-13-2.12.1
|
||||
contributors: sharon-fdm
|
||||
|
|
|
|||
|
|
@ -2110,10 +2110,7 @@ spec:
|
|||
3. Select the i next to the Guest User
|
||||
4. Verify that Allow guests to log in to this computer is disable
|
||||
query: |
|
||||
SELECT 1 WHERE
|
||||
EXISTS(SELECT 1 FROM plist WHERE path='/Library/Preferences/com.apple.loginwindow.plist' AND key='GuestEnabled' AND value = 0)
|
||||
OR
|
||||
EXISTS(select 1 FROM plist WHERE path='/Library/Preferences/com.apple.MCX.plist' AND key='DisableGuestAccount' AND value = 1);
|
||||
SELECT 1 FROM plist WHERE path='/Library/Preferences/com.apple.loginwindow.plist' AND key='GuestEnabled' AND value = 0;
|
||||
purpose: Informational
|
||||
tags: compliance, CIS, CIS_Level1
|
||||
contributors: sharon-fdm
|
||||
|
|
|
|||
|
|
@ -17,19 +17,7 @@
|
|||
resolution: An an IT admin, deploy a macOS, login window profile with the DisableGuestAccount option set to true.
|
||||
platform: darwin
|
||||
- name: macOS - Require 10 character password
|
||||
query: SELECT 1 WHERE
|
||||
EXISTS (
|
||||
SELECT 1 FROM managed_policies WHERE
|
||||
domain='com.apple.screensaver' AND
|
||||
name='askForPassword' AND
|
||||
CAST(value AS INT)
|
||||
)
|
||||
AND EXISTS (
|
||||
SELECT 1 FROM managed_policies WHERE
|
||||
domain='com.apple.screensaver' AND
|
||||
name='minLength' AND
|
||||
CAST(value AS INT) <= 10
|
||||
);
|
||||
query: SELECT 1 FROM plist WHERE path='/Library/Preferences/com.apple.loginwindow.plist' AND key='GuestEnabled' AND value = 0;
|
||||
critical: false
|
||||
description: This policy checks if the end user is required to enter a password, with at least 10 characters, to unlock the host.
|
||||
resolution: An an IT admin, deploy a macOS, screensaver profile with the askForPassword option set to true and minLength option set to 10.
|
||||
|
|
|
|||
Loading…
Reference in a new issue