We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4da6aa8 commit fd07d60Copy full SHA for fd07d60
tests/ci/s3_helper.py
@@ -21,7 +21,7 @@
21
)
22
23
sensitive_var_pattern = re.compile(
24
- r"\b[A-Z_]*(?<!WRONG_)(SECRET|PASSWORD|ACCESS_KEY|TOKEN)[A-Z_]*\b(?!%)(?!=clickhouse$)(?!=minio)(?!: \*{3}$)(?! '\[HIDDEN\]')"
+ r"\b[A-Z_]*(?<!WRONG_)(SECRET|PASSWORD|ACCESS_KEY|TOKEN)[A-Z_]*\b(?!%)(?!=clickhouse$)(?!=minio)(?!: \*{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