You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: schema/bom-1.5.proto
+53Lines changed: 53 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -531,6 +531,59 @@ message EvidenceCopyright {
531
531
messageEvidence {
532
532
repeatedLicenseChoicelicenses=1;
533
533
repeatedEvidenceCopyrightcopyright=2;
534
+
repeatedEvidenceIdentityidentity=3;
535
+
repeatedEvidenceOccurrencesoccurrences=4;
536
+
}
537
+
538
+
messageEvidenceIdentity {
539
+
// The identity field of the component which the evidence describes.
540
+
EvidenceFieldTypefield=1;
541
+
// The overall confidence of the evidence from 0 - 1, where 1 is 100% confidence.
542
+
optionalfloatconfidence=2;
543
+
// The methods used to extract and/or analyze the evidence.
544
+
repeatedEvidenceMethodsmethods=3;
545
+
// The object in the BOM identified by its bom-ref. This is often a component or service, but may be any object type supporting bom-refs. Tools used for analysis should already be defined in the BOM, either in the metadata/tools, components, or formulation.
546
+
repeatedstringtools=4;
547
+
}
548
+
549
+
messageEvidenceMethods {
550
+
// The technique used in this method of analysis.
551
+
EvidenceTechniquetechnique=1;
552
+
// The confidence of the evidence from 0 - 1, where 1 is 100% confidence. Confidence is specific to the technique used. Each technique of analysis can have independent confidence.
553
+
floatconfidence=2;
554
+
// The value or contents of the evidence.
555
+
optionalstringvalue=3;
556
+
}
557
+
558
+
messageEvidenceOccurrences {
559
+
// An optional identifier which can be used to reference the occurrence elsewhere in the BOM. Every bom-ref MUST be unique within the BOM.
560
+
optionalstringbom_ref=1;
561
+
// The location or path to where the component was found.
"description": "The identity field of the component which the evidence describes."
1261
+
},
1262
+
"confidence": {
1263
+
"type": "number",
1264
+
"minimum": 0,
1265
+
"maximum": 1,
1266
+
"title": "Confidence",
1267
+
"description": "The overall confidence of the evidence from 0 - 1, where 1 is 100% confidence."
1268
+
},
1269
+
"methods": {
1270
+
"type": "array",
1271
+
"title": "Methods",
1272
+
"description": "The methods used to extract and/or analyze the evidence.",
1273
+
"additionalItems": false,
1274
+
"items": {
1275
+
"type": "object",
1276
+
"required": [
1277
+
"technique" ,
1278
+
"confidence"
1279
+
],
1280
+
"additionalProperties": false,
1281
+
"properties": {
1282
+
"technique": {
1283
+
"title": "Technique",
1284
+
"description": "The technique used in this method of analysis.",
1285
+
"type": "string",
1286
+
"enum": [
1287
+
"source-code-analysis",
1288
+
"binary-analysis",
1289
+
"manifest-analysis",
1290
+
"ast-fingerprint",
1291
+
"hash-comparison",
1292
+
"instrumentation",
1293
+
"dynamic-analysis",
1294
+
"filename",
1295
+
"attestation",
1296
+
"other"
1297
+
]
1298
+
},
1299
+
"confidence": {
1300
+
"type": "number",
1301
+
"minimum": 0,
1302
+
"maximum": 1,
1303
+
"title": "Confidence",
1304
+
"description": "The confidence of the evidence from 0 - 1, where 1 is 100% confidence. Confidence is specific to the technique used. Each technique of analysis can have independent confidence."
1305
+
},
1306
+
"value": {
1307
+
"type": "string",
1308
+
"title": "Value",
1309
+
"description": "The value or contents of the evidence."
1310
+
}
1311
+
}
1312
+
}
1313
+
},
1314
+
"tools": {
1315
+
"type": "array",
1316
+
"uniqueItems": true,
1317
+
"additionalItems": false,
1318
+
"items": {
1319
+
"$ref": "#/definitions/refType"
1320
+
},
1321
+
"title": "BOM References",
1322
+
"description": "The object in the BOM identified by its bom-ref. This is often a component or service, but may be any object type supporting bom-refs. Tools used for analysis should already be defined in the BOM, either in the metadata/tools, components, or formulation."
1323
+
}
1324
+
}
1325
+
},
1326
+
"occurrences": {
1327
+
"type": "array",
1328
+
"title": "Occurrences",
1329
+
"description": "Evidence of individual instances of a component spread across multiple locations.",
1330
+
"additionalItems": false,
1331
+
"items": {
1332
+
"required": [ "location" ],
1333
+
"additionalProperties": false,
1334
+
"properties": {
1335
+
"bom-ref": {
1336
+
"$ref": "#/definitions/refType",
1337
+
"title": "BOM Reference",
1338
+
"description": "An optional identifier which can be used to reference the occurrence elsewhere in the BOM. Every bom-ref MUST be unique within the BOM."
1339
+
},
1340
+
"location": {
1341
+
"type": "string",
1342
+
"title": "Location",
1343
+
"description": "The location or path to where the component was found."
<xs:documentation>The confidence of the evidence from 0 - 1, where 1 is 100% confidence. Confidence is specific to the technique used. Each technique of analysis can have independent confidence.</xs:documentation>
0 commit comments