Skip to content

Commit

Permalink
fix root account group format
Browse files Browse the repository at this point in the history
  • Loading branch information
lloesche committed Dec 15, 2016
1 parent 491dd8d commit 23b92b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion report.py
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@ def add_user_properties(self, user):

def user_groups(self, user):
if user == '<root_account>':
return ['root']
return []
self.log.debug('Fetching Groups for user {}'.format(user))
session = boto3.session.Session(aws_access_key_id=self._access_key_id,
aws_secret_access_key=self._secret_access_key)
Expand Down

0 comments on commit 23b92b6

Please sign in to comment.