Skip to content

Commit

Permalink
{Core} Bump microsoft-security-utilities-secret-masker to 1.0.0b4 (
Browse files Browse the repository at this point in the history
…#30993)

* Bump microsoft-security-utilities-secret-masker to 1.0.0b4

* fix test
  • Loading branch information
evelyn-ys authored Mar 11, 2025
1 parent 3a47075 commit 3a2c33a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class TestCredentialHelper(unittest.TestCase):
def _get_test_secret_masker(self):
from microsoft_security_utilities_secret_masker import SecretMasker, load_regex_pattern_from_json
email_address_json = {
"Pattern": r"(?<refine>[\w.%#+-]+)(%40|@)([a-z0-9.-]*.[a-z]{2,})",
"Pattern": r"(?P<refine>[\w.%#+-]+)(%40|@)([a-z0-9.-]*.[a-z]{2,})",
"Id": "001",
"Name": "EmailAddress",
"Signatures": [
Expand All @@ -22,7 +22,7 @@ def _get_test_secret_masker(self):
"DetectionMetadata": "HighConfidence"
}
guid_json = {
"Pattern": r"(?<refine>[0-9a-f]{8}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{12})",
"Pattern": r"(?P<refine>[0-9a-f]{8}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{12})",
"Id": "002",
"Name": "GUID",
"DetectionMetadata": "LowConfidence"
Expand Down
2 changes: 1 addition & 1 deletion src/azure-cli-core/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
'humanfriendly~=10.0',
'jmespath',
'knack~=0.11.0',
'microsoft-security-utilities-secret-masker~=1.0.0b2',
'microsoft-security-utilities-secret-masker~=1.0.0b4',
'msal-extensions==1.2.0',
'msal[broker]==1.31.2b1',
'msrestazure~=0.6.4',
Expand Down

0 comments on commit 3a2c33a

Please sign in to comment.