macadmins / nudge

A tool for encouraging the installation of macOS security updates.
Apache License 2.0
1.03k stars 187 forks source link

Enforce "active exploit" logic on devices running older operating systems #613

Closed erikng closed 2 months ago

erikng commented 2 months ago

This was the intent of https://github.com/macadmins/nudge/issues/610

Ex: An admin sets "latest" which enforces 14.5.

A device on 14.4 or 14.4.1 is not under active exploit and the 14.5 does not contain fixes for active exploit.

However a device on 14.3 had active exploits that were fixed on 14.4. Since 14.5 is considered a "cumulative" update, this implies the device is currently under active exploits. The logic should be calculated to address this.

erikng commented 2 months ago

Addressed here https://github.com/macadmins/nudge/commit/3ad843d5c7136f3ecdd39dd86625e3ba9b3ced2f