Using the GuardDuty service integration with AWS Organizations member accounts can be automatically added to GuardDuty when added to AWS Organizations. Previously a Lambda function was required to enable GuardDuty in all the active regions for all the member accounts. This function also had to run on a schedule to check for any new accounts so that they could also be added.
Description of changes:
Shell script to check and enable GuarDuty in all active regions and to set auto-enable on GuardDuty in the security account to active using the available AWS CLI commands.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Trello card
Summary
Using the GuardDuty service integration with AWS Organizations member accounts can be automatically added to GuardDuty when added to AWS Organizations. Previously a Lambda function was required to enable GuardDuty in all the active regions for all the member accounts. This function also had to run on a schedule to check for any new accounts so that they could also be added.
Description of changes:
Shell script to check and enable GuarDuty in all active regions and to set auto-enable on GuardDuty in the security account to active using the available AWS CLI commands.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.