Skip to content

Latest commit

 

History

History
28 lines (24 loc) · 2.31 KB

lambda-old-runtimes.md

File metadata and controls

28 lines (24 loc) · 2.31 KB

CloudSploit

AWS / Lambda / Lambda Old Runtimes

Quick Info

Plugin Title Lambda Old Runtimes
Cloud AWS
Category Lambda
Description Ensures Lambda functions are not using out-of-date runtime environments.
More Info Lambda runtimes should be kept current with recent versions of the underlying codebase. Deprecated runtimes should not be used.
AWS Link http://docs.aws.amazon.com/lambda/latest/dg/current-supported-versions.html
Recommended Action Upgrade the Lambda function runtime to use a more current version.

Detailed Remediation Steps

  1. Log into the AWS Management Console.
  2. Select the "Services" option and search for Lambda.
  3. Scroll down the left navigation panel and choose "Functions".
  4. Select the Lambda function that needs to be verify from "Functions name".
  5. On the "Lambda Functions" page scroll down and choose "Configuration".
  6. Scroll down the "Configuration" tab and check the "Runtime" value and verify the "Runtime" environment using the latest version of the software or not.
  7. Repeat step number 2 - 6 to verify other "Lambda functions" in the selected region.
  8. Navigate to "AWS Lambda" and choose "Lambda function" that needs to modify to use the latest version of the software supported by AWS.
  9. Choose the "Configuration" tab and scroll down and open the "Runtime" environment dropdown menu.
  10. Select the latest version from the "Runtime" environment for the selected "Lambda fucntion" and click on the "Save" button at the top of the dashboard.
  11. Repeat steps number 8 - 10 to modify "Runtime" environment for other "Lambda functions" in the selected region.