From e0a40bbacfc9ee2afec0db286a7a8aaf55467ed1 Mon Sep 17 00:00:00 2001 From: Sharon Katz <121527325+sharon-fdm@users.noreply.github.com> Date: Mon, 15 Jan 2024 09:24:43 -0500 Subject: [PATCH] Add the #15962 fix to mac14 (#16080) - For this bug: #15962 --- ee/cis/macos-14/cis-policy-queries.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ee/cis/macos-14/cis-policy-queries.yml b/ee/cis/macos-14/cis-policy-queries.yml index b09a372c9..c38b97123 100644 --- a/ee/cis/macos-14/cis-policy-queries.yml +++ b/ee/cis/macos-14/cis-policy-queries.yml @@ -1928,14 +1928,14 @@ spec: SELECT 1 FROM managed_policies WHERE domain='com.apple.screensaver' AND name='idleTime' AND - value <= 1200 AND + CAST(value AS INT) <= 1200 AND username = '' ) AND NOT EXISTS ( SELECT 1 FROM managed_policies WHERE domain='com.apple.screensaver' AND name='idleTime' AND - value > 1200 + CAST(value AS INT) > 1200 ); purpose: Informational tags: compliance, CIS, CIS_Level1