Predicate ServerLess::hasServerlessHandler
Holds if a file with path pathNoExt
(+ some extension) has a serverless handler denoted by func
.
This is a convenience predicate for the common case where the first part of the handler property is the file name.
func
should be interpreted in a language specific way, see mapping.md
.
Import path
import codeql.serverless.ServerLess
predicate hasServerlessHandler(string pathNoExt, string func, string framework, string runtime)