A cross-complaint is an action brought by the defendant against the plaintiff or brought by one party against a co-party (such as a defendant against a codefendant).