The publication of restricted data sent members of the Defense Department “scrambling,” one inside source said.