Cruz actively supported Patriot Act revisions and replacements that would make it much more pro-liberty and still render it effective in fighting terrorism.
Check out these links:
http://www.newsmax.com/Politics/nsa-surveillance-phone-data-patriot-act/2015/04/06/id/636581/
http://www.theblaze.com/news/domestic-surveillance/