TMAegisBeta
Više pravila za macos

macOS

TMA-MACOS-2.11.1

Ensure an Inactivity Interval of 15 Minutes Or Less for the Screen Saver Is Enabled

SrednjaNivo 1Automatskamacos

Opis

A locking screen saver is one of the standard security controls to limit access to a computer and the current user's session when the computer is temporarily unused or unattended. In macOS, the screen saver starts after a value is selected in the drop- down menu. 15 minutes or less is an acceptable value. Audit: Unlike the benchmark script, an unset idleTime fails (JavaScript treats null <= 900 as true).

Kako se proverava

Metod provere: Komanda ljuske

shell
/usr/bin/osascript -l JavaScript <<'EOS'
function run() {
  let timeout = ObjC.unwrap($.NSUserDefaults.alloc.initWithSuiteName('com.apple.screensaver').objectForKey('idleTime'))
  if ( timeout != null && timeout > 0 && timeout <= 900 ) {
    return("true")
  } else {
    return("false")
  }
}
EOS
Očekivani izlaz
true

Kako se ispravlja

Metod ispravke: Smernica ili zakrpa infrastrukture

Profile (preferred): com.apple.screensaver idleTime = <integer><≤900></integer>.

Svojstva

Operativni sistemi
macos-26
Oznake
macossystem-settings
Referenca
CIS Apple macOS 26 Tahoe Benchmark v1.1.0 - 2.11.1 Ensure an Inactivity Interval of 15 Minutes Or Less for the Screen Saver Is Enabled

Proverite ovaj računar

Pokrenite ovo na računaru za koji imate dozvolu za proveru. Skeniranje radi u režimu samo za čitanje.

shell
tmaegis scan --target macos