Following the latest baring of U.S. secrets on the Internet, Congress is poised to pass legislation giving employees in the most sensitive government jobs a way to report corruption, waste and mismanagement without turning to outside organizations like WikiLeaks.

President Barack Obama is expected to sign the bill, which supporters say will discourage leaks of classified information. The legislation would allow intelligence agency whistleblowers to raise concerns within their agencies instead of giving classified materials to WikiLeaks or other outlets, which is illegal.