Cal. Gov't Code § 65908
(a) Any agency which institutes a judicial action or proceeding to enforce zoning regulations may file a notice of the pendency of the action or proceeding in the county recorder’s office of the county where the property affected by the action or proceeding is situated. The notice shall be filed at the time of the commencement of the action or proceeding, and, upon recordation of such notice as provided in this subdivision, shall have the same effect as a notice recorded pursuant to Section 409 of the Code of Civil Procedure.
The county recorder shall record and index the notice of pendency of action or proceeding in the index of grantors and any other index relative to the property in question.