Compare commits
17 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
cbece1dce1 | ||
|
|
4ffa06770c | ||
|
|
53317ee49b | ||
|
|
fc743569b7 | ||
|
|
bced16fa9c | ||
|
|
f3f8e26ba5 | ||
|
|
cd8f6e1b8f | ||
|
|
323f0aea3d | ||
|
|
5d1c365a42 | ||
|
|
d8fa000b01 | ||
|
|
9f1e090597 | ||
|
|
8d5765fcb0 | ||
|
|
3a5c3326b2 | ||
|
|
cef4ce4f9f | ||
|
|
264a82e2f4 | ||
|
|
fed731b0f2 | ||
|
|
5e2ac5a0c4 |
@@ -40,7 +40,7 @@ func GetEOL(family, release string) (eol EOL, found bool) {
|
||||
switch family {
|
||||
case constant.Amazon:
|
||||
eol, found = map[string]EOL{
|
||||
"1": {StandardSupportUntil: time.Date(2023, 6, 30, 23, 59, 59, 0, time.UTC)},
|
||||
"1": {StandardSupportUntil: time.Date(2023, 12, 31, 23, 59, 59, 0, time.UTC)},
|
||||
"2": {StandardSupportUntil: time.Date(2025, 6, 30, 23, 59, 59, 0, time.UTC)},
|
||||
"2022": {StandardSupportUntil: time.Date(2026, 6, 30, 23, 59, 59, 0, time.UTC)},
|
||||
"2023": {StandardSupportUntil: time.Date(2027, 6, 30, 23, 59, 59, 0, time.UTC)},
|
||||
@@ -329,6 +329,7 @@ func GetEOL(family, release string) (eol EOL, found bool) {
|
||||
"36": {StandardSupportUntil: time.Date(2023, 5, 16, 23, 59, 59, 0, time.UTC)},
|
||||
"37": {StandardSupportUntil: time.Date(2023, 12, 15, 23, 59, 59, 0, time.UTC)},
|
||||
"38": {StandardSupportUntil: time.Date(2024, 5, 14, 23, 59, 59, 0, time.UTC)},
|
||||
"39": {StandardSupportUntil: time.Date(2024, 11, 12, 23, 59, 59, 0, time.UTC)},
|
||||
}[major(release)]
|
||||
case constant.Windows:
|
||||
// https://learn.microsoft.com/ja-jp/lifecycle/products/?products=windows
|
||||
@@ -369,13 +370,15 @@ func GetEOL(family, release string) (eol EOL, found bool) {
|
||||
case "Windows 10 Version 21H1":
|
||||
eol, found = EOL{StandardSupportUntil: time.Date(2022, 12, 13, 23, 59, 59, 0, time.UTC)}, true
|
||||
case "Windows 10 Version 21H2":
|
||||
eol, found = EOL{StandardSupportUntil: time.Date(2023, 6, 13, 23, 59, 59, 0, time.UTC)}, true
|
||||
eol, found = EOL{StandardSupportUntil: time.Date(2024, 6, 11, 23, 59, 59, 0, time.UTC)}, true
|
||||
case "Windows 10 Version 22H2":
|
||||
eol, found = EOL{StandardSupportUntil: time.Date(2024, 5, 14, 23, 59, 59, 0, time.UTC)}, true
|
||||
eol, found = EOL{StandardSupportUntil: time.Date(2025, 10, 14, 23, 59, 59, 0, time.UTC)}, true
|
||||
case "Windows 11 Version 21H2":
|
||||
eol, found = EOL{StandardSupportUntil: time.Date(2024, 10, 8, 23, 59, 59, 0, time.UTC)}, true
|
||||
case "Windows 11 Version 22H2":
|
||||
eol, found = EOL{StandardSupportUntil: time.Date(2025, 10, 14, 23, 59, 59, 0, time.UTC)}, true
|
||||
case "Windows 11 Version 23H2":
|
||||
eol, found = EOL{StandardSupportUntil: time.Date(2026, 11, 10, 23, 59, 59, 0, time.UTC)}, true
|
||||
case "Windows Server 2008":
|
||||
eol, found = EOL{StandardSupportUntil: time.Date(2011, 7, 12, 23, 59, 59, 0, time.UTC)}, true
|
||||
if strings.Contains(rhs, "Service Pack 2") {
|
||||
|
||||
@@ -30,9 +30,9 @@ func TestEOL_IsStandardSupportEnded(t *testing.T) {
|
||||
found: true,
|
||||
},
|
||||
{
|
||||
name: "amazon linux 1 eol on 2023-6-30",
|
||||
name: "amazon linux 1 eol on 2023-12-31",
|
||||
fields: fields{family: Amazon, release: "2018.03"},
|
||||
now: time.Date(2023, 7, 1, 23, 59, 59, 0, time.UTC),
|
||||
now: time.Date(2024, 1, 1, 23, 59, 59, 0, time.UTC),
|
||||
stdEnded: true,
|
||||
extEnded: true,
|
||||
found: true,
|
||||
@@ -656,9 +656,25 @@ func TestEOL_IsStandardSupportEnded(t *testing.T) {
|
||||
found: true,
|
||||
},
|
||||
{
|
||||
name: "Fedora 39 not found",
|
||||
name: "Fedora 39 supported",
|
||||
fields: fields{family: Fedora, release: "39"},
|
||||
now: time.Date(2024, 5, 14, 23, 59, 59, 0, time.UTC),
|
||||
now: time.Date(2024, 11, 12, 23, 59, 59, 0, time.UTC),
|
||||
stdEnded: false,
|
||||
extEnded: false,
|
||||
found: true,
|
||||
},
|
||||
{
|
||||
name: "Fedora 39 eol since 2024-11-13",
|
||||
fields: fields{family: Fedora, release: "39"},
|
||||
now: time.Date(2024, 11, 13, 0, 0, 0, 0, time.UTC),
|
||||
stdEnded: true,
|
||||
extEnded: true,
|
||||
found: true,
|
||||
},
|
||||
{
|
||||
name: "Fedora 40 not found",
|
||||
fields: fields{family: Fedora, release: "40"},
|
||||
now: time.Date(2024, 11, 12, 23, 59, 59, 0, time.UTC),
|
||||
stdEnded: false,
|
||||
extEnded: false,
|
||||
found: false,
|
||||
|
||||
28
go.mod
28
go.mod
@@ -17,10 +17,10 @@ require (
|
||||
github.com/cenkalti/backoff v2.2.1+incompatible
|
||||
github.com/d4l3k/messagediff v1.2.2-0.20190829033028-7e0a312ae40b
|
||||
github.com/emersion/go-sasl v0.0.0-20200509203442-7bfe0ed36a21
|
||||
github.com/emersion/go-smtp v0.16.0
|
||||
github.com/emersion/go-smtp v0.19.0
|
||||
github.com/google/go-cmp v0.6.0
|
||||
github.com/google/subcommands v1.2.0
|
||||
github.com/google/uuid v1.3.1
|
||||
github.com/google/uuid v1.4.0
|
||||
github.com/gosnmp/gosnmp v1.36.1
|
||||
github.com/gosuri/uitable v0.0.4
|
||||
github.com/hashicorp/go-uuid v1.0.3
|
||||
@@ -42,19 +42,19 @@ require (
|
||||
github.com/rifflock/lfshook v0.0.0-20180920164130-b9218ef580f5
|
||||
github.com/saintfish/chardet v0.0.0-20230101081208-5e3ef4b5456d
|
||||
github.com/sirupsen/logrus v1.9.3
|
||||
github.com/spf13/cobra v1.7.0
|
||||
github.com/spf13/cobra v1.8.0
|
||||
github.com/vulsio/go-cti v0.0.5-0.20231017103759-59e022ddcd0e
|
||||
github.com/vulsio/go-cve-dictionary v0.9.1-0.20231017130648-12bf39c9fc2f
|
||||
github.com/vulsio/go-exploitdb v0.4.7-0.20231017104626-201191637c48
|
||||
github.com/vulsio/go-kev v0.1.4-0.20231017105707-8a9a218d280a
|
||||
github.com/vulsio/go-msfdb v0.2.4-0.20231017104449-b705e6975831
|
||||
github.com/vulsio/gost v0.4.6-0.20231018164544-c4d0a39db372
|
||||
github.com/vulsio/gost v0.4.6-0.20231027050036-c963bd83e7e5
|
||||
github.com/vulsio/goval-dictionary v0.9.5-0.20231017110023-3ae99de8d1c5
|
||||
go.etcd.io/bbolt v1.3.7
|
||||
go.etcd.io/bbolt v1.3.8
|
||||
golang.org/x/exp v0.0.0-20231006140011-7918f672742d
|
||||
golang.org/x/oauth2 v0.12.0
|
||||
golang.org/x/sync v0.4.0
|
||||
golang.org/x/text v0.13.0
|
||||
golang.org/x/oauth2 v0.14.0
|
||||
golang.org/x/sync v0.5.0
|
||||
golang.org/x/text v0.14.0
|
||||
golang.org/x/xerrors v0.0.0-20231012003039-104605ab7028
|
||||
)
|
||||
|
||||
@@ -89,7 +89,7 @@ require (
|
||||
github.com/dnaeon/go-vcr v1.2.0 // indirect
|
||||
github.com/docker/cli v20.10.20+incompatible // indirect
|
||||
github.com/docker/distribution v2.8.2+incompatible // indirect
|
||||
github.com/docker/docker v23.0.4+incompatible // indirect
|
||||
github.com/docker/docker v24.0.7+incompatible // indirect
|
||||
github.com/docker/docker-credential-helpers v0.7.0 // indirect
|
||||
github.com/dustin/go-humanize v1.0.1 // indirect
|
||||
github.com/fatih/color v1.15.0 // indirect
|
||||
@@ -162,17 +162,17 @@ require (
|
||||
go.opencensus.io v0.24.0 // indirect
|
||||
go.uber.org/multierr v1.11.0 // indirect
|
||||
go.uber.org/zap v1.26.0 // indirect
|
||||
golang.org/x/crypto v0.14.0 // indirect
|
||||
golang.org/x/crypto v0.15.0 // indirect
|
||||
golang.org/x/mod v0.13.0 // indirect
|
||||
golang.org/x/net v0.17.0 // indirect
|
||||
golang.org/x/sys v0.13.0 // indirect
|
||||
golang.org/x/term v0.13.0 // indirect
|
||||
golang.org/x/net v0.18.0 // indirect
|
||||
golang.org/x/sys v0.14.0 // indirect
|
||||
golang.org/x/term v0.14.0 // indirect
|
||||
google.golang.org/api v0.143.0 // indirect
|
||||
google.golang.org/appengine v1.6.7 // indirect
|
||||
google.golang.org/genproto v0.0.0-20230913181813-007df8e322eb // indirect
|
||||
google.golang.org/genproto/googleapis/api v0.0.0-20230913181813-007df8e322eb // indirect
|
||||
google.golang.org/genproto/googleapis/rpc v0.0.0-20230920204549-e6e6cdab5c13 // indirect
|
||||
google.golang.org/grpc v1.58.2 // indirect
|
||||
google.golang.org/grpc v1.58.3 // indirect
|
||||
google.golang.org/protobuf v1.31.0 // indirect
|
||||
gopkg.in/ini.v1 v1.67.0 // indirect
|
||||
gopkg.in/yaml.v3 v3.0.1 // indirect
|
||||
|
||||
58
go.sum
58
go.sum
@@ -314,7 +314,7 @@ github.com/containerd/containerd v1.6.8 h1:h4dOFDwzHmqFEP754PgfgTeVXFnLiRc6kiqC7
|
||||
github.com/containerd/stargz-snapshotter/estargz v0.12.1 h1:+7nYmHJb0tEkcRaAW+MHqoKaJYZmkikupxCqVtmPuY0=
|
||||
github.com/containerd/typeurl v1.0.2 h1:Chlt8zIieDbzQFzXzAeBEF92KhExuE4p9p92/QmY7aY=
|
||||
github.com/cpuguy83/go-md2man/v2 v2.0.0-20190314233015-f79a8a8ca69d/go.mod h1:maD7wRr/U5Z6m/iR4s+kqSMx2CaBsrgA7czyZG/E6dU=
|
||||
github.com/cpuguy83/go-md2man/v2 v2.0.2/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o=
|
||||
github.com/cpuguy83/go-md2man/v2 v2.0.3/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o=
|
||||
github.com/cyphar/filepath-securejoin v0.2.3 h1:YX6ebbZCZP7VkM3scTTokDgBL2TY741X51MTk3ycuNI=
|
||||
github.com/d4l3k/messagediff v1.2.2-0.20190829033028-7e0a312ae40b h1:02XNVBBC2x90C1IKnZ0iyrIxL1pdIRsusn0lqSEIOD0=
|
||||
github.com/d4l3k/messagediff v1.2.2-0.20190829033028-7e0a312ae40b/go.mod h1:Oozbb1TVXFac9FtSIxHBMnBCq2qeH/2KkEQxENCrlLo=
|
||||
@@ -332,8 +332,8 @@ github.com/docker/cli v20.10.20+incompatible h1:lWQbHSHUFs7KraSN2jOJK7zbMS2jNCHI
|
||||
github.com/docker/cli v20.10.20+incompatible/go.mod h1:JLrzqnKDaYBop7H2jaqPtU4hHvMKP+vjCwu2uszcLI8=
|
||||
github.com/docker/distribution v2.8.2+incompatible h1:T3de5rq0dB1j30rp0sA2rER+m322EBzniBPB6ZIzuh8=
|
||||
github.com/docker/distribution v2.8.2+incompatible/go.mod h1:J2gT2udsDAN96Uj4KfcMRqY0/ypR+oyYUYmja8H+y+w=
|
||||
github.com/docker/docker v23.0.4+incompatible h1:Kd3Bh9V/rO+XpTP/BLqM+gx8z7+Yb0AA2Ibj+nNo4ek=
|
||||
github.com/docker/docker v23.0.4+incompatible/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk=
|
||||
github.com/docker/docker v24.0.7+incompatible h1:Wo6l37AuwP3JaMnZa226lzVXGA3F9Ig1seQen0cKYlM=
|
||||
github.com/docker/docker v24.0.7+incompatible/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk=
|
||||
github.com/docker/docker-credential-helpers v0.7.0 h1:xtCHsjxogADNZcdv1pKUHXryefjlVRqWqIhk/uXJp0A=
|
||||
github.com/docker/docker-credential-helpers v0.7.0/go.mod h1:rETQfLdHNT3foU5kuNkFR1R1V12OJRRO5lzt2D1b5X0=
|
||||
github.com/docker/go-connections v0.4.0 h1:El9xVISelRB7BuFusrZozjnkIM5YnzCViNKohAFqRJQ=
|
||||
@@ -344,8 +344,8 @@ github.com/dustin/go-humanize v1.0.1/go.mod h1:Mu1zIs6XwVuF/gI1OepvI0qD18qycQx+m
|
||||
github.com/elazarl/goproxy v0.0.0-20230731152917-f99041a5c027 h1:1L0aalTpPz7YlMxETKpmQoWMBkeiuorElZIXoNmgiPE=
|
||||
github.com/emersion/go-sasl v0.0.0-20200509203442-7bfe0ed36a21 h1:OJyUGMJTzHTd1XQp98QTaHernxMYzRaOasRir9hUlFQ=
|
||||
github.com/emersion/go-sasl v0.0.0-20200509203442-7bfe0ed36a21/go.mod h1:iL2twTeMvZnrg54ZoPDNfJaJaqy0xIQFuBdrLsmspwQ=
|
||||
github.com/emersion/go-smtp v0.16.0 h1:eB9CY9527WdEZSs5sWisTmilDX7gG+Q/2IdRcmubpa8=
|
||||
github.com/emersion/go-smtp v0.16.0/go.mod h1:qm27SGYgoIPRot6ubfQ/GpiPy/g3PaZAVRxiO/sDUgQ=
|
||||
github.com/emersion/go-smtp v0.19.0 h1:iVCDtR2/JY3RpKoaZ7u6I/sb52S3EzfNHO1fAWVHgng=
|
||||
github.com/emersion/go-smtp v0.19.0/go.mod h1:qm27SGYgoIPRot6ubfQ/GpiPy/g3PaZAVRxiO/sDUgQ=
|
||||
github.com/emicklei/go-restful/v3 v3.8.0 h1:eCZ8ulSerjdAiaNpF7GxXIE7ZCMo1moN1qX+S609eVw=
|
||||
github.com/emirpasic/gods v1.18.1 h1:FXtiHYKDGKCW2KzwZKx0iC0PQmdlorYgdFG9jPXJ1Bc=
|
||||
github.com/envoyproxy/go-control-plane v0.9.0/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4=
|
||||
@@ -498,8 +498,8 @@ github.com/google/subcommands v1.2.0 h1:vWQspBTo2nEqTUFita5/KeEWlUL8kQObDFbub/EN
|
||||
github.com/google/subcommands v1.2.0/go.mod h1:ZjhPrFU+Olkh9WazFPsl27BQ4UPiG37m3yTrtFlrHVk=
|
||||
github.com/google/uuid v1.1.2/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
|
||||
github.com/google/uuid v1.3.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
|
||||
github.com/google/uuid v1.3.1 h1:KjJaJ9iWZ3jOFZIf1Lqf4laDRCasjl0BCmnEGxkdLb4=
|
||||
github.com/google/uuid v1.3.1/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
|
||||
github.com/google/uuid v1.4.0 h1:MtMxsa51/r9yyhkyLsVeVt0B+BGQZzpQiTQ4eHZ8bc4=
|
||||
github.com/google/uuid v1.4.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
|
||||
github.com/googleapis/enterprise-certificate-proxy v0.0.0-20220520183353-fd19c99a87aa/go.mod h1:17drOmN3MwGY7t0e+Ei9b45FFGA3fBs3x36SsCg1hq8=
|
||||
github.com/googleapis/enterprise-certificate-proxy v0.1.0/go.mod h1:17drOmN3MwGY7t0e+Ei9b45FFGA3fBs3x36SsCg1hq8=
|
||||
github.com/googleapis/enterprise-certificate-proxy v0.2.0/go.mod h1:8C0jb7/mgJe/9KK8Lm7X9ctZC2t60YyIpYEI16jx0Qg=
|
||||
@@ -748,8 +748,8 @@ github.com/spf13/afero v1.10.0 h1:EaGW2JJh15aKOejeuJ+wpFSHnbd7GE6Wvp3TsNhb6LY=
|
||||
github.com/spf13/afero v1.10.0/go.mod h1:UBogFpq8E9Hx+xc5CNTTEpTnuHVmXDwZcZcE1eb/UhQ=
|
||||
github.com/spf13/cast v1.5.1 h1:R+kOtfhWQE6TVQzY+4D7wJLBgkdVasCEFxSUBYBYIlA=
|
||||
github.com/spf13/cast v1.5.1/go.mod h1:b9PdjNptOpzXr7Rq1q9gJML/2cdGQAo69NKzQ10KN48=
|
||||
github.com/spf13/cobra v1.7.0 h1:hyqWnYt1ZQShIddO5kBpj3vu05/++x6tJ6dg8EC572I=
|
||||
github.com/spf13/cobra v1.7.0/go.mod h1:uLxZILRyS/50WlhOIKD7W6V5bgeIt+4sICxh6uRMrb0=
|
||||
github.com/spf13/cobra v1.8.0 h1:7aJaZx1B85qltLMc546zn58BxxfZdR/W22ej9CFoEf0=
|
||||
github.com/spf13/cobra v1.8.0/go.mod h1:WXLWApfZ71AjXPya3WOlMsY9yMs7YeiHhFVlvLyhcho=
|
||||
github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA=
|
||||
github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
|
||||
github.com/spf13/viper v1.17.0 h1:I5txKw7MJasPL/BrfkbA0Jyo/oELqVmux4pR/UxOMfI=
|
||||
@@ -789,8 +789,8 @@ github.com/vulsio/go-kev v0.1.4-0.20231017105707-8a9a218d280a h1:pdV8P4krLPt2xxb
|
||||
github.com/vulsio/go-kev v0.1.4-0.20231017105707-8a9a218d280a/go.mod h1:+Tl/94+ckHpnRgurzQMsuPr9rjZuzEv4kyVYouD3v1w=
|
||||
github.com/vulsio/go-msfdb v0.2.4-0.20231017104449-b705e6975831 h1:K0SiMnTEH+uxXFkv7QFhmCVy6/U2rdojsd99P5Kw+qM=
|
||||
github.com/vulsio/go-msfdb v0.2.4-0.20231017104449-b705e6975831/go.mod h1:yzjPeHw7Ba0HniSiRiFbxne5XSXmDu7PRrOBIsWa6mw=
|
||||
github.com/vulsio/gost v0.4.6-0.20231018164544-c4d0a39db372 h1:NisWi165rKBALMZdrZWDTPvLTYk/XGPYF6JHaLRObME=
|
||||
github.com/vulsio/gost v0.4.6-0.20231018164544-c4d0a39db372/go.mod h1:+YjZF2zcmi1UFkHspF8EyLbe06tXOjvDSjon3SJ1jBI=
|
||||
github.com/vulsio/gost v0.4.6-0.20231027050036-c963bd83e7e5 h1:/jqUpz+POu5JSoyHp2IOOwevluat5xfpPENe9aZ3wEE=
|
||||
github.com/vulsio/gost v0.4.6-0.20231027050036-c963bd83e7e5/go.mod h1:+YjZF2zcmi1UFkHspF8EyLbe06tXOjvDSjon3SJ1jBI=
|
||||
github.com/vulsio/goval-dictionary v0.9.5-0.20231017110023-3ae99de8d1c5 h1:kfqeMTa1Q3JRzulBv2zdA69khiYOnFkUhaSiwJ4X6TU=
|
||||
github.com/vulsio/goval-dictionary v0.9.5-0.20231017110023-3ae99de8d1c5/go.mod h1:+FaS9XJ0lq4zmQ8qFYFS3b65tKkvIANpebHl3U42hqg=
|
||||
github.com/xanzy/ssh-agent v0.3.3 h1:+/15pJfg/RsTxqYcX6fHqOXZwwMP+2VyYWJeWM2qQFM=
|
||||
@@ -807,8 +807,8 @@ github.com/yuin/goldmark v1.3.5/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1
|
||||
github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY=
|
||||
github.com/zclconf/go-cty v1.10.0 h1:mp9ZXQeIcN8kAwuqorjH+Q+njbJKjLrvB2yIh4q7U+0=
|
||||
github.com/zclconf/go-cty-yaml v1.0.2 h1:dNyg4QLTrv2IfJpm7Wtxi55ed5gLGOlPrZ6kMd51hY0=
|
||||
go.etcd.io/bbolt v1.3.7 h1:j+zJOnnEjF/kyHlDDgGnVL/AIqIJPq8UoB2GSNfkUfQ=
|
||||
go.etcd.io/bbolt v1.3.7/go.mod h1:N9Mkw9X8x5fupy0IKsmuqVtoGDyxsaDlbk4Rd05IAQw=
|
||||
go.etcd.io/bbolt v1.3.8 h1:xs88BrvEv273UsB79e0hcVrlUWmS0a8upikMFhSyAtA=
|
||||
go.etcd.io/bbolt v1.3.8/go.mod h1:N9Mkw9X8x5fupy0IKsmuqVtoGDyxsaDlbk4Rd05IAQw=
|
||||
go.mongodb.org/mongo-driver v1.10.0 h1:UtV6N5k14upNp4LTduX0QCufG124fSu25Wz9tu94GLg=
|
||||
go.opencensus.io v0.21.0/go.mod h1:mSImk1erAIZhrmZN+AvHh14ztQfjbGwt4TtuofqLduU=
|
||||
go.opencensus.io v0.22.0/go.mod h1:+kGneAE2xo2IficOXnaByMWTGM9T73dGwxeWcUqIpI8=
|
||||
@@ -834,8 +834,8 @@ golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPh
|
||||
golang.org/x/crypto v0.0.0-20210421170649-83a5a9bb288b/go.mod h1:T9bdIzuCu7OtxOm1hfPfRQxPLYneinmdGuTeoZ9dtd4=
|
||||
golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc=
|
||||
golang.org/x/crypto v0.0.0-20220722155217-630584e8d5aa/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4=
|
||||
golang.org/x/crypto v0.14.0 h1:wBqGXzWJW6m1XrIKlAH0Hs1JJ7+9KBwnIO8v66Q9cHc=
|
||||
golang.org/x/crypto v0.14.0/go.mod h1:MVFd36DqK4CsrnJYDkBA3VC4m2GkXAM0PvzMCn4JQf4=
|
||||
golang.org/x/crypto v0.15.0 h1:frVn1TEaCEaZcn3Tmd7Y2b5KKPaZ+I32Q2OA3kYp5TA=
|
||||
golang.org/x/crypto v0.15.0/go.mod h1:4ChreQoLWfG3xLDer1WdlH5NdlQ3+mwnQq1YTKY+72g=
|
||||
golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA=
|
||||
golang.org/x/exp v0.0.0-20190306152737-a1d7652674e8/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA=
|
||||
golang.org/x/exp v0.0.0-20190510132918-efd6b22b2522/go.mod h1:ZjyILWgesfNpC6sMxTJOJm9Kp84zZh5NQWvqDGG3Qr8=
|
||||
@@ -930,8 +930,8 @@ golang.org/x/net v0.1.0/go.mod h1:Cx3nUiGt4eDBEyega/BKRp+/AlGL8hYe7U9odMt2Cco=
|
||||
golang.org/x/net v0.6.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs=
|
||||
golang.org/x/net v0.7.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs=
|
||||
golang.org/x/net v0.9.0/go.mod h1:d48xBJpPfHeWQsugry2m+kC02ZBRGRgulfHnEXEuWns=
|
||||
golang.org/x/net v0.17.0 h1:pVaXccu2ozPjCXewfr1S7xza/zcXTity9cCdXQYSjIM=
|
||||
golang.org/x/net v0.17.0/go.mod h1:NxSsAGuq816PNPmqtQdLE42eU2Fs7NoRIZrHJAlaCOE=
|
||||
golang.org/x/net v0.18.0 h1:mIYleuAkSbHh0tCv7RvjL3F6ZVbLjq4+R7zbOn3Kokg=
|
||||
golang.org/x/net v0.18.0/go.mod h1:/czyP5RqHAH4odGYxBJ1qz0+CE5WZ+2j1YgoEo8F2jQ=
|
||||
golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U=
|
||||
golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
|
||||
golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
|
||||
@@ -957,8 +957,8 @@ golang.org/x/oauth2 v0.0.0-20220822191816-0ebed06d0094/go.mod h1:h4gKUeWbJ4rQPri
|
||||
golang.org/x/oauth2 v0.0.0-20220909003341-f21342109be1/go.mod h1:h4gKUeWbJ4rQPri7E0u6Gs4e9Ri2zaLxzw5DI5XGrYg=
|
||||
golang.org/x/oauth2 v0.0.0-20221014153046-6fdb5e3db783/go.mod h1:h4gKUeWbJ4rQPri7E0u6Gs4e9Ri2zaLxzw5DI5XGrYg=
|
||||
golang.org/x/oauth2 v0.1.0/go.mod h1:G9FE4dLTsbXUu90h/Pf85g4w1D+SSAgR+q46nJZ8M4A=
|
||||
golang.org/x/oauth2 v0.12.0 h1:smVPGxink+n1ZI5pkQa8y6fZT0RW0MgCO5bFpepy4B4=
|
||||
golang.org/x/oauth2 v0.12.0/go.mod h1:A74bZ3aGXgCY0qaIC9Ahg6Lglin4AMAco8cIv9baba4=
|
||||
golang.org/x/oauth2 v0.14.0 h1:P0Vrf/2538nmC0H+pEQ3MNFRRnVR7RlqyVw+bvm26z0=
|
||||
golang.org/x/oauth2 v0.14.0/go.mod h1:lAtNWgaWfL4cm7j2OV8TxGi9Qb7ECORx8DktCY74OwM=
|
||||
golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
|
||||
golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
|
||||
golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
|
||||
@@ -974,8 +974,8 @@ golang.org/x/sync v0.0.0-20220601150217-0de741cfad7f/go.mod h1:RxMgew5VJxzue5/jJ
|
||||
golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
|
||||
golang.org/x/sync v0.0.0-20220929204114-8fcdb60fdcc0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
|
||||
golang.org/x/sync v0.1.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
|
||||
golang.org/x/sync v0.4.0 h1:zxkM55ReGkDlKSM+Fu41A+zmbZuaPVbGMzvvdUPznYQ=
|
||||
golang.org/x/sync v0.4.0/go.mod h1:FU7BRWz2tNW+3quACPkgCx/L+uEAv1htQ0V83Z9Rj+Y=
|
||||
golang.org/x/sync v0.5.0 h1:60k92dhOjHxJkrqnwsfl8KuaHbn/5dl0lUPUklKo3qE=
|
||||
golang.org/x/sync v0.5.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk=
|
||||
golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
|
||||
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
|
||||
golang.org/x/sys v0.0.0-20190312061237-fead79001313/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
||||
@@ -1047,15 +1047,15 @@ golang.org/x/sys v0.1.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
||||
golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
||||
golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
||||
golang.org/x/sys v0.7.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
||||
golang.org/x/sys v0.13.0 h1:Af8nKPmuFypiUBjVoU9V20FiaFXOcuZI21p0ycVYYGE=
|
||||
golang.org/x/sys v0.13.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
||||
golang.org/x/sys v0.14.0 h1:Vz7Qs629MkJkGyHxUlRHizWJRG2j8fbQKjELVSNhy7Q=
|
||||
golang.org/x/sys v0.14.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
|
||||
golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
|
||||
golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8=
|
||||
golang.org/x/term v0.1.0/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8=
|
||||
golang.org/x/term v0.5.0/go.mod h1:jMB1sMXY+tzblOD4FWmEbocvup2/aLOaQEp7JmGp78k=
|
||||
golang.org/x/term v0.7.0/go.mod h1:P32HKFT3hSsZrRxla30E9HqToFYAQPCMs/zFMBUFqPY=
|
||||
golang.org/x/term v0.13.0 h1:bb+I9cTfFazGW51MZqBVmZy7+JEJMouUHTUSKVQLBek=
|
||||
golang.org/x/term v0.13.0/go.mod h1:LTmsnFJwVN6bCy1rVCoS+qHT1HhALEFxKncY3WNNh4U=
|
||||
golang.org/x/term v0.14.0 h1:LGK9IlZ8T9jvdy6cTdfKUCltatMFOehAQo9SRC46UQ8=
|
||||
golang.org/x/term v0.14.0/go.mod h1:TySc+nGkYR6qt8km8wUhuFRTVSMIX3XPR58y2lC8vww=
|
||||
golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
|
||||
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
|
||||
golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
|
||||
@@ -1068,8 +1068,8 @@ golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ=
|
||||
golang.org/x/text v0.4.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8=
|
||||
golang.org/x/text v0.7.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8=
|
||||
golang.org/x/text v0.9.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8=
|
||||
golang.org/x/text v0.13.0 h1:ablQoSUd0tRdKxZewP80B+BaqeKJuVhuRxj/dkrun3k=
|
||||
golang.org/x/text v0.13.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE=
|
||||
golang.org/x/text v0.14.0 h1:ScX5w1eTa3QqT8oi6+ziP7dTV1S2+ALU0bI+0zXKWiQ=
|
||||
golang.org/x/text v0.14.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU=
|
||||
golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
|
||||
golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
|
||||
golang.org/x/time v0.0.0-20191024005414-555d28b269f0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
|
||||
@@ -1341,8 +1341,8 @@ google.golang.org/grpc v1.48.0/go.mod h1:vN9eftEi1UMyUsIF80+uQXhHjbXYbm0uXoFCACu
|
||||
google.golang.org/grpc v1.49.0/go.mod h1:ZgQEeidpAuNRZ8iRrlBKXZQP1ghovWIVhdJRyCDK+GI=
|
||||
google.golang.org/grpc v1.50.0/go.mod h1:ZgQEeidpAuNRZ8iRrlBKXZQP1ghovWIVhdJRyCDK+GI=
|
||||
google.golang.org/grpc v1.50.1/go.mod h1:ZgQEeidpAuNRZ8iRrlBKXZQP1ghovWIVhdJRyCDK+GI=
|
||||
google.golang.org/grpc v1.58.2 h1:SXUpjxeVF3FKrTYQI4f4KvbGD5u2xccdYdurwowix5I=
|
||||
google.golang.org/grpc v1.58.2/go.mod h1:tgX3ZQDlNJGU96V6yHh1T/JeoBQ2TXdr43YbYSsCJk0=
|
||||
google.golang.org/grpc v1.58.3 h1:BjnpXut1btbtgN/6sp+brB2Kbm2LjNXnidYujAVbSoQ=
|
||||
google.golang.org/grpc v1.58.3/go.mod h1:tgX3ZQDlNJGU96V6yHh1T/JeoBQ2TXdr43YbYSsCJk0=
|
||||
google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.1.0/go.mod h1:6Kw0yEErY5E/yWrBtf03jp27GLLJujG4z/JK95pnjjw=
|
||||
google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8=
|
||||
google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0=
|
||||
|
||||
@@ -133,7 +133,7 @@ func (e *emailSender) sendMail(smtpServerAddr, message string) (err error) {
|
||||
return xerrors.Errorf("Failed to send Mail command: %w", err)
|
||||
}
|
||||
for _, to := range emailConf.To {
|
||||
if err = c.Rcpt(to); err != nil {
|
||||
if err = c.Rcpt(to, nil); err != nil {
|
||||
return xerrors.Errorf("Failed to send Rcpt command: %w", err)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -109,6 +109,10 @@ func (w Writer) Write(rs ...models.ScanResult) error {
|
||||
if err != nil {
|
||||
return xerrors.Errorf("Failed to new aws session. err: %w", err)
|
||||
}
|
||||
// For S3 upload of aws sdk
|
||||
if err := os.Setenv("HTTPS_PROXY", config.Conf.HTTPProxy); err != nil {
|
||||
return xerrors.Errorf("Failed to set HTTP proxy: %s", err)
|
||||
}
|
||||
|
||||
svc := s3.New(sess)
|
||||
for _, r := range rs {
|
||||
|
||||
@@ -1106,7 +1106,7 @@ func (o *debian) parseAptCachePolicy(stdout, name string) (packCandidateVer, err
|
||||
|
||||
if isRepoline {
|
||||
ss := strings.Split(strings.TrimSpace(line), " ")
|
||||
if len(ss) == 5 {
|
||||
if len(ss) == 5 || len(ss) == 4 {
|
||||
ver.Repo = ss[2]
|
||||
return ver, nil
|
||||
}
|
||||
|
||||
@@ -550,6 +550,29 @@ func TestParseAptCachePolicy(t *testing.T) {
|
||||
Repo: "precise-updates/main",
|
||||
},
|
||||
},
|
||||
{
|
||||
// nvidia-container-toolkit
|
||||
`nvidia-container-toolkit:
|
||||
Installed: 1.14.2-1
|
||||
Candidate: 1.14.3-1
|
||||
Version table:
|
||||
1.14.3-1 500
|
||||
500 https://nvidia.github.io/libnvidia-container/stable/deb/amd64 Packages
|
||||
*** 1.14.2-1 500
|
||||
500 https://nvidia.github.io/libnvidia-container/stable/deb/amd64 Packages
|
||||
100 /var/lib/dpkg/status
|
||||
1.14.1-1 500
|
||||
500 https://nvidia.github.io/libnvidia-container/stable/deb/amd64 Packages
|
||||
1.14.0-1 500
|
||||
500 https://nvidia.github.io/libnvidia-container/stable/deb/amd64 Packages`,
|
||||
"nvidia-container-toolkit",
|
||||
packCandidateVer{
|
||||
Name: "nvidia-container-toolkit",
|
||||
Installed: "1.14.2-1",
|
||||
Candidate: "1.14.3-1",
|
||||
Repo: "",
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
d := newDebian(config.ServerInfo{})
|
||||
|
||||
@@ -854,6 +854,10 @@ var (
|
||||
build: "22621",
|
||||
name: "Windows 11 Version 22H2",
|
||||
},
|
||||
{
|
||||
build: "22631",
|
||||
name: "Windows 11 Version 23H2",
|
||||
},
|
||||
},
|
||||
"11": {
|
||||
{
|
||||
@@ -864,6 +868,10 @@ var (
|
||||
build: "22621",
|
||||
name: "Windows 11 Version 22H2",
|
||||
},
|
||||
{
|
||||
build: "22631",
|
||||
name: "Windows 11 Version 23H2",
|
||||
},
|
||||
},
|
||||
"Server": {
|
||||
{
|
||||
@@ -1401,6 +1409,10 @@ var windowsReleases = map[string]map[string]map[string]updateProgram{
|
||||
{revision: "", kb: "5025279"},
|
||||
{revision: "", kb: "5026413"},
|
||||
{revision: "", kb: "5027275"},
|
||||
{revision: "", kb: "5028240"},
|
||||
{revision: "", kb: "5029296"},
|
||||
{revision: "", kb: "5030265"},
|
||||
{revision: "", kb: "5031408"},
|
||||
},
|
||||
securityOnly: []string{
|
||||
"3192391",
|
||||
@@ -1484,6 +1496,10 @@ var windowsReleases = map[string]map[string]map[string]updateProgram{
|
||||
"5025277",
|
||||
"5026426",
|
||||
"5027256",
|
||||
"5028224",
|
||||
"5029307",
|
||||
"5030261",
|
||||
"5031441",
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -1612,6 +1628,10 @@ var windowsReleases = map[string]map[string]map[string]updateProgram{
|
||||
{revision: "", kb: "5025285"},
|
||||
{revision: "", kb: "5026415"},
|
||||
{revision: "", kb: "5027271"},
|
||||
{revision: "", kb: "5028228"},
|
||||
{revision: "", kb: "5029312"},
|
||||
{revision: "", kb: "5030269"},
|
||||
{revision: "", kb: "5031419"},
|
||||
},
|
||||
securityOnly: []string{
|
||||
"3192392",
|
||||
@@ -1694,6 +1714,10 @@ var windowsReleases = map[string]map[string]map[string]updateProgram{
|
||||
"5025288",
|
||||
"5026409",
|
||||
"5027282",
|
||||
"5028223",
|
||||
"5029304",
|
||||
"5030287",
|
||||
"5031407",
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -1824,6 +1848,10 @@ var windowsReleases = map[string]map[string]map[string]updateProgram{
|
||||
{revision: "19926", kb: "5026382"},
|
||||
{revision: "19983", kb: "5027230"},
|
||||
{revision: "19986", kb: "5028622"},
|
||||
{revision: "20048", kb: "5028186"},
|
||||
{revision: "20107", kb: "5029259"},
|
||||
{revision: "20162", kb: "5030220"},
|
||||
{revision: "20232", kb: "5031377"},
|
||||
},
|
||||
},
|
||||
// https://support.microsoft.com/en-us/topic/windows-10-update-history-2ad7900f-882c-1dfc-f9d7-82b7ca162010
|
||||
@@ -2029,6 +2057,10 @@ var windowsReleases = map[string]map[string]map[string]updateProgram{
|
||||
{revision: "5921", kb: "5026363"},
|
||||
{revision: "5989", kb: "5027219"},
|
||||
{revision: "5996", kb: "5028623"},
|
||||
{revision: "6085", kb: "5028169"},
|
||||
{revision: "6167", kb: "5029242"},
|
||||
{revision: "6252", kb: "5030213"},
|
||||
{revision: "6351", kb: "5031362"},
|
||||
},
|
||||
},
|
||||
// https://support.microsoft.com/en-us/topic/windows-10-update-history-83aa43c0-82e0-92d8-1580-10642c9ed612
|
||||
@@ -2403,6 +2435,10 @@ var windowsReleases = map[string]map[string]map[string]updateProgram{
|
||||
{revision: "4252", kb: "5025229"},
|
||||
{revision: "4377", kb: "5026362"},
|
||||
{revision: "4499", kb: "5027222"},
|
||||
{revision: "4645", kb: "5028168"},
|
||||
{revision: "4737", kb: "5029247"},
|
||||
{revision: "4851", kb: "5030214"},
|
||||
{revision: "4974", kb: "5031361"},
|
||||
},
|
||||
},
|
||||
// https://support.microsoft.com/en-us/topic/windows-10-update-history-e6058e7c-4116-38f1-b984-4fcacfba5e5d
|
||||
@@ -2732,6 +2768,10 @@ var windowsReleases = map[string]map[string]map[string]updateProgram{
|
||||
{revision: "2846", kb: "5025221"},
|
||||
{revision: "2965", kb: "5026361"},
|
||||
{revision: "3086", kb: "5027215"},
|
||||
{revision: "3208", kb: "5028166"},
|
||||
{revision: "3324", kb: "5029244"},
|
||||
{revision: "3448", kb: "5030211"},
|
||||
{revision: "3570", kb: "5031356"},
|
||||
},
|
||||
},
|
||||
// https://support.microsoft.com/en-us/topic/windows-10-update-history-8127c2c6-6edf-4fdf-8b9f-0f7be1ef3562
|
||||
@@ -2754,6 +2794,14 @@ var windowsReleases = map[string]map[string]map[string]updateProgram{
|
||||
{revision: "3031", kb: "5026435"},
|
||||
{revision: "3086", kb: "5027215"},
|
||||
{revision: "3155", kb: "5027293"},
|
||||
{revision: "3208", kb: "5028166"},
|
||||
{revision: "3271", kb: "5028244"},
|
||||
{revision: "3324", kb: "5029244"},
|
||||
{revision: "3393", kb: "5029331"},
|
||||
{revision: "3448", kb: "5030211"},
|
||||
{revision: "3516", kb: "5030300"},
|
||||
{revision: "3570", kb: "5031356"},
|
||||
{revision: "3636", kb: "5031445"},
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -2806,6 +2854,13 @@ var windowsReleases = map[string]map[string]map[string]updateProgram{
|
||||
{revision: "2003", kb: "5026436"},
|
||||
{revision: "2057", kb: "5027223"},
|
||||
{revision: "2124", kb: "5027292"},
|
||||
{revision: "2176", kb: "5028182"},
|
||||
{revision: "2245", kb: "5028245"},
|
||||
{revision: "2295", kb: "5029253"},
|
||||
{revision: "2360", kb: "5029332"},
|
||||
{revision: "2416", kb: "5030217"},
|
||||
{revision: "2482", kb: "5030301"},
|
||||
{revision: "2538", kb: "5031358"},
|
||||
},
|
||||
},
|
||||
// https://support.microsoft.com/en-us/topic/windows-11-version-22h2-update-history-ec4229c3-9c5f-4e75-9d6d-9025ab70fcce
|
||||
@@ -2832,6 +2887,20 @@ var windowsReleases = map[string]map[string]map[string]updateProgram{
|
||||
{revision: "1778", kb: "5026446"},
|
||||
{revision: "1848", kb: "5027231"},
|
||||
{revision: "1928", kb: "5027303"},
|
||||
{revision: "1992", kb: "5028185"},
|
||||
{revision: "2070", kb: "5028254"},
|
||||
{revision: "2134", kb: "5029263"},
|
||||
{revision: "2215", kb: "5029351"},
|
||||
{revision: "2283", kb: "5030219"},
|
||||
{revision: "2361", kb: "5030310"},
|
||||
{revision: "2428", kb: "5031354"},
|
||||
{revision: "2506", kb: "5031455"},
|
||||
},
|
||||
},
|
||||
"22631": {
|
||||
rollup: []windowsRelease{
|
||||
{revision: "2428", kb: ""},
|
||||
{revision: "2506", kb: "5031455"},
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -2914,6 +2983,10 @@ var windowsReleases = map[string]map[string]map[string]updateProgram{
|
||||
{revision: "", kb: "5025271"},
|
||||
{revision: "", kb: "5026408"},
|
||||
{revision: "", kb: "5027279"},
|
||||
{revision: "", kb: "5028222"},
|
||||
{revision: "", kb: "5029318"},
|
||||
{revision: "", kb: "5030271"},
|
||||
{revision: "", kb: "5031416"},
|
||||
},
|
||||
securityOnly: []string{
|
||||
"4457984",
|
||||
@@ -2975,6 +3048,10 @@ var windowsReleases = map[string]map[string]map[string]updateProgram{
|
||||
"5025273",
|
||||
"5026427",
|
||||
"5027277",
|
||||
"5028226",
|
||||
"5029301",
|
||||
"5030286",
|
||||
"5031411",
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -3101,6 +3178,10 @@ var windowsReleases = map[string]map[string]map[string]updateProgram{
|
||||
{revision: "", kb: "5025279"},
|
||||
{revision: "", kb: "5026413"},
|
||||
{revision: "", kb: "5027275"},
|
||||
{revision: "", kb: "5028240"},
|
||||
{revision: "", kb: "5029296"},
|
||||
{revision: "", kb: "5030265"},
|
||||
{revision: "", kb: "5031408"},
|
||||
},
|
||||
securityOnly: []string{
|
||||
"3192391",
|
||||
@@ -3184,6 +3265,10 @@ var windowsReleases = map[string]map[string]map[string]updateProgram{
|
||||
"5025277",
|
||||
"5026426",
|
||||
"5027256",
|
||||
"5028224",
|
||||
"5029307",
|
||||
"5030261",
|
||||
"5031441",
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -3312,6 +3397,10 @@ var windowsReleases = map[string]map[string]map[string]updateProgram{
|
||||
{revision: "", kb: "5025287"},
|
||||
{revision: "", kb: "5026419"},
|
||||
{revision: "", kb: "5027283"},
|
||||
{revision: "", kb: "5028232"},
|
||||
{revision: "", kb: "5029295"},
|
||||
{revision: "", kb: "5030278"},
|
||||
{revision: "", kb: "5031442"},
|
||||
},
|
||||
securityOnly: []string{
|
||||
"3192393",
|
||||
@@ -3394,6 +3483,10 @@ var windowsReleases = map[string]map[string]map[string]updateProgram{
|
||||
"5025272",
|
||||
"5026411",
|
||||
"5027281",
|
||||
"5028233",
|
||||
"5029308",
|
||||
"5030279",
|
||||
"5031427",
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -3522,6 +3615,10 @@ var windowsReleases = map[string]map[string]map[string]updateProgram{
|
||||
{revision: "", kb: "5025285"},
|
||||
{revision: "", kb: "5026415"},
|
||||
{revision: "", kb: "5027271"},
|
||||
{revision: "", kb: "5028228"},
|
||||
{revision: "", kb: "5029312"},
|
||||
{revision: "", kb: "5030269"},
|
||||
{revision: "", kb: "5031419"},
|
||||
},
|
||||
securityOnly: []string{
|
||||
"3192392",
|
||||
@@ -3604,6 +3701,10 @@ var windowsReleases = map[string]map[string]map[string]updateProgram{
|
||||
"5025288",
|
||||
"5026409",
|
||||
"5027282",
|
||||
"5028223",
|
||||
"5029304",
|
||||
"5030287",
|
||||
"5031407",
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -3766,6 +3867,10 @@ var windowsReleases = map[string]map[string]map[string]updateProgram{
|
||||
{revision: "5921", kb: "5026363"},
|
||||
{revision: "5989", kb: "5027219"},
|
||||
{revision: "5996", kb: "5028623"},
|
||||
{revision: "6085", kb: "5028169"},
|
||||
{revision: "6167", kb: "5029242"},
|
||||
{revision: "6252", kb: "5030213"},
|
||||
{revision: "6351", kb: "5031362"},
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -3928,53 +4033,6 @@ var windowsReleases = map[string]map[string]map[string]updateProgram{
|
||||
{revision: "1879", kb: "5001342"},
|
||||
{revision: "1911", kb: "5001384"},
|
||||
{revision: "1935", kb: "5003171"},
|
||||
{revision: "1971", kb: "5003217"},
|
||||
{revision: "1999", kb: "5003646"},
|
||||
{revision: "2028", kb: "5003703"},
|
||||
{revision: "2029", kb: "5004947"},
|
||||
{revision: "2061", kb: "5004244"},
|
||||
{revision: "2090", kb: "5004308"},
|
||||
{revision: "2091", kb: "5005394"},
|
||||
{revision: "2114", kb: "5005030"},
|
||||
{revision: "2145", kb: "5005102"},
|
||||
{revision: "2183", kb: "5005568"},
|
||||
{revision: "2210", kb: "5005625"},
|
||||
{revision: "2213", kb: "5005625"},
|
||||
{revision: "2237", kb: "5006672"},
|
||||
{revision: "2268", kb: "5006744"},
|
||||
{revision: "2300", kb: "5007206"},
|
||||
{revision: "2305", kb: "5008602"},
|
||||
{revision: "2330", kb: "5007266"},
|
||||
{revision: "2366", kb: "5008218"},
|
||||
{revision: "2369", kb: "5010196"},
|
||||
{revision: "2452", kb: "5009557"},
|
||||
{revision: "2458", kb: "5010791"},
|
||||
{revision: "2510", kb: "5009616"},
|
||||
{revision: "2565", kb: "5010351"},
|
||||
{revision: "2628", kb: "5010427"},
|
||||
{revision: "2686", kb: "5011503"},
|
||||
{revision: "2746", kb: "5011551"},
|
||||
{revision: "2803", kb: "5012647"},
|
||||
{revision: "2867", kb: "5012636"},
|
||||
{revision: "2928", kb: "5013941"},
|
||||
{revision: "2931", kb: "5015018"},
|
||||
{revision: "2989", kb: "5014022"},
|
||||
{revision: "3046", kb: "5014692"},
|
||||
{revision: "3113", kb: "5014669"},
|
||||
{revision: "3165", kb: "5015811"},
|
||||
{revision: "3232", kb: "5015880"},
|
||||
{revision: "3287", kb: "5016623"},
|
||||
{revision: "3346", kb: "5016690"},
|
||||
{revision: "3406", kb: "5017315"},
|
||||
{revision: "3469", kb: "5017379"},
|
||||
{revision: "3532", kb: "5018419"},
|
||||
{revision: "3534", kb: "5020438"},
|
||||
{revision: "3650", kb: "5019966"},
|
||||
{revision: "3653", kb: "5021655"},
|
||||
{revision: "3770", kb: "5021237"},
|
||||
{revision: "3772", kb: "5022554"},
|
||||
{revision: "3887", kb: "5022286"},
|
||||
{revision: "4010", kb: "5022840"},
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -4103,6 +4161,10 @@ var windowsReleases = map[string]map[string]map[string]updateProgram{
|
||||
{revision: "4252", kb: "5025229"},
|
||||
{revision: "4377", kb: "5026362"},
|
||||
{revision: "4499", kb: "5027222"},
|
||||
{revision: "4645", kb: "5028168"},
|
||||
{revision: "4737", kb: "5029247"},
|
||||
{revision: "4851", kb: "5030214"},
|
||||
{revision: "4974", kb: "5031361"},
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -4393,6 +4455,10 @@ var windowsReleases = map[string]map[string]map[string]updateProgram{
|
||||
{revision: "1668", kb: "5025230"},
|
||||
{revision: "1726", kb: "5026370"},
|
||||
{revision: "1787", kb: "5027225"},
|
||||
{revision: "1850", kb: "5028171"},
|
||||
{revision: "1906", kb: "5029250"},
|
||||
{revision: "1970", kb: "5030216"},
|
||||
{revision: "2031", kb: "5031364"},
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
@@ -723,7 +723,7 @@ func Test_windows_detectKBsFromKernelVersion(t *testing.T) {
|
||||
},
|
||||
want: models.WindowsKB{
|
||||
Applied: nil,
|
||||
Unapplied: []string{"5020953", "5019959", "5020030", "5021233", "5022282", "5019275", "5022834", "5022906", "5023696", "5023773", "5025221", "5025297", "5026361", "5026435", "5027215", "5027293"},
|
||||
Unapplied: []string{"5020953", "5019959", "5020030", "5021233", "5022282", "5019275", "5022834", "5022906", "5023696", "5023773", "5025221", "5025297", "5026361", "5026435", "5027215", "5027293", "5028166", "5028244", "5029244", "5029331", "5030211", "5030300", "5031356", "5031445"},
|
||||
},
|
||||
},
|
||||
{
|
||||
@@ -734,7 +734,7 @@ func Test_windows_detectKBsFromKernelVersion(t *testing.T) {
|
||||
},
|
||||
want: models.WindowsKB{
|
||||
Applied: nil,
|
||||
Unapplied: []string{"5020953", "5019959", "5020030", "5021233", "5022282", "5019275", "5022834", "5022906", "5023696", "5023773", "5025221", "5025297", "5026361", "5026435", "5027215", "5027293"},
|
||||
Unapplied: []string{"5020953", "5019959", "5020030", "5021233", "5022282", "5019275", "5022834", "5022906", "5023696", "5023773", "5025221", "5025297", "5026361", "5026435", "5027215", "5027293", "5028166", "5028244", "5029244", "5029331", "5030211", "5030300", "5031356", "5031445"},
|
||||
},
|
||||
},
|
||||
{
|
||||
@@ -745,7 +745,7 @@ func Test_windows_detectKBsFromKernelVersion(t *testing.T) {
|
||||
},
|
||||
want: models.WindowsKB{
|
||||
Applied: []string{"5019311", "5017389", "5018427", "5019509", "5018496", "5019980", "5020044", "5021255", "5022303"},
|
||||
Unapplied: []string{"5022360", "5022845", "5022913", "5023706", "5023778", "5025239", "5025305", "5026372", "5026446", "5027231", "5027303"},
|
||||
Unapplied: []string{"5022360", "5022845", "5022913", "5023706", "5023778", "5025239", "5025305", "5026372", "5026446", "5027231", "5027303", "5028185", "5028254", "5029263", "5029351", "5030219", "5030310", "5031354", "5031455"},
|
||||
},
|
||||
},
|
||||
{
|
||||
@@ -756,7 +756,7 @@ func Test_windows_detectKBsFromKernelVersion(t *testing.T) {
|
||||
},
|
||||
want: models.WindowsKB{
|
||||
Applied: []string{"5005575", "5005619", "5006699", "5006745", "5007205", "5007254", "5008223", "5010197", "5009555", "5010796", "5009608", "5010354", "5010421", "5011497", "5011558", "5012604", "5012637", "5013944", "5015013", "5014021", "5014678", "5014665", "5015827", "5015879", "5016627", "5016693", "5017316", "5017381", "5018421", "5020436", "5018485", "5019081", "5021656", "5020032", "5021249", "5022553", "5022291", "5022842"},
|
||||
Unapplied: []string{"5023705", "5025230", "5026370", "5027225"},
|
||||
Unapplied: []string{"5023705", "5025230", "5026370", "5027225", "5028171", "5029250", "5030216", "5031364"},
|
||||
},
|
||||
},
|
||||
{
|
||||
@@ -766,7 +766,7 @@ func Test_windows_detectKBsFromKernelVersion(t *testing.T) {
|
||||
osPackages: osPackages{Kernel: models.Kernel{Version: "10.0.20348.9999"}},
|
||||
},
|
||||
want: models.WindowsKB{
|
||||
Applied: []string{"5005575", "5005619", "5006699", "5006745", "5007205", "5007254", "5008223", "5010197", "5009555", "5010796", "5009608", "5010354", "5010421", "5011497", "5011558", "5012604", "5012637", "5013944", "5015013", "5014021", "5014678", "5014665", "5015827", "5015879", "5016627", "5016693", "5017316", "5017381", "5018421", "5020436", "5018485", "5019081", "5021656", "5020032", "5021249", "5022553", "5022291", "5022842", "5023705", "5025230", "5026370", "5027225"},
|
||||
Applied: []string{"5005575", "5005619", "5006699", "5006745", "5007205", "5007254", "5008223", "5010197", "5009555", "5010796", "5009608", "5010354", "5010421", "5011497", "5011558", "5012604", "5012637", "5013944", "5015013", "5014021", "5014678", "5014665", "5015827", "5015879", "5016627", "5016693", "5017316", "5017381", "5018421", "5020436", "5018485", "5019081", "5021656", "5020032", "5021249", "5022553", "5022291", "5022842", "5023705", "5025230", "5026370", "5027225", "5028171", "5029250", "5030216", "5031364"},
|
||||
Unapplied: nil,
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user