Skip to content

Commit e2df0c9

Browse files
committed
Remove unneeded code
1 parent cf73e68 commit e2df0c9

File tree

1 file changed

+0
-19
lines changed

1 file changed

+0
-19
lines changed

javascript/frameworks/ui5/src/UI5LogInjection/UI5LogsToHttp.ql

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -74,25 +74,6 @@ class UI5LogEntryToHttp extends TaintTracking::Configuration {
7474
}
7575
}
7676

77-
/**
78-
* Config without states for sanity check
79-
*/
80-
module UI5LogEntryToHttp implements DataFlow::ConfigSig {
81-
predicate isSource(DataFlow::Node node) { node instanceof RemoteFlowSource }
82-
83-
predicate isAdditionalFlowStep(DataFlow::Node start, DataFlow::Node end) {
84-
inSameWebApp(start.getFile(), end.getFile()) and
85-
start =
86-
ModelOutput::getATypeNode("SapLogger")
87-
.getMember(["debug", "error", "fatal", "info", "trace", "warning"])
88-
.getACall()
89-
.getAnArgument() and
90-
end = ModelOutput::getATypeNode("SapLogEntries").asSource()
91-
}
92-
93-
predicate isSink(DataFlow::Node node) { node instanceof ClientRequestInjectionVector }
94-
}
95-
9677
from UI5LogEntryToHttp cfg, UI5PathNode source, UI5PathNode sink, UI5PathNode primarySource
9778
where
9879
cfg.hasFlowPath(source.getPathNode(), sink.getPathNode()) and

0 commit comments

Comments
 (0)