Skip to content

Commit 677ca7c

Browse files
committed
cyclonedx example clean-up
Signed-off-by: Brian DeHamer <[email protected]>
1 parent 649fde5 commit 677ca7c

File tree

1 file changed

+30
-7
lines changed

1 file changed

+30
-7
lines changed

accepted/0000-sbom-command.md

Lines changed: 30 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -194,13 +194,13 @@ The proposed CycloneDX SBOM generated for the project above would look like the
194194

195195
```json
196196
{
197-
"$schema": "http://cyclonedx.org/schema/bom-1.4.schema.json",
197+
"$schema": "https://cyclonedx.org/schema/bom-1.4.schema.json",
198198
"bomFormat": "CycloneDX",
199199
"specVersion": "1.4",
200-
"serialNumber": "urn:uuid:1b4cd070-3f4c-4f63-965e-4ab302ad7b41",
200+
"serialNumber": "urn:uuid:f2fa9eae-72f1-430c-a9b3-986ffe05bc6e",
201201
"version": 1,
202202
"metadata": {
203-
"timestamp": "2023-08-04T21:37:16.639Z",
203+
"timestamp": "2023-08-10T00:19:08.697Z",
204204
"tools": [
205205
{
206206
"vendor": "npm",
@@ -209,10 +209,10 @@ The proposed CycloneDX SBOM generated for the project above would look like the
209209
}
210210
],
211211
"component": {
212+
"bom-ref": "[email protected]",
212213
"type": "application",
213214
"name": "hello-world",
214215
"version": "1.0.0",
215-
"bom-ref": "[email protected]",
216216
"purl": "pkg:npm/[email protected]",
217217
"properties": [
218218
{
@@ -224,10 +224,10 @@ The proposed CycloneDX SBOM generated for the project above would look like the
224224
},
225225
"components": [
226226
{
227+
"bom-ref": "@tsconfig/[email protected]",
227228
"type": "library",
228229
"name": "@tsconfig/node14",
229230
"version": "1.0.3",
230-
"bom-ref": "@tsconfig/[email protected]",
231231
"purl": "pkg:npm/%40tsconfig/[email protected]",
232232
"properties": [
233233
{
@@ -247,10 +247,10 @@ The proposed CycloneDX SBOM generated for the project above would look like the
247247
]
248248
},
249249
{
250+
"bom-ref": "[email protected]",
250251
"type": "library",
251252
"name": "debug",
252253
"version": "4.3.4",
253-
"bom-ref": "[email protected]",
254254
"purl": "pkg:npm/[email protected]",
255255
"properties": [
256256
{
@@ -266,10 +266,10 @@ The proposed CycloneDX SBOM generated for the project above would look like the
266266
]
267267
},
268268
{
269+
"bom-ref": "[email protected]",
269270
"type": "library",
270271
"name": "ms",
271272
"version": "2.1.2",
272-
"bom-ref": "[email protected]",
273273
"purl": "pkg:npm/[email protected]",
274274
"properties": [
275275
{
@@ -284,6 +284,29 @@ The proposed CycloneDX SBOM generated for the project above would look like the
284284
}
285285
]
286286
}
287+
],
288+
"dependencies": [
289+
{
290+
291+
"dependsOn": [
292+
293+
"@tsconfig/[email protected]"
294+
]
295+
},
296+
{
297+
"ref": "@tsconfig/[email protected]",
298+
"dependsOn": []
299+
},
300+
{
301+
302+
"dependsOn": [
303+
304+
]
305+
},
306+
{
307+
308+
"dependsOn": []
309+
}
287310
]
288311
}
289312
```

0 commit comments

Comments
 (0)