In the State Department, the Office of the Inspector General (OIG) is tasked with ensuring that the Department is functioning efficiently and maintaining its integrity at each post.
In practice, the OIG works to root out crime and abuse conducted by LSEs, or people from the host country that work at each posting, and FSOs.
You can read on at the link to learn more about the OIG and the work they do.