mirror of
https://github.com/fleetdm/fleet
synced 2026-05-23 00:49:03 +00:00
Fix guest policy in standard query library and constants.ts (#4573)
* Fix guest policy in standard query library * Fix guest policy in constants.ts
This commit is contained in:
parent
a9d2d28495
commit
62042e35cd
2 changed files with 2 additions and 2 deletions
|
|
@ -512,7 +512,7 @@ apiVersion: v1
|
|||
kind: policy
|
||||
spec:
|
||||
name: Guest users disabled (macOS)
|
||||
query: SELECT 1 FROM managed_policies WHERE domain = 'com.apple.MCX' AND name = 'DisableGuestAccount' AND value = 1 LIMIT 1;
|
||||
query: SELECT 1 FROM managed_policies WHERE domain = 'com.apple.loginwindow' AND name = 'DisableGuestAccount' AND value = 1 LIMIT 1;
|
||||
description: "Required: You’re already enforcing a policy via Moble Device Management (MDM). Checks to make sure that guest accounts cannot be used to log in to the device without a password."
|
||||
resolution: "The following example profile includes a setting to disable guest users: https://github.com/gregneagle/profiles/blob/fecc73d66fa17b6fa78b782904cb47cdc1913aeb/loginwindow.mobileconfig#L68-L71."
|
||||
platforms: macOS
|
||||
|
|
|
|||
|
|
@ -102,7 +102,7 @@ export const DEFAULT_POLICIES = [
|
|||
{
|
||||
key: 9,
|
||||
query:
|
||||
"SELECT 1 FROM managed_policies WHERE domain = 'com.apple.MCX' AND name = 'DisableGuestAccount' AND value = 1 LIMIT 1;",
|
||||
"SELECT 1 FROM managed_policies WHERE domain = 'com.apple.loginwindow' AND name = 'DisableGuestAccount' AND value = 1 LIMIT 1;",
|
||||
name: "Guest users disabled (macOS)",
|
||||
description:
|
||||
"Required: You’re already enforcing a policy via Moble Device Management (MDM). Checks to make sure that guest accounts cannot be used to log in to the device without a password.",
|
||||
|
|
|
|||
Loading…
Reference in a new issue