18. The non-transitory computer-readable storage medium of claim 17 , wherein applying the data loss prevention policy comprises detecting confidential information that is otherwise hidden in the data repository due to the arbitrary data schema of the data repository.
17. A non-transitory computer-readable storage medium having instructions stored thereon that when executed by a computer cause the computer to perform a method, comprising: identifying, by a scan agent hosted by a computer system, a structure of data stored in a data repository having an arbitrary data schema when the arbitrary data schema of the data repository is unknown, wherein the arbitrary data schema of the data repository is derived from the identified structure; scanning the structured data of the data repository according to the derived data schema; converting the structured data into text data; and applying a schema-independent policy to the converted text data to detect confidential information stored in the data repository regardless of the arbitrary data schema of the structured data, wherein the schema-independent policy is a data loss prevention policy, and wherein a violation of the data loss prevention policy is triggered when the converted text data contains the confidential information.