Severity: Medium
Description: This control ensures that multiple triggers are not configured for single Lambda function and evaluates the latest version of lambda function i.e $LATEST version. Single responsibility model recommends that each entity should be assigned only a single task. This eliminates unwanted results in case there are multiple changes that are handled by same entity. it is considered a best practice that for every function there should be only one trigger.
Remediation Steps:
Perform following to update lambda function role:
Login to the AWS Management Console at https://console.aws.amazon.com.
Navigate to AWS Lambda console.
In the navigation pane, select Functions.
Click on the function to be modified.
Navigate to "Designer", remove the excess triggers.
Click Save changes to apply.
Important:
Proper policies should be assigned to the new role for granting appropriate permissions to avoid any problems in the execution of Lambda Function
Reference: