Skip to content

Commit 560aa43

Browse files
committed
Swift: Repair for AccountID / AccountKey.
1 parent d506172 commit 560aa43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

swift/ql/lib/codeql/swift/security/SensitiveExprs.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class SensitiveCredential extends SensitiveDataType, TCredential {
3535
result = HeuristicNames::maybeSensitiveRegexp(classification)
3636
)
3737
or
38-
result = "(?is).*(license.?key).*"
38+
result = "(?is).*(account|accnt|license).?(id|key).*"
3939
}
4040
}
4141

0 commit comments

Comments
 (0)