Skip to content

Commit 048a33e

Browse files
committed
Remove user ids from the check since they get logged a lot and are less sensitive
1 parent d932770 commit 048a33e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

java/ql/src/experimental/CWE-532/SensitiveInfoLog.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ class CredentialSource extends DataFlow::ExprNode {
4848

4949
private string getACredentialRegex() {
5050
result = "(?i).*pass(wd|word|code|phrase)(?!.*question).*" or
51-
result = "(?i).*(uid|uuid|puid|username|userid|url).*"
51+
result = "(?i).*(username|url).*"
5252
}
5353

5454
class SensitiveLoggingSink extends DataFlow::ExprNode {

0 commit comments

Comments
 (0)