Skip to main content

redact

Function redact 

Source
pub fn redact(
    messages: Vec<String>,
    fields: &[ConnectionField],
    connection: &Map<String, Value>,
) -> Vec<String>
Expand description

messages with every secret field’s value replaced by *****, so a plugin’s rule that quotes a value can’t leak it.