- Newest
- Most votes
- Most comments
hello @Jairov,
That you for posting this question. We will update the runtime and push an update to the github repo that contains the sample code.
The good news is the emails are not at risk of ceasing to deliver because of this issue. The solution creates two lambda functions when deployed: CustomInsightsFunction (Node.js) and SendSecurityHubSummaryEmail (Python). The CustomInsightsFunction (Node.js) is a Lambda function that is a custom resource of the CloudFormation Deployment and only runs when the stack is created, updated, or deleted. Its purpose is to setup the Security Hub Custom Insights that are the data source of the email, not to send the email, and once setup the custom insights do not need modification.
Kavita and I are investigating the easiest way to update the runtime and will post the answer here and in the GitHub repository.
Thanks, -Justin
Relevant content
- asked a year ago
- asked 2 years ago
- asked 4 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a year ago
@JAirov,
I have updated the deployment template and added update instructions here - https://github.com/aws-samples/aws-security-hub-summary-email#lambda-nodejs-version-update-from-12-to-16. the only change in the template is ( "Runtime": "nodejs12.x", to "Runtime": "nodejs16.x",)
It takes about 2 minutes to complete and will reflect the latest runtime after completion.