Skip to content

Commit 3da8e47

Browse files
feat: Add support for TLP marking in metadata - correct TLP description (fixes CycloneDX#595)
Signed-off-by: anthonyharrison <[email protected]>
1 parent 5708d61 commit 3da8e47

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

schema/bom-1.7.proto

+2-2
Original file line numberDiff line numberDiff line change
@@ -514,7 +514,7 @@ message Metadata {
514514
repeated Lifecycles lifecycles = 9;
515515
// The organization that created the BOM. Manufacturer is common in BOMs created through automated processes. BOMs created through manual means may have '.authors' instead.
516516
optional OrganizationalEntity manufacturer = 10;
517-
// The Traffic Light Protocol (TLP) classification that controls the sharing and distribution of the component that the BOM describes.
517+
// The Traffic Light Protocol (TLP) classification that controls the sharing and distribution of the data that the BOM describes.
518518
optional Tlp distribution = 11;
519519
}
520520

@@ -677,7 +677,7 @@ message Swid {
677677
optional string url = 7;
678678
}
679679

680-
// The Traffic Light Protocol (TLP) classification for the component that the BOM describes. TLP is a classification system for identifying the potential risk associated with artefact, including whether it is subject to certain types of legal, financial, or technical threats. Refer to https://www.first.org/tlp/ for further information. The default classification is `TLP_CLEAR`
680+
// The Traffic Light Protocol (TLP) classification for the data that the BOM describes. TLP is a classification system for identifying the potential risk associated with artefact, including whether it is subject to certain types of legal, financial, or technical threats. Refer to https://www.first.org/tlp/ for further information. The default classification is `TLP_CLEAR`
681681
enum Tlp {
682682
// buf:lint:ignore ENUM_ZERO_VALUE_SUFFIX -- `TLP_CLEAR` is our fallback, the default.
683683
TLP_CLEAR = 0;

schema/bom-1.7.schema.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -715,7 +715,7 @@
715715
},
716716
"distribution": {
717717
"title": "Distribution",
718-
"description": "The Traffic Light Protocol (TLP) classification that controls the sharing and distribution of the component that the BOM describes.",
718+
"description": "The Traffic Light Protocol (TLP) classification that controls the sharing and distribution of the data that the BOM describes.",
719719
"$ref": "#/definitions/tlpClassification"
720720
}
721721
}
@@ -724,7 +724,7 @@
724724
"type" : "string",
725725
"default": "CLEAR",
726726
"title": "Traffic Light Protocol (TLP) Classification",
727-
"description": "The Traffic Light Protocol (TLP) classification for the component that the BOM describes. TLP is a classification system for identifying the potential risk associated with artefact, including whether it is subject to certain types of legal, financial, or technical threats. Refer to [https://www.first.org/tlp/](https://www.first.org/tlp/) for further information. The default classification is CLEAR",
727+
"description": "The Traffic Light Protocol (TLP) classification for the data that the BOM describes. TLP is a classification system for identifying the potential risk associated with artefact, including whether it is subject to certain types of legal, financial, or technical threats. Refer to [https://www.first.org/tlp/](https://www.first.org/tlp/) for further information. The default classification is CLEAR",
728728
"enum": [
729729
"AMBER",
730730
"AMBER_AND_STRICT",

schema/bom-1.7.xsd

+2-2
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ limitations under the License.
259259
<xs:element name="distribution" type="bom:tlpType" minOccurs="0" maxOccurs="1">
260260
<xs:annotation>
261261
<xs:documentation>The Traffic Light Protocol (TLP) classification that controls the sharing and distribution
262-
of the component that the BOM describes.</xs:documentation>
262+
of the data that the BOM describes.</xs:documentation>
263263
</xs:annotation>
264264
</xs:element>
265265
<xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded">
@@ -399,7 +399,7 @@ limitations under the License.
399399
<xs:simpleType name="tlpType" default="CLEAR">
400400
<xs:annotation>
401401
<xs:documentation xml:lang="en">
402-
The Traffic Light Protocol (TLP) classification for the component that the BOM describes. TLP is a classification
402+
The Traffic Light Protocol (TLP) classification for the data that the BOM describes. TLP is a classification
403403
system for identifying the potential risk associated with artefact, including whether it is subject to certain
404404
types of legal, financial, or technical threats. Refer to https://www.first.org/tlp/ for further information.
405405
The default classification is CLEAR.

0 commit comments

Comments
 (0)