Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Remove user ids from the check since they get logged a lot and are le…
…ss sensitive
  • Loading branch information
luchua-bc committed Mar 27, 2020
commit 048a33e1438cbb4dc46c37d668bc7872bbf3f367
2 changes: 1 addition & 1 deletion java/ql/src/experimental/CWE-532/SensitiveInfoLog.ql
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ class CredentialSource extends DataFlow::ExprNode {

private string getACredentialRegex() {
result = "(?i).*pass(wd|word|code|phrase)(?!.*question).*" or
result = "(?i).*(uid|uuid|puid|username|userid|url).*"
result = "(?i).*(username|url).*"
Comment thread
luchua-bc marked this conversation as resolved.
Outdated
}

class SensitiveLoggingSink extends DataFlow::ExprNode {
Expand Down