Cal. Bus. & Prof. Code § 7071.11
(c) Except for claims covered by subdivision (d), any action against a bond required under this article, excluding the judgment bond specified under Section 7071.17, shall be brought in accordance with the following:
(e) Whenever the surety makes payment on a claim against a bond required by this article, whether or not payment is made through a court action or otherwise, the surety shall, within 30 days of the payment, provide notice to the registrar. The notice required by this subdivision shall provide the following information by declaration on a form prescribed by the registrar:
(6) Whether or not the payments were the result of a good faith action by the surety.
The notice shall also clearly indicate whether or not the licensee filed a protest in accordance with this section.
(f) Prior to the settlement of a claim through a good faith payment by the surety, a licensee shall have not less than 15 days in which to provide a written protest. This protest shall instruct the surety not to make payment from the bond on the licensee’s account upon the specific grounds that the claim is opposed by the licensee, and provide the surety a specific and reasonable basis for the licensee’s opposition to payment.