So basically, if you're a whistle-blower.... the only ones you can "leak" to is an elected official? Ok, got it.
No, you apparently don't "get it", because that's not what I said. It doesn't have to be an elected official, because in the Executive Branch, that would be limited to the President and VP. It just has to be someone senior to you -- someone "up the chain of command", because the whole point is to give someone a chance to correct the problem because taking it outside the organization. Inspectors General are a perfect choice, and there also are whistleblower hotlines.
If, after you've tried all that, nothing works, then go to a member of Congress, who will have a security clearance and some degree of discretion. But handing it all out to the press, who has no security clearance and no discretion, is not defensible and should be illegal when it involves classified material.