If, in the opinion of the secretary of corrections, any matter in regard to the management of any institution under the department's control, or any matter in regard to any inmate of any such institution, requires legal investigation or action of any kind, notice thereof may be given by the secretary of corrections to the attorney general, who shall make inquiry and take such proceedings in the premises as he may deem necessary and proper, and shall report his action and the results thereof to the secretary without delay.
SDCL 1-15-24