Skip to content

Commit

Permalink
fix: prevent db_username to match as AccountName
Browse files Browse the repository at this point in the history
  • Loading branch information
HiteshMah-Jan authored Aug 26, 2022
1 parent 43bd867 commit 3d54847
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rules/sources/account_data.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ sources:
isSensitive: False
sensitivity: high
patterns:
- "(?i).*(?<!db|database|sql|jira).*((?:user)[^\\s/(;)#|,=!>]{0,5}(?:psw|pswd)|password|passwrd)"
- "(?i)(.*(?<!(db|database|jira|sql|postgres|mongo|aws)[^\\s/(;)#|,=!>]{0,3})(psw|pswd|password|passwrd))"
tags:
law: GDPR

Expand All @@ -45,6 +45,6 @@ sources:
isSensitive: False
sensitivity: medium
patterns:
- "(?i).*(?<!db|database|sql|jira).*(?:account|customer|person|user|organization|company)[^\\s/(;)#|,=!>]{0,8}name"
- "(?i)(.*(?<!(db|database|jira|sql|postgres|mongo|aws)[^\\s/(;)#|,=!>]{0,3})user[^\\s/(;)#|,=!>]{0,3}name)|(.*(account|customer|doctor|patient|teacher|student|person|organi[zs]ation|company)[^\\s/(;)#|,=!>]{0,3}name)"
tags:
law: GDPR

0 comments on commit 3d54847

Please sign in to comment.