Konnect Control Planes Configuration (dev)
HeaderSanitizationRule
objectnamestring
Optional identifier for this rule
Example:api-key
header_namestringrequired
HTTP header name to sanitize (case-insensitive)
Example:auth-token
scopearray[string]required
Where the rule applies
Allowed values:requestresponse
Default:request, response
actionstringrequired
- mask: Replace with “******”
Allowed values:mask
Default:mask
Example
JsonPathExpression
stringJSONPath expression to locate the value.
Example
JsonPathStrategy
objectStrategy using JSONPath expression to locate content for sanitization.
* Additional properties are NOT allowed.
json_pathstringrequired
JSONPath expression to locate the value.
Example:$.user.email
Example
RegexPattern
stringRegex to match to locate the value.
Example
RegexStrategy
objectStrategy using regex pattern to locate content for sanitization.
* Additional properties are NOT allowed.
regexstring(regex)required
Regex to match to locate the value.
Example:\d{4}-\d{4}-\d{4}-\d{4}
Example