Code of Alabama
Article 1 - General Provisions.
Section 8-3-12 - When Surety Not to Confess Judgment.

No surety, when sued, can confess judgment or suffer judgment to pass by default if the principal debtor, on being notified of the pending action, is willing to defend the action at his own cost and give good and sufficient collateral security to the surety, to be approved by the court.