(a) Procedural Rights.—Under regulations prescribed by the Secretary of Defense, an officer required under section 14902 of this title to show cause for retention in an active status—
shall be notified in writing, at least 30 days before the hearing of the officer’s case by a board of inquiry, of the reasons for which the officer is being required to show cause for retention in an active status;
shall be allowed a reasonable time, as determined by the board of inquiry, to prepare for showing of cause for retention in an active status;
shall be allowed to appear in person and to be represented by counsel at proceedings before the board of inquiry; and
(b) Summary of Records Withheld.—
When a record is withheld under subsection (a)(4), the officer whose case is under consideration shall, to the extent that the interest of national security permits, be furnished a summary of the record so withheld.