def check_security_group_permissions(self, iamrole_item):
        self.library_check_iamobj_has_security_group_permissions(iamrole_item, policies_key='rolepolicies')
alert when an IAM Role has ec2:AuthorizeSecurityGroupEgress or ec2:AuthorizeSecurityGroupIngress.
dataset/ETHPy150Open Netflix/security_monkey/security_monkey/auditors/iam/iam_role.py/IAMRoleAuditor.check_security_group_permissions