First time setting up Security hub emails

0

https://aws.amazon.com/blogs/security/how-to-set-up-a-recurring-security-hub-summary-email/ I have been following the steps in the link above but its still not working when i check cloud formation I see that it says create failed next to SendSecurityHubSummaryEmailLambda and i get the following error Resource handler returned message: "Error occurred while GetObject. S3 Error Code: NoSuchKey. S3 Error Message: The specified key does not exist. (Service: Lambda, Status Code: 400. Seems like everything else create smoothly but this part. wondering what am I missing. Thank you

1 Answer
0
Accepted Answer

Thank you for your submission.

The CloudFormation deploys ok in my testing (again just now).

1/ make sure you copy both the sec-hub-email.zip and the security-hub-email-summary-cf-template.json (2 files) into the S3 bucket

2/ The S3 Bucket name is just the name 's3-bucket-with-your-files'

3/ the S3 key name doesn't need a prefix path if you don't have prefixes. (that might be confusing from the blog screenshot). If I uploaded the zip right into the bucket without creating any folders, the value 'sec-hub-email.zip' is all that you would put into that parameter.

4/ make sure you accept (click the check box) that CloudFormation might create IAM resources.

Thanks, -Justin

AWS
answered 2 years ago
  • Thank you so much. following your advice and steps I was able to get it working. I really appreciate you taking the time to get back to me.

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions