The judge, upon the filing of a motion in such judge's discretion, may make available to such person or such person's counsel for inspection, such portions of the intercepted communications, applications and orders as the judge determines to be in the interest of justice. On an ex parte showing of good cause to a judge of competent jurisdiction the serving of the inventory required by this subsection may be postponed.
Such motion shall be made before the trial, hearing or proceeding, unless there was no opportunity to make such motion or the person was not aware of the grounds of the motion. If the motion is granted, the contents of the intercepted wire or oral communication, or evidence derived therefrom, shall be treated as having been obtained in violation of this act. Upon the filing of such motion by the aggrieved person, the judge in such judge's discretion may make available to the aggrieved person or such person's counsel for inspection such portions of the intercepted communication or evidence derived therefrom as the judge determines to be in the interest of justice.
K.S.A. 22-2516