Open jwbeals opened 4 years ago
This is due to a lack of unicode handling. The script pulls all available securityhub regions using the session.get_available_regions('securityhub') which returns in unicode format as you may have noticed from the output [u'region',... I fixed by converting the securityhub_regions list to utf-8, but there needs to be a more elegant solution to handle all cases.
Actually that's wrong, I had an empty list the script still fails... "Unable to enable Security Hub...."
Problem turns out to be the newer regions not enabled by default returned by session.get_available_regions('securityhub')
I was using UTF-8, but I guess you're saying that isn't the issue?
Getting 'error processing account' on almost all accounts except for us-east regions. It errors out if selecting any other regions.