aws-samples / amazon-guardduty-multiaccount-scripts

This script automates the process of running the GuardDuty multi-account workflow across a group of accounts that are in your control
Apache License 2.0
130 stars 71 forks source link

# The Master GuardDuty Account was not the first account in the list - failing #1

Closed cloudtriquetra closed 6 years ago

cloudtriquetra commented 6 years ago

aws_account_dict.keys() --> dictionary does not return keys in order. Hence, script is failing.

Performed an work around by creating a list of Acct. IDs and looping in the list in main function

Proposed a change also

tomstickle commented 6 years ago

Thanks for making us aware of this issue. We updated the scripts with a fix for this issue.