get and upload funcs of sec_groups and sec_groups_rules