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 5ee7004 commit 716e273Copy full SHA for 716e273
csharp/ql/src/Security Features/CWE-327/InsecureSQLConnection.ql
@@ -32,8 +32,8 @@ module InsecureSqlConnectionConfig implements DataFlow::ConfigSig {
32
oc.getType().getName() = "SqlConnectionStringBuilder"
33
or
34
oc.getType().getName() = "SqlConnection"
35
- ) and
36
- not exists(MemberInitializer mi |
+ ) and
+ not exists(MemberInitializer mi |
37
mi = oc.getInitializer().(ObjectInitializer).getAMemberInitializer() and
38
mi.getLValue().(PropertyAccess).getTarget().getName() = "Encrypt" and
39
mi.getRValue().(BoolLiteral).getValue() = "true"
0 commit comments