add secgroup endpoint