Skip to content

Commit e2e01e5

Browse files
authored
Merge branch 'master' into πŸ™ƒπŸ™ƒπŸ™ƒπŸ™ƒπŸ™ƒπŸ™ƒπŸ™ƒ
2 parents aa8cfa1 + af5be18 commit e2e01e5

7 files changed

Lines changed: 526 additions & 32 deletions

File tree

β€Žgcp/api/integration_tests.pyβ€Ž

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -732,8 +732,6 @@ def test_query_batch(self):
732732
{},
733733
{
734734
'vulns': [{
735-
'id': 'CVE-2020-15866',
736-
}, {
737735
'id': 'CVE-2020-36401',
738736
}, {
739737
'id': 'CVE-2021-4110',

β€Žgo/cmd/relations/update.goβ€Ž

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ package main
1717
import (
1818
"context"
1919
"errors"
20+
"fmt"
2021
"log/slog"
2122
"slices"
2223
"strings"
@@ -86,7 +87,7 @@ func (u *Updater) run(ctx context.Context) {
8687
// TODO: Parallelize these updates using a worker pool.
8788
for id, updates := range allUpdates {
8889
// Get the vulnerability from GCS
89-
path := id + ".pb"
90+
path := fmt.Sprintf("all/pb/%s.pb", id)
9091
data, err := u.gcsClient.ReadObject(ctx, path)
9192
if err != nil {
9293
if errors.Is(err, clients.ErrNotFound) {

β€Žtools/apitester/__snapshots__/cassette_TestCommand.snapβ€Ž

Lines changed: 20 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@
113113
},
114114
{
115115
"id": "GO-2025-3420",
116-
"modified": "<RFC3339 date with the year 2025>"
116+
"modified": "<RFC3339 date with the year 2026>"
117117
},
118118
{
119119
"id": "GO-2025-3447",
@@ -273,7 +273,7 @@
273273
},
274274
{
275275
"id": "GO-2025-3420",
276-
"modified": "<RFC3339 date with the year 2025>"
276+
"modified": "<RFC3339 date with the year 2026>"
277277
},
278278
{
279279
"id": "GO-2025-3447",
@@ -425,7 +425,7 @@
425425
},
426426
{
427427
"id": "GO-2025-3420",
428-
"modified": "<RFC3339 date with the year 2025>"
428+
"modified": "<RFC3339 date with the year 2026>"
429429
},
430430
{
431431
"id": "GO-2025-3447",
@@ -585,7 +585,7 @@
585585
},
586586
{
587587
"id": "GO-2025-3420",
588-
"modified": "<RFC3339 date with the year 2025>"
588+
"modified": "<RFC3339 date with the year 2026>"
589589
},
590590
{
591591
"id": "GO-2025-3447",
@@ -3270,7 +3270,14 @@
32703270
}
32713271
]
32723272
},
3273-
{},
3273+
{
3274+
"vulns": [
3275+
{
3276+
"id": "GHSA-27jp-wm6q-gp25",
3277+
"modified": "<RFC3339 date with the year 2026>"
3278+
}
3279+
]
3280+
},
32743281
{},
32753282
{},
32763283
{
@@ -3768,7 +3775,14 @@
37683775
}
37693776
]
37703777
},
3771-
{},
3778+
{
3779+
"vulns": [
3780+
{
3781+
"id": "GHSA-27jp-wm6q-gp25",
3782+
"modified": "<RFC3339 date with the year 2026>"
3783+
}
3784+
]
3785+
},
37723786
{},
37733787
{},
37743788
{

β€Žtools/apitester/__snapshots__/cassette_batch_query.snapβ€Ž

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,6 @@
88
"id": "CVE-2021-22569",
99
"modified": "<RFC3339 date with the year 2026>"
1010
},
11-
{
12-
"id": "CVE-2022-1941",
13-
"modified": "<RFC3339 date with the year 2026>"
14-
},
1511
{
1612
"id": "CVE-2022-3171",
1713
"modified": "<RFC3339 date with the year 2026>"

0 commit comments

Comments
Β (0)