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.
classRef()
1 parent 37d3318 commit c7adb32Copy full SHA for c7adb32
python/ql/lib/semmle/python/frameworks/Fabric.qll
@@ -163,11 +163,7 @@ module FabricV2 {
163
*/
164
private class FabricConnectionProxyCommand extends SystemCommandExecution::Range, API::CallNode {
165
FabricConnectionProxyCommand() {
166
- this =
167
- [
168
- fabric().getMember("Connection"), connection().getMember("Connection"),
169
- ModelOutput::getATypeNode("fabric.connection.Connection~Subclass").getASubclass*()
170
- ].getACall() and
+ this = Fabric::Connection::ConnectionClass::classRef().getACall() and
171
// we want to make sure that the connection is established otherwise the command of proxy_command won't run.
172
exists(
173
this.getAMethodCall([
0 commit comments