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 ffc8248 commit 0aacb98Copy full SHA for 0aacb98
src/snowflake/connector/secret_detector.py
@@ -43,7 +43,9 @@ class SecretDetector(logging.Formatter):
43
r'"privateKeyData": "([a-z0-9/+=\\n]{10,})"', flags=re.MULTILINE | re.IGNORECASE
44
)
45
CONNECTION_TOKEN_PATTERN = re.compile(
46
- r"(token|assertion content)" r"([\'\"\s:= ]+)" r"([a-z0-9=/_\-\+\.]{8,})",
+ r"(token|assertion content)" # covers masterToken as well due to ignorecase
47
+ r"([\'\"\s:=]+)"
48
+ r"([a-z0-9=/_:\-\+\.]{8,})",
49
flags=re.IGNORECASE,
50
51
0 commit comments