Skip to content

Commit

Permalink
Adding oauthToken to spark.redaction.regex
Browse files Browse the repository at this point in the history
  • Loading branch information
Vinoo Ganesh committed Jan 15, 2019
1 parent 5ca45e8 commit e52a9b8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,7 @@ package object config {
"a property key or value, the value is redacted from the environment UI and various logs " +
"like YARN and event logs.")
.regexConf
.createWithDefault("(?i)secret|password".r)
.createWithDefault("(?i)secret|password|oauthToken".r)

private[spark] val STRING_REDACTION_PATTERN =
ConfigBuilder("spark.redaction.string.regex")
Expand Down

0 comments on commit e52a9b8

Please sign in to comment.