The problem with knee-jerk assessments, which most people are operating under (Fourth Amendment, unreasonable search and seizure) is that there are all sorts of vague bits of the constitution and other amendments which leave wiggle room for things which fall under "National Security" and have done for a long time.
There's this comical belief that Congress should have the ability to approve of War Powers, which the constitution clearly states are those powers reserved to the President. Which is a way of saying, what you think it should be and how it is is not always clear cut. There's always the possibility of a Split decision by the Supreme Court, where an opinion of the court states that in the time of war, or potential war, the Executive Branch may be delegated certain abilities. Defining when hostile threats are likely or not, that's not the purview of the court.
It will certainly, no matter how it is ruled, be interesting reading.