-
hi, I am running the mSCP tool against the CIS lvl2 benchmark, and one of the tests isn't returning anything. The test name is 'system_settings_time_server_configure' and the test script is '/usr/bin/osascript -l JavaScript << EOS $.NSUserDefaults.alloc.initWithSuiteName('com.apple.MCX').objectForKey('timeServer').js EOS'. by using the graphical method ive confirmed that this test should return with the correct answer to pass the test, and its also worth noting that when running the terminal test supplied with the original CIS benchmark PDF (command is: '/usr/bin/sudo /usr/sbin/systemsetup -getusingnetworktime') it returns with the correct answer and shows the system is correctly configured. Any ideas? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
What do you have it set to? |
Beta Was this translation helpful? Give feedback.
Yes, set by an MDM. The check is specifically looking for a setting set by a configuration profile with a payload of
com.apple.MCX
with the preferencekeytimeServer
set to the ODV (or time.apple.com). This means that you are explicitly setting the time server and restricting the user or any admin from changing it. If you're just using the default setting from macOS, it's not being explicitly set and locked. If you made a config profile to set the timeserver to time.apple.com, this would pass. The MSCP check is not checking what you have set for the timeserver, it's checking the profiles installed.To answer "...is there any need for said profile?" that is a decision your organization need…