Skip to content

Commit

Permalink
mask password or token information
Browse files Browse the repository at this point in the history
  • Loading branch information
wguanicedew committed Mar 28, 2024
1 parent edf4373 commit 5b02498
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/lib/idds/common/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -937,7 +937,7 @@ def get_unique_id_for_dict(dict_):
def idds_mask(dict_):
ret = {}
for k in dict_:
if 'pass' in k or 'password' in k or 'passwd' in k or 'token' in k:
if 'pass' in k or 'password' in k or 'passwd' in k or 'token' in k or 'security' in k or 'secure' in k:
ret[k] = "***"
else:
ret[k] = dict_[k]
Expand Down

0 comments on commit 5b02498

Please sign in to comment.