From b578ba750f12ec59624cd8475c80d9506db90630 Mon Sep 17 00:00:00 2001 From: dean Date: Wed, 23 Oct 2024 17:25:13 +0100 Subject: [PATCH 1/2] feat: add support for 24.10 oracular oriole --- pkg/vulnsrc/ubuntu/ubuntu.go | 51 ++++++++++++++++++------------------ 1 file changed, 26 insertions(+), 25 deletions(-) diff --git a/pkg/vulnsrc/ubuntu/ubuntu.go b/pkg/vulnsrc/ubuntu/ubuntu.go index 69089e6a..779d113b 100644 --- a/pkg/vulnsrc/ubuntu/ubuntu.go +++ b/pkg/vulnsrc/ubuntu/ubuntu.go @@ -25,31 +25,32 @@ const ( var ( targetStatuses = []string{"needed", "deferred", "released"} UbuntuReleasesMapping = map[string]string{ - "precise": "12.04", - "quantal": "12.10", - "raring": "13.04", - "saucy": "13.10", - "trusty": "14.04", - "utopic": "14.10", - "vivid": "15.04", - "wily": "15.10", - "xenial": "16.04", - "yakkety": "16.10", - "zesty": "17.04", - "artful": "17.10", - "bionic": "18.04", - "cosmic": "18.10", - "disco": "19.04", - "eoan": "19.10", - "focal": "20.04", - "groovy": "20.10", - "hirsute": "21.04", - "impish": "21.10", - "jammy": "22.04", - "kinetic": "22.10", - "lunar": "23.04", - "mantic": "23.10", - "noble": "24.04", + "precise": "12.04", + "quantal": "12.10", + "raring": "13.04", + "saucy": "13.10", + "trusty": "14.04", + "utopic": "14.10", + "vivid": "15.04", + "wily": "15.10", + "xenial": "16.04", + "yakkety": "16.10", + "zesty": "17.04", + "artful": "17.10", + "bionic": "18.04", + "cosmic": "18.10", + "disco": "19.04", + "eoan": "19.10", + "focal": "20.04", + "groovy": "20.10", + "hirsute": "21.04", + "impish": "21.10", + "jammy": "22.04", + "kinetic": "22.10", + "lunar": "23.04", + "mantic": "23.10", + "noble": "24.04", + "oracular": "24.10" // ESM versions: "precise/esm": "12.04-ESM", "trusty/esm": "14.04-ESM", From 63f616076ed9449a07c3924538875cd97405469d Mon Sep 17 00:00:00 2001 From: dean Date: Wed, 23 Oct 2024 17:26:58 +0100 Subject: [PATCH 2/2] fix: missing comma --- pkg/vulnsrc/ubuntu/ubuntu.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/vulnsrc/ubuntu/ubuntu.go b/pkg/vulnsrc/ubuntu/ubuntu.go index 779d113b..c54ddebb 100644 --- a/pkg/vulnsrc/ubuntu/ubuntu.go +++ b/pkg/vulnsrc/ubuntu/ubuntu.go @@ -50,7 +50,7 @@ var ( "lunar": "23.04", "mantic": "23.10", "noble": "24.04", - "oracular": "24.10" + "oracular": "24.10", // ESM versions: "precise/esm": "12.04-ESM", "trusty/esm": "14.04-ESM",