Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

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:

  1. Login to the AWS Management Console at https://console.aws.amazon.com.

  2. Navigate to AWS Lambda console.

  3. In the navigation pane,  select Functions.

  4. Click on the function to be modified.

  5. Navigate to "Designer", remove the excess triggers.

  6. 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:

  • No labels