-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: use
PkgIdentifier.BOMRef
for SPDXID
- Loading branch information
1 parent
a2ceb4b
commit 964f16a
Showing
8 changed files
with
37 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,8 +30,8 @@ | |
"Name": "libmd0", | ||
"Identifier": { | ||
"PURL": "pkg:deb/debian/[email protected]?arch=arm64\u0026distro=debian-12.5", | ||
"UID": "1a40caf90922a802", | ||
"SPDXID": "Package-gnrtd175" | ||
"UID": "bd94e402741d3988", | ||
"BOMRef": "Package-gnrtd175" | ||
}, | ||
"Version": "1.0.4-2", | ||
"Arch": "arm64", | ||
|
@@ -48,8 +48,8 @@ | |
"Name": "libmount1", | ||
"Identifier": { | ||
"PURL": "pkg:deb/debian/[email protected]%2Bdeb12u1?arch=arm64\u0026distro=debian-12.5", | ||
"UID": "f5f492c064df8ae2", | ||
"SPDXID": "Package-gnrtd259" | ||
"UID": "ae2f6c69df04ce11", | ||
"BOMRef": "Package-gnrtd259" | ||
}, | ||
"Version": "2.38.1-5+deb12u1", | ||
"Arch": "arm64", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -42,7 +42,7 @@ func Test_sbomAnalyzer_Analyze(t *testing.T) { | |
Name: "apm-agent", | ||
Version: "1.36.0", | ||
}, | ||
SPDXID: "Package-f0db45781e6813a1", | ||
BOMRef: "Package-f0db45781e6813a1", | ||
}, | ||
}, | ||
{ | ||
|
@@ -57,7 +57,7 @@ func Test_sbomAnalyzer_Analyze(t *testing.T) { | |
Name: "apm-agent-cached-lookup-key", | ||
Version: "1.36.0", | ||
}, | ||
SPDXID: "Package-efe22bf5916f985f", | ||
BOMRef: "Package-efe22bf5916f985f", | ||
}, | ||
}, | ||
{ | ||
|
@@ -72,7 +72,7 @@ func Test_sbomAnalyzer_Analyze(t *testing.T) { | |
Name: "apm-agent-common", | ||
Version: "1.36.0", | ||
}, | ||
SPDXID: "Package-33d86d2d11abe114", | ||
BOMRef: "Package-33d86d2d11abe114", | ||
}, | ||
}, | ||
{ | ||
|
@@ -87,7 +87,7 @@ func Test_sbomAnalyzer_Analyze(t *testing.T) { | |
Name: "apm-agent-core", | ||
Version: "1.36.0", | ||
}, | ||
SPDXID: "Package-b905fcf69ca61281", | ||
BOMRef: "Package-b905fcf69ca61281", | ||
}, | ||
}, | ||
}, | ||
|
@@ -114,7 +114,7 @@ func Test_sbomAnalyzer_Analyze(t *testing.T) { | |
}, | ||
}, | ||
}, | ||
SPDXID: "elasticsearch", | ||
BOMRef: "elasticsearch", | ||
}, | ||
}, | ||
}, | ||
|
@@ -189,7 +189,7 @@ func Test_sbomAnalyzer_Analyze(t *testing.T) { | |
Name: "gdal", | ||
Version: "3.7.1", | ||
}, | ||
SPDXID: "gdal", | ||
BOMRef: "gdal", | ||
}, | ||
}, | ||
{ | ||
|
@@ -203,7 +203,7 @@ func Test_sbomAnalyzer_Analyze(t *testing.T) { | |
Name: "geos", | ||
Version: "3.8.3", | ||
}, | ||
SPDXID: "geos", | ||
BOMRef: "geos", | ||
}, | ||
}, | ||
{ | ||
|
@@ -217,7 +217,7 @@ func Test_sbomAnalyzer_Analyze(t *testing.T) { | |
Name: "postgresql", | ||
Version: "15.3.0", | ||
}, | ||
SPDXID: "postgresql", | ||
BOMRef: "postgresql", | ||
}, | ||
DependsOn: []string{ | ||
"[email protected]", | ||
|
@@ -236,7 +236,7 @@ func Test_sbomAnalyzer_Analyze(t *testing.T) { | |
Name: "proj", | ||
Version: "6.3.2", | ||
}, | ||
SPDXID: "proj", | ||
BOMRef: "proj", | ||
}, | ||
}, | ||
}, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters