The attorney general, on notice by an agency of a loss covered by a bond under this chapter, may:
(1) immediately bring or cause to be brought an action to recover the loss; and
(2) take any action necessary for recovery of the obligation of the surety.