Add centralized secret sanitation #4444
Labels
priority-2-high
Bugs impacting wide number of users or very important features
type:feature
Feature (new functionality)
I'm thinking about adding a 'sanitize' function that uses the data in hostRules to (a) find every secret (e.g.
token
andpassword
), and then (b) replace all occurrences in any string with**redacted**
. Ideally we could pass every log message in raw format through it instead of having to decide fields in advance, and we should also pass issue, PR and comment bodies through it to be safe.The text was updated successfully, but these errors were encountered: