Skip to content

Commit 5ca7232

Browse files
Renamed proto messages while keeping backward compat. Updated comments.
Signed-off-by: Steve Springett <[email protected]>
1 parent c47884f commit 5ca7232

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

schema/bom-1.5.proto

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -121,10 +121,10 @@ message Component {
121121
optional ReleaseNotes releaseNotes = 24;
122122
}
123123

124-
// Specifies the data classification.
125-
message DataClassification { // This is actually the data flow, but unable to change the name due to backward compatability
124+
// Specifies the data flow.
125+
message DataFlow {
126126
// Specifies the flow direction of the data.
127-
DataFlow flow = 1;
127+
DataFlowDirection flow = 1;
128128
// Data classification tags data according to its type, sensitivity, and value if altered, stolen, or destroyed.
129129
string value = 2;
130130
// Name for the defined data
@@ -138,7 +138,7 @@ message DataClassification { // This is actually the data flow, but unable to ch
138138
}
139139

140140
// Specifies the flow direction of the data. Valid values are: inbound, outbound, bi-directional, and unknown. Direction is relative to the service. Inbound flow states that data enters the service. Outbound flow states that data leaves the service. Bi-directional states that data flows both ways, and unknown states that the direction is not known.
141-
enum DataFlow {
141+
enum DataFlowDirection {
142142
DATA_FLOW_NULL = 0;
143143
DATA_FLOW_INBOUND = 1;
144144
DATA_FLOW_OUTBOUND = 2;
@@ -459,7 +459,7 @@ message Service {
459459
optional bool authenticated = 8;
460460
// A boolean value indicating if use of the service crosses a trust zone or boundary. A value of true indicates that by using the service, a trust boundary is crossed. A value of false indicates that by using the service, a trust boundary is not crossed.
461461
optional bool x_trust_boundary = 9;
462-
repeated DataClassification data = 10;
462+
repeated DataFlow data = 10;
463463
repeated LicenseChoice licenses = 11;
464464
// Provides the ability to document external references related to the service.
465465
repeated ExternalReference external_references = 12;

0 commit comments

Comments
 (0)