Check the warrant, or in the military the search authorization.
The recent decision of the Army Court of Criminal Appeals in a government appeal tells you why it’s important to check the warrant.
In United States v. Gurzynski, the court had before it a government appeal of a military judge’s decision to suppress evidence of a computer media search.