From af64468d1eaabb2df6483155543680820701ca96 Mon Sep 17 00:00:00 2001 From: Erik Gomez Date: Mon, 19 Aug 2024 16:33:14 -0500 Subject: [PATCH 1/2] add case for active exploit cve on current version --- Nudge/UI/Main.swift | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Nudge/UI/Main.swift b/Nudge/UI/Main.swift index 71b0f71e..505b89c6 100644 --- a/Nudge/UI/Main.swift +++ b/Nudge/UI/Main.swift @@ -270,6 +270,8 @@ class AppDelegate: NSObject, NSApplicationDelegate { slaExtension = TimeInterval(OSVersionRequirementVariables.activelyExploitedCVEsMajorUpgradeSLA * 86400) case (true, true, true): slaExtension = TimeInterval(OSVersionRequirementVariables.activelyExploitedCVEsMajorUpgradeSLA * 86400) + case (true, false, false): + slaExtension = TimeInterval(OSVersionRequirementVariables.activelyExploitedCVEsMinorUpdateSLA * 86400) case (true, true, false): slaExtension = TimeInterval(OSVersionRequirementVariables.activelyExploitedCVEsMinorUpdateSLA * 86400) case (false, false, true): From f96c88233cad53258f37143c74d6a2cc6ea26a6d Mon Sep 17 00:00:00 2001 From: Erik Gomez Date: Mon, 19 Aug 2024 16:34:29 -0500 Subject: [PATCH 2/2] v2.0.10 --- CHANGELOG.md | 6 ++++++ Nudge.xcodeproj/project.pbxproj | 4 ++-- Nudge/Info.plist | 4 ++-- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 17d8fb53..6ae04db9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [2.0.10] - 2024-08-19 +Requires macOS 12.0 and higher. + +### Fixed +- When using `latest` or `latest-supported`, under active exploitation minor updates were not correctly assessed, resulting in SLA extensions defaulting to the `90` day SLA default value + ## [2.0.9] - 2024-08-16 Requires macOS 12.0 and higher. diff --git a/Nudge.xcodeproj/project.pbxproj b/Nudge.xcodeproj/project.pbxproj index 6f9e5aa2..c59454bc 100644 --- a/Nudge.xcodeproj/project.pbxproj +++ b/Nudge.xcodeproj/project.pbxproj @@ -698,7 +698,7 @@ "@executable_path/../Frameworks", ); MACOSX_DEPLOYMENT_TARGET = 12.0; - MARKETING_VERSION = 2.0.9; + MARKETING_VERSION = 2.0.10; PRODUCT_BUNDLE_IDENTIFIER = com.github.macadmins.Nudge; PRODUCT_NAME = "$(TARGET_NAME)"; PROVISIONING_PROFILE_SPECIFIER = ""; @@ -729,7 +729,7 @@ "@executable_path/../Frameworks", ); MACOSX_DEPLOYMENT_TARGET = 12.0; - MARKETING_VERSION = 2.0.9; + MARKETING_VERSION = 2.0.10; PRODUCT_BUNDLE_IDENTIFIER = com.github.macadmins.Nudge; PRODUCT_NAME = "$(TARGET_NAME)"; PROVISIONING_PROFILE_SPECIFIER = ""; diff --git a/Nudge/Info.plist b/Nudge/Info.plist index 32791129..17ad9c07 100644 --- a/Nudge/Info.plist +++ b/Nudge/Info.plist @@ -15,9 +15,9 @@ CFBundlePackageType $(PRODUCT_BUNDLE_PACKAGE_TYPE) CFBundleShortVersionString - 2.0.9 + 2.0.10 CFBundleVersion - 2.0.9 + 2.0.10 LSApplicationCategoryType public.app-category.utilities LSMinimumSystemVersion