generated from amazon-archives/__template_Apache-2.0
-
Notifications
You must be signed in to change notification settings - Fork 8
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
Currently, for a class to be scanned by the main detector, it needs to meet at least one of the following conditions:
-
Implement a Lambda handler Interface (RequestHandler or RequestStreamHandler)
-
Has a method that receives either (Map, com.amazonaws.services.lambda.runtime.Context) or (InputStream, OutputStream, com.amazonaws.services.lambda.runtime.Context) as parameters. This method would be considered a Lambda Handler.
The issue here is that in general, we don't need to implement an interface to be able to have a Lambda function. For example, this is a valid Lambda handler class:
public class NewHandler {
public String handleRequest(){
//code
}
}
Solving this problem will allow us to scan most Lambda Handler classes that are currently falling through the cracks.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request