Out of curiosity, I did some research and you are partially correct.  Although Cuomo didn't pass a law, there was already a law on the books that obligates taxpayers to fund the legal defense of public employees, including the Governor and Attorney General.  It's called, "the Public Officers...