TMAegis
Thêm quy tắc cho macos

macOS

TMA-MACOS15-1.6

Ensure Software Update Deferment Is Less Than or Equal to 30 Days

CaoCấp 1Tự độngmacos

Mô tả

Apple provides the capability to manage software updates on Apple devices through mobile device management. Part of those capabilities permit organizations to defer software updates and allow for testing. Many organizations have specialized software and configurations that may be negatively impacted by Apple updates. If software updates are deferred, they should not be deferred for more than 30 days. Audit: No deferral profile (no value) passes, as the benchmark states.

Cách kiểm tra

Phương pháp kiểm tra: Lệnh shell

shell
/usr/bin/osascript -l JavaScript <<'EOS'
function run() {
  let delay = ObjC.unwrap($.NSUserDefaults.alloc.initWithSuiteName('com.apple.applicationaccess').objectForKey('enforcedSoftwareUpdateDelay'))
  if ( delay == null || delay <= 30 ) {
    return("true")
  } else {
    return("false")
  }
}
EOS
Đầu ra mong đợi
true

Cách khắc phục

Phương pháp khắc phục: Hướng dẫn hoặc bản vá hạ tầng

Profile (preferred): com.apple.applicationaccess enforcedSoftwareUpdateDelay = <integer><1-30></integer>.

Thuộc tính

Hệ điều hành
macos-15
Thẻ
macossoftware-update
Tham chiếu
CIS Apple macOS 15.0 Sequoia Benchmark v2.1.0 - 1.6 Ensure Software Update Deferment Is Less Than or Equal to 30 Days

Kiểm tra máy này

Chạy lệnh này trên máy bạn được phép kiểm tra. Lần quét chỉ ở chế độ đọc.

shell
tmaegis scan --target macos