What should Luke have done, hire a private investigator? I think a Jedi Master has the right to investigate a student suspected of flirting with the dark side. You can’t apply real world concepts of privacy to the GFFA.
Maybe if the Jedi council had been more inquisitive about what Anakin did on Tatooine, or where he often spent his nights, the galaxy would be a different place.