Open christhibault opened 4 years ago
@christhibault I've got this fixed here: https://github.com/asantos-fuze/amazon-guardduty-multiaccount-scripts/tree/fix_disable_guardduty I've the PR https://github.com/aws-samples/amazon-guardduty-multiaccount-scripts/pull/34 waiting to be merged
As an INT object, master accounts that start with a zero (0) character are flagged as invalid by the check on lines 112-114, as the account length is too short.
It seems to be correct in the enableguardduty.py script on line 121.