I just checked this. Left my team untouched when sending out an expedition, checked the replay and it was my DEFENSE team that got attacked. Just sent one out and then swapped my teams afterward, so if this gets attacked we'll see if it goes by team at time of launch or when attacked.