mirror of
https://github.com/github/codeql.git
synced 2025-12-20 10:46:30 +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%"))
|
||||
|
|
||||
mod.getFile() = file and
|
||||
mod.getAnExport() = handler and
|
||||
result.getEnclosingModule() = mod and
|
||||
result.getScope() = mod and
|
||||
result.getName() = handler
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user