feat: introduce package UIDs for improved vulnerability mapping (#6583)

Signed-off-by: knqyf263 <knqyf263@gmail.com>
This commit is contained in:
Teppei Fukuda
2024-05-03 15:14:34 +04:00
committed by GitHub
parent 770b14113c
commit 998f750432
71 changed files with 1531 additions and 874 deletions

View File

@@ -55,6 +55,9 @@ func TestConvertToRpcPkgs(t *testing.T) {
},
Digest: "SHA1:901a7b55410321c4d35543506cff2a8613ef5aa2",
Indirect: true,
Identifier: ftypes.PkgIdentifier{
UID: "01",
},
},
},
},
@@ -86,6 +89,9 @@ func TestConvertToRpcPkgs(t *testing.T) {
},
Digest: "SHA1:901a7b55410321c4d35543506cff2a8613ef5aa2",
Indirect: true,
Identifier: &common.PkgIdentifier{
Uid: "01",
},
},
},
},
@@ -137,6 +143,9 @@ func TestConvertFromRpcPkgs(t *testing.T) {
},
Digest: "SHA1:901a7b55410321c4d35543506cff2a8613ef5aa2",
Indirect: true,
Identifier: &common.PkgIdentifier{
Uid: "01",
},
},
},
},
@@ -168,6 +177,9 @@ func TestConvertFromRpcPkgs(t *testing.T) {
},
Digest: "SHA1:901a7b55410321c4d35543506cff2a8613ef5aa2",
Indirect: true,
Identifier: ftypes.PkgIdentifier{
UID: "01",
},
},
},
},