Skip to content

Commit

Permalink
add case for active exploit cve on current version
Browse files Browse the repository at this point in the history
  • Loading branch information
erikng committed Aug 19, 2024
1 parent 21fa025 commit af64468
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Nudge/UI/Main.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit af64468

Please sign in to comment.