mirror of
https://github.com/github/codeql.git
synced 2026-04-24 16:25:15 +02:00
Update swift/ql/src/queries/Security/CWE-312/CleartextLogging.ql
Co-authored-by: Mathias Vorreiter Pedersen <mathiasvp@github.com>
This commit is contained in:
@@ -20,7 +20,7 @@ import CleartextLoggingFlow::PathGraph
|
||||
|
||||
from CleartextLoggingFlow::PathNode source, CleartextLoggingFlow::PathNode sink
|
||||
where CleartextLoggingFlow::flowPath(source, sink)
|
||||
select sink, source, sink,
|
||||
select sink.getNode(), source, sink,
|
||||
"This operation writes '" + sink.toString() +
|
||||
"' to a log file. It may contain unencrypted sensitive data from $@.", source,
|
||||
source.getNode().toString()
|
||||
|
||||
Reference in New Issue
Block a user