California Water Code Section 8052

Security or bonds may be required in order to guarantee good faith in bidding and in the performance of contracts, or either, in such amount as the city council determines.