Skip to content

Commit

Permalink
feat(scanner/windows): add Windows Server 2025 and 2022, 23H2 (#2059)
Browse files Browse the repository at this point in the history
  • Loading branch information
MaineK00n authored Nov 8, 2024
1 parent effbe23 commit d78018b
Show file tree
Hide file tree
Showing 3 changed files with 3,519 additions and 3,433 deletions.
4 changes: 4 additions & 0 deletions config/os.go
Original file line number Diff line number Diff line change
Expand Up @@ -426,6 +426,10 @@ func GetEOL(family, release string) (eol EOL, found bool) {
eol, found = EOL{StandardSupportUntil: time.Date(2022, 8, 9, 23, 59, 59, 0, time.UTC)}, true
case "Windows Server 2022":
eol, found = EOL{StandardSupportUntil: time.Date(2031, 10, 14, 23, 59, 59, 0, time.UTC)}, true
case "Windows Server 2022, 23H2 Edition":
eol, found = EOL{}, true
case "Windows Server 2025":
eol, found = EOL{StandardSupportUntil: time.Date(2034, 10, 10, 23, 59, 59, 0, time.UTC)}, true
default:
}
case constant.MacOSX, constant.MacOSXServer:
Expand Down
Loading

0 comments on commit d78018b

Please sign in to comment.