mirror of
https://github.com/github/codeql.git
synced 2025-12-20 18:56:32 +01:00
Update python/ql/lib/semmle/python/frameworks/ServerLess.qll
Co-authored-by: Rasmus Wriedt Larsen <rasmuswriedtlarsen@gmail.com>
This commit is contained in:
@@ -37,8 +37,7 @@ private Function getAServerlessHandler() {
|
|||||||
(runtime = "" or runtime.matches("python%"))
|
(runtime = "" or runtime.matches("python%"))
|
||||||
|
|
|
|
||||||
mod.getFile() = file and
|
mod.getFile() = file and
|
||||||
mod.getAnExport() = handler and
|
result.getScope() = mod and
|
||||||
result.getEnclosingModule() = mod and
|
|
||||||
result.getName() = handler
|
result.getName() = handler
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user