We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 06f2c03 commit 594d51eCopy full SHA for 594d51e
java/ql/lib/semmle/code/java/security/SensitiveLoggingQuery.qll
@@ -10,7 +10,8 @@ import DataFlow
10
class CredentialExpr extends Expr {
11
CredentialExpr() {
12
exists(Variable v | this = v.getAnAccess() |
13
- v.getName().regexpMatch([getCommonSensitiveInfoRegex(), "(?i).*(username).*"])
+ v.getName().regexpMatch([getCommonSensitiveInfoRegex(), "(?i).*(username).*"]) and
14
+ not v.isFinal()
15
)
16
}
17
0 commit comments