Any person authorized by this code or by chapter 47 of Title 10, United States Code, or by regulations issued under either, to apprehend persons subject to this code, any marshal of a court-martial appointed pursuant to the provisions of this code, and any peace officer or civil officer having authority to apprehend offenders under the laws of the United States or of a state, may do so upon probable cause that an offense has been committed and that the person apprehended committed it.
SDCL 33-10-31