Giving evidence at the High Court in Hamilton on Wednesday, Mr Gabb was cross-examined by Warren, who is representing himself.
When asked if he had a lawful search warrant to enter tangata whenua land that day, the detective admitted he did not but had the right to under the Search and Surveillance Act 2012.
"There are provisions under the act that allow us under certain circumstances that if we have reasonable reasons to believe there is a controlled drug there that we can enter a property," Mr Gabb said.
Warren then quizzed the witness about a stolen Toyota Hilux in the vicinity, alleging that was the real reason they were in the area.
Mr Gabb admitted they were looking for the truck but the operation was flexible and when they spotted the cannabis plants from the air they entered the property.
Warren then asked him: "Do you have any photos of the marijuana that you were cutting down at the address?"
Mr Gabb responded he did not but said it was not common practice to document such findings unless they were going to pursue a prosecution.
The trial continues.