'Parse security groups from the provided element and return a
list of security groups with the id ane name key/value pairs.
:rtype: ``list`` of ``dict``'

def _get_security_groups(self, element):

    groups = []
    for item in findall(element=element, xpath='groupSet/item', namespace=NAMESPACE):
        groups.append({'group_id': findtext(element=item, xpath='groupId', namespace=NAMESPACE), 'group_name': findtext(element=item, xpath='groupName', namespace=NAMESPACE)})
    return groups
