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 5252 'humanfriendly~=10.0' ,
5353 'jmespath' ,
5454 'knack~=0.11.0' ,
55- 'microsoft-security-utilities-secret-masker~=1.0.0b2 ' ,
55+ 'microsoft-security-utilities-secret-masker~=1.0.0b4 ' ,
5656 'msal-extensions==1.2.0' ,
5757 'msal[broker]==1.31.2b1' ,
5858 'msrestazure~=0.6.4' ,
You can’t perform that action at this time.
0 commit comments