Skip to content

Commit dc7b2ea

Browse files
chore: update bundled schemas [skip ci]
1 parent b7585b0 commit dc7b2ea

2 files changed

Lines changed: 112 additions & 23 deletions

File tree

schema/2.0/cyclonedx-2.0-bundled.min.schema.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

schema/2.0/cyclonedx-2.0-bundled.schema.json

Lines changed: 111 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -2208,6 +2208,34 @@
22082208
"type": "string",
22092209
"title": "Additional Context",
22102210
"description": "Any additional context of the detected component (e.g. a code snippet)."
2211+
},
2212+
"accountInfo": {
2213+
"type": "string",
2214+
"title": "Account Information",
2215+
"description": "The account or user information associated with the occurrence."
2216+
},
2217+
"systemOwner": {
2218+
"type": "string",
2219+
"title": "System Owner",
2220+
"description": "The owner of the system where the component was found."
2221+
},
2222+
"startTime": {
2223+
"type": "string",
2224+
"format": "date-time",
2225+
"title": "Start Time",
2226+
"description": "The date and time when the process detecting the occurrence started."
2227+
},
2228+
"endTime": {
2229+
"type": "string",
2230+
"format": "date-time",
2231+
"title": "End Time",
2232+
"description": "The date and time when the process detecting the occurrence ended."
2233+
},
2234+
"usageCount": {
2235+
"type": "integer",
2236+
"minimum": 0,
2237+
"title": "Usage Count",
2238+
"description": "The number of times the component occurred in the detecting process."
22112239
}
22122240
}
22132241
}
@@ -2695,25 +2723,30 @@
26952723
}
26962724
},
26972725
"implementationPlatform": {
2698-
"type": "string",
2699-
"title": "Implementation platform",
2700-
"description": "The target platform for which the algorithm is implemented. The implementation can be 'generic', running on any platform or for a specific platform.",
2701-
"enum": [
2702-
"generic",
2703-
"x86_32",
2704-
"x86_64",
2705-
"armv7-a",
2706-
"armv7-m",
2707-
"armv8-a",
2708-
"armv8-m",
2709-
"armv9-a",
2710-
"armv9-m",
2711-
"s390x",
2712-
"ppc64",
2713-
"ppc64le",
2714-
"other",
2715-
"unknown"
2716-
]
2726+
"type": "array",
2727+
"title": "Implementation platforms",
2728+
"description": "The target platforms for which the algorithm is implemented. The implementation can be 'generic', running on any platform or for a specific platform.",
2729+
"items": {
2730+
"type": "string",
2731+
"title": "Platform",
2732+
"description": "The target platform for the implementation.",
2733+
"enum": [
2734+
"generic",
2735+
"x86_32",
2736+
"x86_64",
2737+
"armv7-a",
2738+
"armv7-m",
2739+
"armv8-a",
2740+
"armv8-m",
2741+
"armv9-a",
2742+
"armv9-m",
2743+
"s390x",
2744+
"ppc64",
2745+
"ppc64le",
2746+
"other",
2747+
"unknown"
2748+
]
2749+
}
27172750
},
27182751
"certificationLevel": {
27192752
"type": "array",
@@ -2797,6 +2830,14 @@
27972830
"cfb",
27982831
"ofb",
27992832
"ctr",
2833+
"siv",
2834+
"gcm-siv",
2835+
"ocb",
2836+
"eax",
2837+
"kw",
2838+
"kwp",
2839+
"cts",
2840+
"xts",
28002841
"other",
28012842
"unknown"
28022843
],
@@ -2822,6 +2863,7 @@
28222863
"pkcs1v15",
28232864
"oaep",
28242865
"raw",
2866+
"pss",
28252867
"other",
28262868
"unknown"
28272869
],
@@ -2853,6 +2895,7 @@
28532895
"verify",
28542896
"encapsulate",
28552897
"decapsulate",
2898+
"keyagree",
28562899
"other",
28572900
"unknown"
28582901
]
@@ -2870,6 +2913,26 @@
28702913
"description": "The NIST security strength category as defined in https://csrc.nist.gov/projects/post-quantum-cryptography/post-quantum-cryptography-standardization/evaluation-criteria/security-(evaluation-criteria). A value of 0 indicates that none of the categories are met.",
28712914
"minimum": 0,
28722915
"maximum": 6
2916+
},
2917+
"secProperties": {
2918+
"type": "array",
2919+
"title": "Security Properties",
2920+
"description": "The security properties of the cryptographic algorithm.",
2921+
"items": {
2922+
"type": "string",
2923+
"title": "Security Property",
2924+
"description": "A security property of the cryptographic algorithm.",
2925+
"examples": [
2926+
"IND-CPA",
2927+
"IND-CCA",
2928+
"IND-CCA2",
2929+
"SUF-CMA",
2930+
"EUF-CMA",
2931+
"collision-resistant",
2932+
"preimage-resistant",
2933+
"second-preimage-resistant"
2934+
]
2935+
}
28732936
}
28742937
}
28752938
},
@@ -3238,6 +3301,29 @@
32383301
},
32393302
"relatedCryptographicAssets": {
32403303
"$ref": "#/$defs/cyclonedx-cryptography-2.0/$defs/relatedCryptographicAssets"
3304+
},
3305+
"keyUsage": {
3306+
"type": "array",
3307+
"title": "Key Usage",
3308+
"description": "Defines the permitted cryptographic usage for the asset.",
3309+
"items": {
3310+
"type": "string",
3311+
"title": "Usage",
3312+
"description": "A permitted cryptographic usage.",
3313+
"examples": [
3314+
"CIPHER",
3315+
"DECIPHER",
3316+
"DERIVE",
3317+
"GENERATE",
3318+
"SIGN",
3319+
"VERIFY",
3320+
"WRAP",
3321+
"UNWRAP",
3322+
"ENCRYPT",
3323+
"DECRYPT",
3324+
"MAC"
3325+
]
3326+
}
32413327
}
32423328
}
32433329
},
@@ -3595,9 +3681,12 @@
35953681
]
35963682
},
35973683
"algorithmRef": {
3598-
"$ref": "#/$defs/cyclonedx-common-2.0/$defs/refType",
3599-
"title": "Algorithm Reference",
3600-
"description": "The bom-ref to the algorithm."
3684+
"type": "array",
3685+
"title": "References",
3686+
"description": "The bom-refs to the assets securing this asset (e.g., algorithms, hardware, keys).",
3687+
"items": {
3688+
"$ref": "#/$defs/cyclonedx-common-2.0/$defs/refType"
3689+
}
36013690
}
36023691
}
36033692
}

0 commit comments

Comments
 (0)