Parshas Nitzavim-VaYelech: "הַנִּסְתָּרוֹת וְהַנִּגְלוֹת" לְמַה בְּדִיּוּק מִתְכַּוֵּן הַתּוֹרָה?

From Jewish History with Rabbi Dr. Dovid Katz by R Dr. Dovid Katz.

Are courts, shul-rabbis, teachers, roshei-yeshiva and mashgichim, principals etc. obligated to organize spies and snitches in the institutions under their control?