Skip to content

Commit 55065d2

Browse files
committed
Updates to example7 binary sbom
- Recalculate hashes for ExternalMap - Remove Build element - Update relationships Signed-off-by: Nisha Kumar <[email protected]>
1 parent a37b6b7 commit 55065d2

File tree

1 file changed

+21
-15
lines changed

1 file changed

+21
-15
lines changed

software/example7/spdx-3.0/example7-bin.spdx.json

Lines changed: 21 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,19 @@
4444
{
4545
"type": "Hash",
4646
"algorithm": "sha256",
47-
"hashValue": "ffde414ff13e529e8ea834f92d0e6df9c56ebace6c359ef3fca9cb60ea6cbb63"
47+
"hashValue": "15ed567c36a30fb37f7d19f0f471434b9453909bf62d925194efe713ede62086"
48+
}
49+
]
50+
},
51+
{
52+
"type": "ExternalMap",
53+
"externalSpdxId": "urn:uuid:3b2939bf-fcce-4617-a06f-115168870b95",
54+
"locationHint": "https://github.com/spdx/spdx-examples/software/example7/example7-golang.spdx.jsonld",
55+
"verifiedUsing": [
56+
{
57+
"type": "Hash",
58+
"algorithm": "sha256",
59+
"hashValue": "15ed567c36a30fb37f7d19f0f471434b9453909bf62d925194efe713ede62086"
4860
}
4961
]
5062
},
@@ -56,7 +68,7 @@
5668
{
5769
"type": "Hash",
5870
"algorithm": "sha256",
59-
"hashValue": "28c680a0232828f5ea550a10e02e9548316d4f8c1c618ae52bdf1d8e6f5a3c3c"
71+
"hashValue": "7bb2343efdccb4a2a2947219c87747673854fc6b550b2f98518af342f8dded17"
6072
}
6173
]
6274
},
@@ -68,7 +80,7 @@
6880
{
6981
"type": "Hash",
7082
"algorithm": "sha256",
71-
"hashValue": "9b34ebb21f3329351be6490733e17c0bd8b3cf4cc7321c0f3207c69844df133d"
83+
"hashValue": "0e3532e0773d24d1a3a0a58592effd67daf22ac89282dc18805e1eef23f68dfe"
7284
}
7385
]
7486
},
@@ -80,34 +92,28 @@
8092
{
8193
"type": "Hash",
8294
"algorithm": "sha256",
83-
"hashValue": "9b34ebb21f3329351be6490733e17c0bd8b3cf4cc7321c0f3207c69844df133d"
95+
"hashValue": "0e3532e0773d24d1a3a0a58592effd67daf22ac89282dc18805e1eef23f68dfe"
8496
}
8597
]
8698
},
87-
{
88-
"spdxId": "urn:uuid:128052d9-d307-43fc-a676-5d8791e12391",
89-
"type": "build_Build",
90-
"comment": "This element is used to express inputs and outputs of the go build"
91-
},
9299
{
93100
"type": "LifecycleScopedRelationship",
94101
"scope": "build",
95102
"spdxId": "urn:uuid:98dd3b3f-6b8f-49a1-88b6-628750516f1e",
96103
"creationInfo": "_:creationInfo",
97-
"relationshipType": "hasInputs",
98-
"from": "urn:uuid:128052d9-d307-43fc-a676-5d8791e12391",
104+
"relationshipType": "usesTool",
105+
"from": "urn:uuid:e1877974-0aaa-48e6-931f-db4898c543f8",
99106
"to": [
100-
"urn:uuid:a9f18ff3-17fa-419d-8966-abe4b992312b",
101-
"urn:uuid:e1877974-0aaa-48e6-931f-db4898c543f8"
107+
"urn:uuid:a9f18ff3-17fa-419d-8966-abe4b992312b"
102108
]
103109
},
104110
{
105111
"type": "LifecycleScopedRelationship",
106112
"scope": "build",
107113
"spdxId": "urn:uuid:a7b65a78-8ed2-4b20-a91b-40f94ecdb81c",
108114
"creationInfo": "_:creationInfo",
109-
"relationshipType": "hasOutputs",
110-
"from": "urn:uuid:128052d9-d307-43fc-a676-5d8791e12391",
115+
"relationshipType": "generates",
116+
"from": "urn:uuid:3b2939bf-fcce-4617-a06f-115168870b95",
111117
"to": [
112118
"urn:uuid:3773937f-6db8-49f9-920f-7d1a6b0cfcbb"
113119
]

0 commit comments

Comments
 (0)