We’re looking to activate Guard Duty across all of our accounts / regions, but in my testing so far, it sends an email to the root account email address for all regions where it’s being enabled. Is there a way to stop this emails from sending? We have our root email addresses as a distro list with a few people on it, as well as our AWS TAMs, so I’d prefer not to bombard them with 100s of emails across all accounts.
Thanks!
Edit: I seem to have found the answer thanks to AWS support. There’s an optional parameter for the invite_members function call that can DisableEmailNotification. GuardDuty - Boto3 1.44.10 documentation - that did the trick!
A separate question for OP - are you comfortable with everyone on that company distro list having the potential to gain root access to your AWS account? Even if they do not currently have the password, the fact that they are able to receive password reset emails effectively grants them access (without consideration of any 2FA on the root account).
Yes, we’re comfortable with people who have access to the distro list (it’s 3 people in total). I’d be more concerned with our Office 365 admins that have access to add themselves to those distros and reset the root passwords, but there needs to be a level of trust in those type of positions.
We use DNS validation for ACM, so that hasn’t come up as of yet. SES we’ve enabled in a handful of regions/accounts only, so the quantity of emails has never been a problem.
With Guard Duty, we’re talking about 17 regions per account, across 20 accounts (over 300 emails).
Interesting… I’ll have to look out for it, previously, all of our root email addresses were tied to our resellers domain, so we didn’t see them. We haven’t setup a new region with a new ACM cert since changing to our root logins, so you may very well be right. I’ll keep an eye out next time we setup a new cert.
The original question still stands, as the quantity of emails coming is significantly higher than what ACM would ever send.
Yep, just found it like 10 minutes ago. We’re using the python script to enable it across multiple accounts, so it was a matter of putting that parameter into the invite_members function call and it did the trick.
Excellent news. We complained to AWS a while back that there was no option to disable the emails so we got thousands of them. It was lovely. Great to hear we can update the script now to disable the emails!
Were you the one who updated the GitHub issue? If so, thanks! I asked our AWS rep to get that fix merged but I figure the more requests they get the more likely it is to happen.