We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 821275b commit 6291539Copy full SHA for 6291539
tests/ci/s3_helper.py
@@ -21,7 +21,7 @@
21
)
22
23
sensitive_var_pattern = re.compile(
24
- r"\b[A-Z_]*(SECRET|PASSWORD|ACCESS_KEY|TOKEN)[A-Z_]*\b(?!=clickhouse$)(?!: \*{3}$)"
+ r"\b[A-Z_]*(SECRET|PASSWORD|ACCESS_KEY|TOKEN)[A-Z_]*\b(?!=clickhouse$)(?!: \*{3}$)(?! '\[HIDDEN\]')(?!%)"
25
26
sensitive_strings = {
27
var: value for var, value in os.environ.items() if sensitive_var_pattern.match(var)
0 commit comments