Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions src/bitdrift_public/protobuf/filter/v1/filter.proto
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,9 @@ message Filter {
// Matches the processed field and specifies how to generate a new string using a given regular
// expression and substitution string.
message RegexMatchAndSubstituteField {
// The name of the field to scrub. If the field doesn't exist, nothing happens.
string name = 1 [(validate.rules).string = {min_len: 1}];
// The name of the field to scrub. If the field is empty, the scrubbing applies to all fields.
// If the field is not empty and doesn't exist, nothing happens.
string name = 1;
// The regular expression used to find portions of a string that should be replaced.
// It follows Rust's regular expression syntax. Capture groups can be used to extract portions
// of the input string and reference them later in a `substitution` string.
Expand Down
Loading