Skip to content

Commit

Permalink
limit display_name and etag length (#85)
Browse files Browse the repository at this point in the history
  • Loading branch information
gertd authored Oct 24, 2024
1 parent 6987ae3 commit 6878adc
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions proto/aserto/directory/common/v3/common.proto
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,11 @@ message Object {
// display name object
string display_name = 3
[
(buf.validate.field) = {
string: {
max_len: 100
}
},
(google.api.field_behavior) = OPTIONAL
];
// property bag
Expand All @@ -66,6 +71,11 @@ message Object {
// object instance etag
string etag = 23
[
(buf.validate.field) = {
string: {
max_len: 20
}
},
(google.api.field_behavior) = OPTIONAL
];
}
Expand Down Expand Up @@ -180,6 +190,11 @@ message Relation {
// object instance etag
string etag = 23
[
(buf.validate.field) = {
string: {
max_len: 20
}
},
(google.api.field_behavior) = OPTIONAL
];
}
Expand Down

0 comments on commit 6878adc

Please sign in to comment.