More Info:

Your AWS Lambda Functions should have default timeout set in order to achieve greater relaibility and availability.

Risk Level

Low

Address

Reliability, Security

Compliance Standards

CBP

Triage and Remediation

Remediation

Sure, here are the step-by-step instructions to remediate the misconfiguration of Lambda Functions not having a default timeout set in AWS:

  1. Open the AWS Management Console and navigate to the Lambda service.
  2. Click on the name of the Lambda function that needs to be remediated.
  3. Scroll down to the Basic settings section and click on the Edit button next to the Timeout value.
  4. Set an appropriate timeout value for the function, keeping in mind the function’s execution time and any dependencies it may have.
  5. Click on the Save button to apply the changes.

That’s it! The Lambda function now has a default timeout set, which helps ensure that it doesn’t run indefinitely and incur unnecessary costs.

Additional Reading: