TMAegisBeta
Más reglas para macos

macOS

TMA-MACOS15-1.6

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

AltaNivel 1Automatizadamacos

Descripción

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ómo se verifica

Método de auditoría: Comando de 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
Salida esperada
true

Cómo se corrige

Método de corrección: Guía o parche de infraestructura

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

Propiedades

Sistemas operativos
macos-15
Etiquetas
macossoftware-update
Referencia
CIS Apple macOS 15.0 Sequoia Benchmark v2.1.0 - 1.6 Ensure Software Update Deferment Is Less Than or Equal to 30 Days

Verificar este host

Ejecute esto en un equipo que tenga permiso para auditar. El escaneo es de solo lectura.

shell
tmaegis scan --target macos