in SecurityGroups/config/code/index.py [0:0]
def extract_other_security_group(sg_data): group_id = sg_data.get("GroupId") return group_id