Skip to content

Commit a6c9c51

Browse files
Update java/ql/src/experimental/CWE-532/SensitiveInfoLog.ql
Co-authored-by: Felicity Chapman <[email protected]>
1 parent a256065 commit a6c9c51

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

java/ql/src/experimental/CWE-532/SensitiveInfoLog.ql

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* @id java/sensitiveinfo-in-logfile
33
* @name Insertion of sensitive information into log files
4-
* @description Writting sensitive information to log files can give valuable guidance to an attacker or expose sensitive user information.
4+
* @description Writing sensitive information to log files can give valuable guidance to an attacker or expose sensitive user information.
55
* @kind problem
66
* @tags security
77
* external/cwe-532
@@ -80,4 +80,3 @@ class SensitiveLoggingConfig extends Configuration {
8080
from Node source, Node sink, SensitiveLoggingConfig conf, MethodAccess ma
8181
where conf.hasFlow(source, sink) and ma.getAnArgument() = source.asExpr() and ma.getAnArgument() = sink.asExpr()
8282
select "Outputting sensitive information $@ in method call $@.", source, ma, "to log files"
83-

0 commit comments

Comments
 (0)