Applying Sensitivity Label Based on File Name

%3CLINGO-SUB%20id%3D%22lingo-sub-1895906%22%20slang%3D%22en-US%22%3EApplying%20Sensitivity%20Label%20Based%20on%20File%20Name%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1895906%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20all%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI'm%20looking%20to%20apply%20sensitivity%20labels%20to%20a%20wide%20range%20of%20our%20files%20and%20have%20done%20some%20research%20into%20how%20best%20to%20do%20this.%20I've%20found%20that%20Office%20365%20file%20types%20(Word%2C%20Excel%2C%20etc.)%20are%20the%20easiest%20with%20integrated%20settings.%20There%20also%20seems%20to%20be%20a%20way%20to%20apply%20these%20labels%20to%20PDFs%20and%20other%20sensitive%20info%20types%20using%20Azure%20and%20PowerShell.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EMy%20question%20is%20whether%20(across%20each%20of%20these%20processes)%20there%20is%20a%20way%20to%20match%20a%20sensitive%20information%20type%20to%20the%20name%20of%20a%20file%20rather%20than%20its%20content.%20So%20even%20if%20the%20content%20doesn't%20contain%20the%20keyword(s)%2C%20if%20the%20file%20name%20has%20a%20specific%20phrase%2C%20we%20could%20still%20mark%20it%20as%20sensitive.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThank%20you%2C%20I'm%20grateful%20for%20any%20suggestions%2C%20experience%2C%20or%20resources%20that%20you've%20all%20found%20helpful!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1895906%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAdmin%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ECompliance%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESecurity%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESharePoint%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1900864%22%20slang%3D%22en-US%22%3ERe%3A%20Applying%20Sensitivity%20Label%20Based%20on%20File%20Name%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1900864%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F872008%22%20target%3D%22_blank%22%3E%40ZachMorrow%3C%2FA%3E%26nbsp%3B-%20you%20should%20definitely%20check%20out%20Joanne%20Klein's%20post%3A%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fjoannecklein.com%2F2020%2F05%2F07%2Fretention-in-sharepoint-online-the-how%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fjoannecklein.com%2F2020%2F05%2F07%2Fretention-in-sharepoint-online-the-how%2F%3C%2FA%3E.%20She%20discusses%20how%20to%20do%20this%20based%20on%20keyword%20searches%2C%20metadata%2C%20etc.%20Hope%20that%20helps!%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Visitor

Hi all,

 

I'm looking to apply sensitivity labels to a wide range of our files and have done some research into how best to do this. I've found that Office 365 file types (Word, Excel, etc.) are the easiest with integrated settings. There also seems to be a way to apply these labels to PDFs and other sensitive info types using Azure and PowerShell.

 

My question is whether (across each of these processes) there is a way to match a sensitive information type to the name of a file rather than its content. So even if the content doesn't contain the keyword(s), if the file name has a specific phrase, we could still mark it as sensitive.

 

Thank you, I'm grateful for any suggestions, experience, or resources that you've all found helpful!

1 Reply

Hi @ZachMorrow - you should definitely check out Joanne Klein's post: https://joannecklein.com/2020/05/07/retention-in-sharepoint-online-the-how/. She discusses how to do this based on keyword searches, metadata, etc. Hope that helps!