diff --git a/swift/ql/lib/codeql/swift/security/CleartextLoggingQuery.qll b/swift/ql/lib/codeql/swift/security/CleartextLoggingQuery.qll index 08fed61c7d9..b5d3217e483 100644 --- a/swift/ql/lib/codeql/swift/security/CleartextLoggingQuery.qll +++ b/swift/ql/lib/codeql/swift/security/CleartextLoggingQuery.qll @@ -27,9 +27,9 @@ module CleartextLoggingConfig implements DataFlow::ConfigSig { } predicate allowImplicitRead(DataFlow::Node node, DataFlow::ContentSet c) { - // flow out from array content at the sink. + // flow out from collection content at the sink. isSink(node) and - c.getAReadContent() instanceof DataFlow::Content::ArrayContent + c.getAReadContent() instanceof DataFlow::Content::CollectionContent } }