Filtering config option is case sensitive and is no longer in line with our notifier spec; as such it should be deprecated in favour of redactedKeys.
Design
Added redactedKeys configuration option, which is case insensitive, as a replacement for the filters configuration option. Additionally due to conflictions the default filters parameters were changed.
Changeset
Added redactedKeys config option.
Made redactedKeys case insensitive.
Changed filters config default parameters from
{"password", "secret", "Authorization", "Cookie"};
to
{"ipAddress", "logLevel"};
Set refactedKeys config default parameters to
{"password", "secret", "Authorization", "Cookie"};
Testing
Added and updated tests for filtering mechanism and redactedKeys mechanism.
Goal
Filtering config option is case sensitive and is no longer in line with our notifier spec; as such it should be deprecated in favour of
redactedKeys
.Design
Added
redactedKeys
configuration option, which is case insensitive, as a replacement for thefilters
configuration option. Additionally due to conflictions the defaultfilters
parameters were changed.Changeset
Added
redactedKeys
config option.Made
redactedKeys
case insensitive.Changed
filters
config default parameters from{"password", "secret", "Authorization", "Cookie"};
to{"ipAddress", "logLevel"};
Set
refactedKeys
config default parameters to{"password", "secret", "Authorization", "Cookie"};
Testing
Added and updated tests for filtering mechanism and redactedKeys mechanism.