AG violating oath and law

Did the Attorney General of California really dox a bunch of gun owners? And how does that violate his oath of office and the law?