mirror of
https://github.com/github/codeql.git
synced 2026-04-28 02:05:14 +02:00
Remove user ids from the check since they get logged a lot and are less sensitive
This commit is contained in:
@@ -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).*"
|
||||
}
|
||||
|
||||
class SensitiveLoggingSink extends DataFlow::ExprNode {
|
||||
|
||||
Reference in New Issue
Block a user