TMAegisBeta
macos için daha fazla kural

macOS

TMA-MACOS14-2.10.1

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

OrtaDüzey 1Otomatikmacos

Açıklama

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. Any value can be selected through the command line or script, but a number that is not reflected in the GUI can be problematic. 15 minutes is the default for new accounts. Setting an inactivity interval for the screen saver prevents unauthorized persons from viewing a system left unattended for an extensive period of time.

Nasıl denetlenir

Denetim yöntemi: Kabuk komutu

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
Beklenen çıktı
true

Nasıl düzeltilir

Düzeltme yöntemi: Kılavuz veya altyapı yaması

Profile Method: 1. The PayloadType string is com.apple.screensaver 2. The key to include is idleTime 3. The key must be set to <integer><≤900></integer>

Özellikler

İşletim sistemleri
macos-14
Etiketler
macossonoma
Referans
CIS Apple macOS 14.0 Sonoma Benchmark v3.1.0 - 2.10.1 Ensure an Inactivity Interval of 15 Minutes Or Less for the Screen Saver Is Enabled

Bu ana makineyi denetle

Bunu denetleme izniniz olan bir makinede çalıştırın. Tarama salt okunurdur.

shell
tmaegis scan --target macos