California Code of Civil Procedure Section 484.030
CA Civ Pro Code § 484.030 (2017)
The application shall be supported by an affidavit showing that the plaintiff on the facts presented would be entitled to a judgment on the claim upon which the attachment is based.