Skip to main content

scrub

Function scrub 

Source
pub fn scrub(output: &str, content: &str) -> String
Expand description

The last three lines of output, each cut to 200 characters, with any line that is also a line of the file being applied replaced. A validator that echoes the offending line of a config would otherwise put a secret into an error that travels to the hub and into its audit log.