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 f0a0ac1 commit b9f3b3bCopy full SHA for b9f3b3b
java/ql/lib/semmle/code/java/security/SensitiveLoggingQuery.qll
@@ -12,7 +12,7 @@ class CredentialExpr extends Expr {
12
CredentialExpr() {
13
exists(Variable v | this = v.getAnAccess() |
14
v.getName().regexpMatch(getCommonSensitiveInfoRegex()) and
15
- not (v.isFinal() and v.isStatic())
+ not this instanceof CompileTimeConstantExpr
16
)
17
}
18
0 commit comments