srowen commented on a change in pull request #23555: [SPARK-26625] Add 
oauthToken to spark.redaction.regex
URL: https://github.com/apache/spark/pull/23555#discussion_r248420566
 
 

 ##########
 File path: core/src/main/scala/org/apache/spark/internal/config/package.scala
 ##########
 @@ -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|token".r)
 
 Review comment:
   OK. This might catch tokens we don't want to redact, but I can't think of 
any tokens we don't want to redact, either.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to