string.proto

Package: envoy.type.matcher.v3

Types:

Source File: envoy/type/matcher/v3/string.proto

StringMatcher

Specifies the way to match a string. [#next-free-field: 7]

"exact": string
"prefix": string
"suffix": string
"safeRegex": .envoy.type.matcher.v3.RegexMatcher
"ignoreCase": bool

Field Type Description Default
exact string The input string must match exactly the string specified here. Examples: * abc only matches the value abc. Only one of exact, prefix, or safeRegex can be set.
prefix string The input string must have the prefix specified here. Note: empty prefix is not allowed, please use regex instead. Examples: * abc matches the value abc.xyz. Only one of prefix, exact, or safeRegex can be set.
suffix string The input string must have the suffix specified here. Note: empty prefix is not allowed, please use regex instead. Examples: * abc matches the value xyz.abc. Only one of suffix, exact, or safeRegex can be set.
safeRegex .envoy.type.matcher.v3.RegexMatcher The input string must match the regular expression specified here. Only one of safeRegex, exact, or suffix can be set.
ignoreCase bool If true, indicates the exact/prefix/suffix matching should be case insensitive. This has no effect for the safe_regex match. For example, the matcher data will match both input string Data and data if set to true.

ListStringMatcher

Specifies a list of ways to match a string.

"patterns": []envoy.type.matcher.v3.StringMatcher

Field Type Description Default
patterns []envoy.type.matcher.v3.StringMatcher