Forum Discussion
DangerMouse
Apr 09, 2019Copper Contributor
Use Regular Expressions in CAS build-in DLP to find Document metadata
I have a scenario where a client would like to use cloud app security to apply AIP labels to files that are in a SharePoint online document library. The documents have SharePoint metadata applied t...
Dima Donhin
Microsoft
Apr 11, 2019From your description it sounds like this property isnt part of the file metadata as you cant see it in the file properties. Do you have more info on the way Sharepoint sets this?
DangerMouse
Apr 11, 2019Copper Contributor
From what i can see, this is a column added to the SharePoint Document library which is set to the "Choice" Type. Users would then choose a value.
What i find strange is that when you download the document from the library, and open it on another device that property is still set. which indicates that the value is set on the document and stays with it.
I was wondering if there is something that needed to be enabled, or form the regex to read this information.
My current regex is formed (?:documentvalue) which supposedly looks for "documentvalue" anywhere in the document.