Removes false positive creds from NetCore Identity

This commit is contained in:
Chad Bentz
2023-08-04 21:46:35 +00:00
parent abe3a816ce
commit 5a106fd5d6
5 changed files with 43 additions and 21 deletions

View File

@@ -169,7 +169,7 @@ private class CredentialVar extends Assignable {
exists(string name | name = this.getName() |
name.regexpMatch("(?i).*pass(wd|word|code|phrase)(?!.*question).*")
or
name.regexpMatch("(?i).*(puid|username|userid).*")
name.regexpMatch("(?i).*(puid|username|userid)(?!.*(characters|claimtype)).*")
or
name.regexpMatch("(?i).*(cert)(?!.*(format|name)).*")
)