Cal. Water Code § 6150
The department may commence an action or proceeding under this article, either by mandamus or injunction, for the purpose of stopping or preventing violations or threatened violations.