Skip to main content

DEFAULT_REDACT_MESSAGE_SUBSTRINGS

Constant DEFAULT_REDACT_MESSAGE_SUBSTRINGS 

Source
const DEFAULT_REDACT_MESSAGE_SUBSTRINGS: &[&str];
Expand description

Substrings that mark a context.message key as secret-bearing.

message is free-form (plugins and Lua scripts write whatever they like), so substring matching is the only defence that scales. Deliberately not bare key: that would redact consumer.key_id, which is exactly what a developer needs to see.