'alert when an IAM User has an inactive access key.
score: 0'

def check_inactive_access_keys(self, iamuser_item):

    akeys = iamuser_item.config.get('AccessKeys', {})
    for akey in akeys:
        if ('Status' in akey):
            if (akey['Status'] != 'Active'):
                self.add_issue(0, 'User    has    an    inactive    accesskey.', iamuser_item, notes=akey['AccessKeyId'])
