File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ class TestCredentialHelper(unittest.TestCase):
1212 def _get_test_secret_masker (self ):
1313 from microsoft_security_utilities_secret_masker import SecretMasker , load_regex_pattern_from_json
1414 email_address_json = {
15- "Pattern" : r"(?<refine>[\w.%#+-]+)(%40|@)([a-z0-9.-]*.[a-z]{2,})" ,
15+ "Pattern" : r"(?P <refine>[\w.%#+-]+)(%40|@)([a-z0-9.-]*.[a-z]{2,})" ,
1616 "Id" : "001" ,
1717 "Name" : "EmailAddress" ,
1818 "Signatures" : [
@@ -22,7 +22,7 @@ def _get_test_secret_masker(self):
2222 "DetectionMetadata" : "HighConfidence"
2323 }
2424 guid_json = {
25- "Pattern" : r"(?<refine>[0-9a-f]{8}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{12})" ,
25+ "Pattern" : r"(?P <refine>[0-9a-f]{8}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{12})" ,
2626 "Id" : "002" ,
2727 "Name" : "GUID" ,
2828 "DetectionMetadata" : "LowConfidence"
Original file line number Diff line number Diff line change 5353 'humanfriendly~=10.0' ,
5454 'jmespath' ,
5555 'knack~=0.11.0' ,
56+ 'microsoft-security-utilities-secret-masker~=1.0.0b4' ,
5657 'msal-extensions==1.2.0' ,
5758 'msal[broker]==1.31.0' ,
5859 'msrestazure~=0.6.4' ,
6364 'PyJWT>=2.1.0' ,
6465 'pyopenssl>=17.1.0' , # https://github.com/pyca/pyopenssl/pull/612
6566 'requests[socks]' ,
66- 'microsoft-security-utilities-secret-masker~=1.0.0b2' ,
6767]
6868
6969with open ('README.rst' , 'r' , encoding = 'utf-8' ) as f :
You can’t perform that action at this time.
0 commit comments