<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Wesley Duel Swann on Medium]]></title>
        <description><![CDATA[Stories by Wesley Duel Swann on Medium]]></description>
        <link>https://medium.com/@wesleyswann?source=rss-66bee10611bc------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*VlTbYlnUNGxCT9FMtsusmQ.png</url>
            <title>Stories by Wesley Duel Swann on Medium</title>
            <link>https://medium.com/@wesleyswann?source=rss-66bee10611bc------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 04:48:53 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@wesleyswann/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Creating a Custom Trainable Classifier (Part 2: Training, Testing, and Publishing- Day )]]></title>
            <link>https://medium.com/@wesleyswann/creating-a-custom-trainable-classifier-part-2-training-testing-and-publishing-day-858e53cc73cb?source=rss-66bee10611bc------2</link>
            <guid isPermaLink="false">https://medium.com/p/858e53cc73cb</guid>
            <category><![CDATA[microsoft-purview]]></category>
            <category><![CDATA[data-compliance]]></category>
            <category><![CDATA[data-security]]></category>
            <dc:creator><![CDATA[Wesley Duel Swann]]></dc:creator>
            <pubDate>Mon, 17 Nov 2025 13:38:19 GMT</pubDate>
            <atom:updated>2025-11-17T13:38:19.905Z</atom:updated>
            <content:encoded><![CDATA[<h3>Creating a Custom Trainable Classifier (Part 2: Training, Testing, and Publishing- Day 20)</h3><p>Welcome to Day 20! Yesterday, we gave our classifier its initial homework. Today, we grade its work, give it feedback, and finally publish it for use.</p><h3>Learning Objective</h3><p>By the end of this post, you will be able to complete the training and testing feedback loop for a custom trainable classifier and publish it.</p><h3>Prerequisites</h3><p>•You must have completed Part 1 (Day 19) and your classifier must have finished processing the seed content.</p><h3>Step-by-Step Guide: Training and Publishing</h3><h3>Step 1: Review the Seeded Content</h3><p>1.Navigate to Data classification &gt; Trainable classifiers.</p><p>2.Click on your Contoso SOW Documents classifier.</p><p>3.The status should now indicate that it has finished seeding and is ready for review.</p><h3>Step 2: The Training and Testing Loop</h3><p>This is an iterative process. You will likely do this two or three times.</p><p>1.First Training: The system has already trained itself on the seed data. It will now show you a set of documents it thinks are also SOWs.</p><p>2.Provide Feedback: For each document presented, you must give a thumbs-up (“Yes, this is a match”) or a thumbs-down (“No, this is not a match”). This feedback is crucial for improving the model.</p><p>3.Retrain: After you have provided feedback on a set of documents, you will trigger a retraining cycle. The classifier takes your feedback and refines its prediction model.</p><p>4.Repeat: The system will then present you with a new set of documents to review. You repeat the feedback process.</p><p>You should continue this loop until the classifier consistently achieves a high accuracy rate (typically 95% or higher).</p><h3>Step 3: Publish the Classifier</h3><p>Once you are satisfied with the classifier’s accuracy, it’s time to publish it.</p><p>1.On the classifier’s overview page, you will see a Publish button.</p><p>2.Click Publish.</p><p>3.A confirmation dialog will appear. Confirm that you want to publish the classifier.</p><p>What happens now? The classifier is now published and ready to be used in policies, such as an auto-labeling policy to apply a sensitivity label to all SOWs, or a DLP policy to prevent SOWs from being emailed externally.</p><h3>Verification Steps</h3><p>•Confirm that the status of your Contoso SOW Documents classifier is now “Published.”</p><p>•Once published, the classifier will appear as an option when you are creating sensitivity labels or DLP policies.</p><h3>Common Pitfalls</h3><p>•Not Providing Enough Feedback: If you only review a few documents, the classifier won’t have enough information to improve. Be prepared to review several dozen documents over a few training cycles.</p><p>•Publishing Too Early: If you publish the classifier with low accuracy, it will lead to many false positives (flagging the wrong documents) or false negatives (missing the documents you want to find). Be patient and complete the training process thoroughly.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=858e53cc73cb" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Creating a Custom Trainable Classifier (Part 1: Seeding Your Data Day 19)]]></title>
            <link>https://medium.com/@wesleyswann/creating-a-custom-trainable-classifier-part-1-seeding-your-data-day-19-2c402b680ebe?source=rss-66bee10611bc------2</link>
            <guid isPermaLink="false">https://medium.com/p/2c402b680ebe</guid>
            <category><![CDATA[data-security]]></category>
            <category><![CDATA[data-governance]]></category>
            <category><![CDATA[microsoft-purview]]></category>
            <category><![CDATA[compliance]]></category>
            <dc:creator><![CDATA[Wesley Duel Swann]]></dc:creator>
            <pubDate>Wed, 12 Nov 2025 14:04:58 GMT</pubDate>
            <atom:updated>2025-11-12T14:04:58.507Z</atom:updated>
            <content:encoded><![CDATA[<p>Welcome to Day 19! It’s time to build our own AI model. Today, we begin the process of creating a custom trainable classifier by teaching it what to look for.</p><h3>Learning Objective</h3><p>By the end of this post, you will be able to start the creation of a custom trainable classifier and provide it with the initial “seed” data it needs to learn.</p><h3>Prerequisites</h3><p>•Understanding of the trainable classifier process from Day 17.</p><p>•A collection of at least 50–100 sample documents that represent the category you want to classify. They must be in a SharePoint Online site.</p><p>Our Scenario: Contoso has a specific format for its Statement of Work (SOW) documents. We want to create a classifier that can automatically identify any SOW, so we can apply a “Confidential” label to it later.</p><p>Preparation: Before starting, you must have a SharePoint site that contains at least 50 examples of SOW documents. For this exercise, you can create 50 simple Word documents that all have a similar structure, like a title “Statement of Work,” a section for “Client Name,” and a section for “Project Scope.”</p><h3>Step-by-Step Guide: Seeding the Classifier</h3><h3>Step 1: Start the Creation Wizard</h3><p>1.Go to the Microsoft Purview portal.</p><p>2.Navigate to Data classification &gt; Trainable classifiers.</p><p>3.Click the + Create trainable classifier button.</p><h3>Step 2: Name and Describe Your Classifier</h3><p>1.Name: Contoso SOW Documents</p><p>2.Description: Identifies Statement of Work documents based on Contoso’s standard format.</p><p>3.Click Create.</p><p>What happens now? The classifier is created, but it’s completely untrained. Its status will be “In progress.” The next step is to give it some initial data to learn from.</p><h3>Step 3: Add the Seed Content</h3><p>1.Click on the name of your new classifier, Contoso SOW Documents.</p><p>2.You will be taken to its overview page. It will tell you that the first step is to “Add content to get started.”</p><p>3.Click the Add content button.</p><p>4.You need to point the classifier to the SharePoint site where you stored your sample SOW documents.</p><p>5.Click Add SharePoint sites.</p><p>6.Search for and select the site that contains your 50+ SOW examples.</p><p>7.Click Add.</p><p>8.The site is now listed. Click the Add content button at the bottom of the screen.</p><p>What happens now? The system will start processing the documents in that SharePoint site. It will analyze them and use them as the initial “seed” data for training. This process can take up to an hour.</p><h3>Verification Steps</h3><p>•After you click “Add content,” the status of your classifier will change. It will indicate that it is processing the seed content.</p><p>•You can come back to this page later. Once the seeding is done, the classifier will be ready for the next step: training and testing.</p><h3>Important Considerations for Seed Content</h3><p>•Quality over Quantity (to a point): You need at least 50 examples. More is better, but they must all be good examples. Don’t include documents that are not SOWs in your seed site.</p><p>•Variety: If your SOWs have slightly different formats, it’s good to include examples of each variation in your seed set. This helps the model learn more effectively.</p><p>•Supported Languages: Ensure your documents are in a language supported by trainable classifiers (English, Spanish, French, etc., are all supported).</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2c402b680ebe" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Getting Started with Pre-trained Classifiers (Day 18)]]></title>
            <link>https://medium.com/@wesleyswann/getting-started-with-pre-trained-classifiers-day-18-a49d66adbbd8?source=rss-66bee10611bc------2</link>
            <guid isPermaLink="false">https://medium.com/p/a49d66adbbd8</guid>
            <category><![CDATA[data-governance]]></category>
            <category><![CDATA[microsoft-purview]]></category>
            <category><![CDATA[compliance]]></category>
            <category><![CDATA[data-security]]></category>
            <dc:creator><![CDATA[Wesley Duel Swann]]></dc:creator>
            <pubDate>Mon, 10 Nov 2025 12:35:09 GMT</pubDate>
            <atom:updated>2025-11-10T12:35:09.772Z</atom:updated>
            <content:encoded><![CDATA[<p>Welcome to Day 18! Before we build our own AI-powered classifier, let’s explore the ones Microsoft has already built for us. These are powerful, ready-to-use tools.</p><h3>Learning Objective</h3><p>By the end of this post, you will be able to locate the pre-trained classifiers in Microsoft Purview and understand how to test them on your own data.</p><h3>Prerequisites</h3><p>•Understanding of trainable classifier concepts from Day 17.</p><h3>What are Pre-trained Classifiers?</h3><p>As a quick recap, pre-trained classifiers are AI models that Microsoft has already trained to recognize common categories of content. You don’t need to provide any seed data or go through a training process. You can start using them right away.</p><p>Some of the most useful pre-trained classifiers include:</p><p>•Resumes: Finds documents formatted as resumes or CVs.</p><p>•Source Code: Detects files containing source code from a wide variety of languages (Python, C#, Java, etc.). This is incredibly useful for tech companies wanting to prevent their proprietary code from leaking.</p><p>•Harassment, Profanity, Threat: A group of classifiers designed to help with communication compliance by finding inappropriate or threatening language in emails and chats.</p><p>•Finance: A classifier that detects financial documents like invoices, purchase orders, and financial statements.</p><h3>Step-by-Step Guide: Exploring Pre-trained Classifiers</h3><h3>Step 1: Navigate to the Trainable Classifiers Page</h3><p>1.Go to the Microsoft Purview portal (https://compliance.microsoft.com).</p><p>2.In the left navigation pane, click Data classification.</p><p>3.Select Trainable classifiers.</p><p>What you should see: You will land on a page with two tabs: “Custom” and “Pre-trained.” The pre-trained classifiers are listed here. You’ll see their names and their current status, which is usually “Ready to use.”</p><h3>Step 2: Review a Pre-trained Classifier</h3><p>1.Click on one of the classifiers, for example, Resumes.</p><p>2.A details pane will open. It provides a description of what the classifier is trained to find.</p><p>3.Notice that unlike a custom classifier, there are no training options. It’s managed entirely by Microsoft.</p><h3>Step 3: Test a Pre-trained Classifier</h3><p>How do you know if a classifier will work on your organization’s documents? You can test it.</p><p>1.While viewing the details of the Resumes classifier, click the Test button at the top of the pane.</p><p>2.A new screen will appear, allowing you to upload documents to see if the classifier detects them.</p><p>3.You will need a SharePoint site that has some files in it. Click Add SharePoint site and select a site that contains some sample documents.</p><p>4.Click Add and then Test.</p><p>What happens now? Purview will scan the files in the site you selected and show you which ones it thinks are resumes. This is a great way to see how effective the classifier is before you use it in a real policy.</p><h3>Verification Steps</h3><p>•Successfully navigate to the Trainable classifiers page.</p><p>•Be able to view the list of pre-trained classifiers.</p><p>•Understand where to find the Test function for a selected classifier.</p><h3>Common Pitfalls</h3><p>•Assuming They Are Perfect: While Microsoft’s models are very good, they may not catch 100% of cases, especially if a document is in a very unusual format. Always test a classifier on your own data to understand its accuracy.</p><p>•Looking for a Pre-trained Classifier That Doesn’t Exist: Microsoft provides classifiers for common, universal categories. They will not have a pre-trained classifier for something specific to your business, like “Contoso Engineering Specs.” For that, you need a custom classifier.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a49d66adbbd8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Introduction to AI-Powered Classification: Trainable Classifiers (Day 17)]]></title>
            <link>https://medium.com/@wesleyswann/introduction-to-ai-powered-classification-trainable-classifiers-day-17-a3995ba31408?source=rss-66bee10611bc------2</link>
            <guid isPermaLink="false">https://medium.com/p/a3995ba31408</guid>
            <category><![CDATA[data-governance]]></category>
            <category><![CDATA[classifier]]></category>
            <category><![CDATA[data-security]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[microsoft-purview]]></category>
            <dc:creator><![CDATA[Wesley Duel Swann]]></dc:creator>
            <pubDate>Thu, 06 Nov 2025 21:04:36 GMT</pubDate>
            <atom:updated>2025-11-06T21:04:36.445Z</atom:updated>
            <content:encoded><![CDATA[<p>Welcome to Day 17! We’ve exhausted what we can do with predefined patterns. It’s time to level up and use Artificial Intelligence to classify our data based on what it means, not just what it looks like.</p><h3>Learning Objective</h3><p>By the end of this post, you will understand what a Trainable Classifier is, how it differs from SITs, and the two main types of trainable classifiers.</p><h3>Prerequisites</h3><p>•A solid understanding of SITs and their limitations.</p><h3>What is a Trainable Classifier?</h3><p>Sensitive Information Types (SITs) are great at finding structured data (like an ID number) or specific keywords. But what about classifying an entire document based on its content? For example, how would you find:</p><p>•All customer contracts?</p><p>•All employee resumes?</p><p>•All documents containing offensive language?</p><p>•All architectural blueprints?</p><p>These documents don’t follow a single, predictable pattern. A contract written by one lawyer will be different from one written by another. This is where Trainable Classifiers come in. A trainable classifier is a tool that you train — using AI and machine learning — to recognize a specific category of content by showing it many examples of that content.</p><p>Instead of writing a rule, you are teaching the system. You provide it with 50–100 examples of what a “Customer Contract” looks like, and it learns the unique vocabulary, structure, and formatting of that type of document.</p><h3>How are They Different from SITs?</h3><p>Feature</p><p>Sensitive Information Type (SIT)</p><p>Trainable Classifier</p><p>Detection Method</p><p>Finds specific patterns (RegEx, keywords)</p><p>Recognizes the overall content/context (AI model)</p><p>Best For</p><p>Structured data (SSNs, credit cards)</p><p>Unstructured documents (contracts, resumes)</p><p>Creation</p><p>You define a precise rule</p><p>You provide 50+ examples to train a model</p><p>Intelligence</p><p>Follows rules explicitly</p><p>Learns from examples and can find similar items</p><h3>Types of Trainable Classifiers</h3><p>Microsoft provides two types of trainable classifiers:</p><p>1.Pre-trained Classifiers:</p><p>•These are classifiers that Microsoft has already built and trained for you.</p><p>•They are ready to use immediately for common categories like:</p><p>•Resumes: To identify candidate resumes.</p><p>•Source Code: To find code files for various programming languages.</p><p>•Offensive Language: To detect harassment or inappropriate content.</p><p>•Finance: To find documents like financial statements and invoices.</p><p>2.Custom Trainable Classifiers:</p><p>•This is where you teach the system to recognize content that is unique to your organization.</p><p>•You could create custom classifiers for things like:</p><p>•Contoso Engineering Specifications</p><p>•Contoso Legal Agreements</p><p>•Contoso HR Policy Documents</p><h3>The Training Process Overview</h3><p>The training process for a custom classifier is a feedback loop:</p><p>1.Seed: You start by giving the classifier 50–100 positive examples (the “seeds”).</p><p>2.Train: The system analyzes these seeds and builds a prediction model.</p><p>3.Test &amp; Review: The classifier then finds other documents it thinks are a match. You review these and tell it “Yes, this is a match” or “No, this is not a match.”</p><p>4.Retrain: The system takes your feedback and retrains itself to be more accurate. You repeat this process a few times.</p><p>5.Publish: Once you are happy with its accuracy, you publish the classifier and can start using it in policies.</p><h3>Common Pitfalls</h3><p>•Not Enough Seed Data: The classifier needs a sufficient number of examples to learn effectively. You can’t train it with just 5 or 10 documents.</p><p>•Inconsistent Seed Data: The seed documents should all be good, clear examples of the category you want to detect. Mixing in irrelevant documents will confuse the model.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a3995ba31408" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Step-by-Step: Creating a Document Fingerprint SIT ( Day 16)]]></title>
            <link>https://medium.com/@wesleyswann/step-by-step-creating-a-document-fingerprint-sit-day-16-42c4ebf59767?source=rss-66bee10611bc------2</link>
            <guid isPermaLink="false">https://medium.com/p/42c4ebf59767</guid>
            <category><![CDATA[microsoft-purview]]></category>
            <category><![CDATA[data-governance]]></category>
            <category><![CDATA[data-security]]></category>
            <dc:creator><![CDATA[Wesley Duel Swann]]></dc:creator>
            <pubDate>Wed, 05 Nov 2025 18:17:43 GMT</pubDate>
            <atom:updated>2025-11-05T18:17:43.858Z</atom:updated>
            <content:encoded><![CDATA[<p>Welcome to Day 16! Yesterday, we learned the theory behind Document Fingerprinting and prepared our template file. Today, we put it into practice and create the SIT.</p><h3>Learning Objective</h3><p>By the end of this post, you will be able to create a Custom SIT using the document fingerprinting method by uploading a template document.</p><h3>Prerequisites</h3><p>•Understanding of document fingerprinting concepts from Day 15.</p><p>•The InventionTemplate.docx file you created yesterday.</p><h3>Step-by-Step Guide: Creating the Fingerprint</h3><h3>Step 1: Start the Creation Wizard</h3><p>1.Go to the Microsoft Purview portal (https://compliance.microsoft.com).</p><p>2.Navigate to Data classification &gt; Sensitive info types.</p><p>3.Click the + Create sensitive info type button.</p><h3>Step 2: Name and Describe Your SIT</h3><p>1.Name: Contoso Invention Disclosure Form</p><p>2.Description: Detects documents based on the standard Contoso invention disclosure template.</p><p>3.Click Next.</p><h3>Step 3: Define the Pattern with a Document Fingerprint</h3><p>This is where the process differs from our previous SITs.</p><p>1.On the Define patterns screen, click + Create pattern.</p><p>2.Set the Confidence level to High. (Document fingerprints are generally high-confidence because they match a specific form).</p><p>3.Under Primary element, click + Add a primary element.</p><p>4.Choose Document fingerprint from the dropdown.</p><p>5.A new pane will open:</p><p>•ID: InventionFormFingerprint</p><p>•Click the Upload a file button.</p><p>•Browse your computer and select the InventionTemplate.docx file.</p><p>•The file will be uploaded and processed.</p><p>6.Click Done.</p><p>7.You are back on the New pattern screen. You will see your document fingerprint listed as the primary element.</p><p>8.Click Create.</p><h3>Step 4: Finalize and Create</h3><p>1.Click Next on the Define patterns screen.</p><p>2.Click Next on the Choose the recommended confidence level screen.</p><p>3.On the Review and finish screen, review your settings.</p><p>4.Click Create.</p><p>What happens now? You have successfully created a SIT based on a document fingerprint. Purview has analyzed the unique text patterns in your template and can now recognize any document that shares that same structure, even if it’s filled out with different information.</p><h3>Verification Steps</h3><p>1.Confirm that your new SIT, “Contoso Invention Disclosure Form,” appears in the SIT list.</p><p>2.To test this, you would:</p><p>•Take your InventionTemplate.docx file.</p><p>•Fill in some sample data for the Inventor Name and Invention Title.</p><p>•Save it with a new name, like MyInvention.docx.</p><p>•Upload MyInvention.docx to a SharePoint site.</p><p>3.When used in a DLP policy, this new SIT would flag MyInvention.docx because it matches the fingerprint of the original template.</p><h3>Common Pitfalls</h3><p>•Unsupported File Types: Ensure your template is a supported file type. Common Office files (.docx, .pptx, .xlsx) and PDFs are supported, but image files are not.</p><p>•Template is Too Simple: If your template has very little unique text (e.g., it’s just a few headings), the fingerprint may not be distinct enough to be effective. It works best on forms with a good amount of boilerplate text.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=42c4ebf59767" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Recap and Choosing the Right Custom SIT Method (Day 15)]]></title>
            <link>https://medium.com/@wesleyswann/recap-and-choosing-the-right-custom-sit-method-day-15-716d1348e7fc?source=rss-66bee10611bc------2</link>
            <guid isPermaLink="false">https://medium.com/p/716d1348e7fc</guid>
            <category><![CDATA[microsoft-purview]]></category>
            <category><![CDATA[data-governance]]></category>
            <category><![CDATA[data-security]]></category>
            <dc:creator><![CDATA[Wesley Duel Swann]]></dc:creator>
            <pubDate>Mon, 03 Nov 2025 08:34:31 GMT</pubDate>
            <atom:updated>2025-11-03T08:34:31.594Z</atom:updated>
            <content:encoded><![CDATA[<p>Welcome to Day 15! Before we move to AI-powered classification, let’s consolidate our knowledge of Custom SITs and learn how to choose the right method for different scenarios.</p><h3>Learning Objective</h3><p>By the end of this post, you will be able to analyze any data protection requirement and choose the most appropriate Custom SIT method.</p><h3>Prerequisites</h3><p>•Understanding of all Custom SIT methods from Days 7–14.</p><h3>Complete Custom SIT Methods Summary</h3><p>We’ve covered five distinct methods for creating Custom SITs. Here’s your complete reference guide:</p><p>Method</p><p>Best For</p><p>Complexity</p><p>Accuracy</p><p>Example Use Case</p><p>Regular Expression</p><p>Structured patterns</p><p>Medium</p><p>High</p><p>Employee IDs: EMP_\d{5}</p><p>Keyword List</p><p>Small sets of specific terms</p><p>Low</p><p>High</p><p>Project codenames (&lt; 100 terms)</p><p>Keyword Dictionary</p><p>Large vocabularies</p><p>Low</p><p>Medium</p><p>Customer names (1000+ terms)</p><p>Exact Data Match</p><p>Database records</p><p>High</p><p>Highest</p><p>Employee SSN database</p><p>Document Fingerprinting</p><p>Standardized forms</p><p>Medium</p><p>High</p><p>Tax forms, legal templates</p><h3>Decision Framework: Choosing the Right Method</h3><p>Use this decision tree to select the best approach:</p><h3>Step 1: What Type of Data Are You Protecting?</h3><p>Structured Data with Patterns → Consider Regular Expression</p><p>•Employee IDs, account numbers, custom codes</p><p>•Data follows predictable format rules</p><p>Specific Known Terms → Consider Keyword List or Keyword Dictionary</p><p>•Project names, product codes, location names</p><p>•Choose List for &lt; 100 terms, Dictionary for more</p><p>Database Records → Consider Exact Data Match</p><p>•Employee records, customer databases, financial accounts</p><p>•When you need to match exact records from your systems</p><p>Document Templates → Consider Document Fingerprinting</p><p>•Forms, contracts, standardized reports</p><p>•When structure matters more than specific content</p><h3>Step 2: How Much Data Do You Have?</h3><p>Data Volume</p><p>Recommended Method</p><p>Few dozen terms</p><p>Keyword List</p><p>Hundreds/thousands of terms</p><p>Keyword Dictionary or EDM</p><p>Structured database</p><p>Exact Data Match</p><p>Template documents</p><p>Document Fingerprinting</p><p>Pattern-based data</p><p>Regular Expression</p><h3>Step 3: What’s Your Accuracy Requirement?</h3><p>Accuracy Need</p><p>Best Methods</p><p>Avoid</p><p>Highest precision</p><p>EDM, Document Fingerprinting</p><p>Simple RegEx without supporting elements</p><p>Good balance</p><p>RegEx + supporting elements, Keyword Lists</p><p>Keyword Dictionary alone</p><p>Broad detection</p><p>Keyword Dictionary, Simple RegEx</p><p>EDM (too precise)</p><h3>Real-World Scenarios and Solutions</h3><h3>Scenario 1: Healthcare Organization</h3><p>Need: Protect patient medical record numbers (format: MRN-YYYY-NNNNNN) Best Method: Regular Expression with supporting keywords Pattern: MRN-\d{4}-\d{6} Supporting Elements: “medical record”, “patient”, “MRN”</p><h3>Scenario 2: Law Firm</h3><p>Need: Detect confidential client matter codes from a list of 50 active cases Best Method: Keyword List Reason: Small, specific set of known terms that change occasionally</p><h3>Scenario 3: Financial Services</h3><p>Need: Protect complete customer account database with account numbers, names, and SSNs Best Method: Exact Data Match Reason: Highest accuracy needed, structured database available</p><h3>Scenario 4: Manufacturing Company</h3><p>Need: Detect when employees share the standard “Quality Control Report” template Best Method: Document FingerprintingReason: Standardized form with consistent structure</p><h3>Scenario 5: Retail Chain</h3><p>Need: Protect list of 5,000+ supplier company names Best Method: Keyword Dictionary Reason: Large vocabulary that updates periodically</p><h3>Combining Methods for Maximum Protection</h3><p>You can create multiple Custom SITs that work together:</p><p>Example: Comprehensive Employee Data Protection</p><p>1.RegEx SIT: Employee ID pattern (EMP_\d{5})</p><p>2.EDM SIT: Complete employee database</p><p>3.Keyword List SIT: Department names and job titles</p><p>4.Fingerprint SIT: HR form templates</p><p>Each SIT can be used in different policies based on the specific protection needed.</p><h3>Implementation Best Practices</h3><h3>Planning Phase</h3><p>1.Inventory your sensitive data types</p><p>2.Assess data structure and volume</p><p>3.Define accuracy requirements</p><p>4.Choose appropriate methods</p><h3>Development Phase</h3><p>1.Start with high-value, high-risk data</p><p>2.Test with sample data first</p><p>3.Use supporting elements to improve accuracy</p><p>4.Document your SIT configurations</p><h3>Deployment Phase</h3><p>1.Begin with test/audit mode</p><p>2.Monitor for false positives</p><p>3.Refine patterns based on results</p><p>4.Gradually expand scope</p><h3>Verification Steps</h3><p>Test your understanding by categorizing these scenarios:</p><p>1.Scenario A: Detecting social security numbers in any document</p><p>•Answer: Built-in SIT (U.S. Social Security Number)</p><p>1.Scenario B: Finding your company’s specific project codenames (15 total)</p><p>•Answer: Custom SIT with Keyword List</p><p>1.Scenario C: Protecting your customer database with 10,000 records</p><p>•Answer: Custom SIT with Exact Data Match</p><p>1.Scenario D: Detecting completed tax forms based on IRS templates</p><p>•Answer: Custom SIT with Document Fingerprinting</p><h3>Common Pitfalls Across All Methods</h3><p>•Over-Engineering: Don’t use complex methods when simple ones suffice</p><p>•Under-Engineering: Don’t use simple methods when precision is critical</p><p>•Ignoring Supporting Elements: Most methods benefit from supporting evidence</p><p>•Poor Testing: Always test with real data before production deployment</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=716d1348e7fc" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Creating a Document Fingerprint SIT (Day-14)]]></title>
            <link>https://medium.com/@wesleyswann/creating-a-document-fingerprint-sit-day-14-14b2dba11819?source=rss-66bee10611bc------2</link>
            <guid isPermaLink="false">https://medium.com/p/14b2dba11819</guid>
            <category><![CDATA[data-security]]></category>
            <category><![CDATA[microsoft-purview]]></category>
            <dc:creator><![CDATA[Wesley Duel Swann]]></dc:creator>
            <pubDate>Wed, 29 Oct 2025 23:47:08 GMT</pubDate>
            <atom:updated>2025-10-29T23:47:08.016Z</atom:updated>
            <content:encoded><![CDATA[<p>Welcome to Day 14! Yesterday we prepared our template. Today we create the Custom SIT using document fingerprinting to detect when anyone uses our standardized form.</p><h3>Learning Objective</h3><p>By the end of this post, you will be able to create a Custom SIT using the document fingerprinting method by uploading a template document.</p><h3>Prerequisites</h3><p>•Understanding of document fingerprinting concepts from Day 13.</p><p>•A prepared template file (like the InventionDisclosureTemplate.docx from yesterday).</p><h3>Step-by-Step Guide: Creating the Fingerprint SIT</h3><h3>Step 1: Start the Creation Wizard</h3><p>1.In the Microsoft Purview portal, navigate to Data classification &gt; Sensitive info types.</p><p>2.Click the + Create sensitive info type button.</p><h3>Step 2: Name and Describe Your SIT</h3><p>1.Name: Contoso Invention Disclosure Form</p><p>2.Description: Detects documents based on the standard Contoso invention disclosure template.</p><p>3.Click Next.</p><h3>Step 3: Define the Pattern with Document Fingerprint</h3><p>This is where the process differs from our previous SIT creation methods.</p><p>1.On the Define patterns screen, click + Create pattern.</p><p>2.Confidence level: Set to High. Document fingerprints are generally high-confidence because they match a specific, known template structure.</p><p>3.Under Primary element, click + Add a primary element.</p><p>4.From the dropdown menu, choose Document fingerprint.</p><h3>Step 4: Upload and Configure the Template</h3><p>1.A new pane will open titled “Add a document fingerprint.”</p><p>2.ID: Enter InventionFormFingerprint (this is an internal identifier).</p><p>3.Upload file: Click the Browse button.</p><p>4.Navigate to and select your prepared template file (InventionDisclosureTemplate.docx).</p><p>5.Click Open to upload the file.</p><p>6.The system will process your template and create the fingerprint. This may take a few moments.</p><p>7.Once processing is complete, click Done.</p><h3>Step 5: Review the Pattern Configuration</h3><p>1.You’re now back on the New pattern screen.</p><p>2.You will see your document fingerprint listed as the primary element.</p><p>3.Note: Unlike other SIT types, document fingerprints typically don’t need supporting elements because the template structure itself provides high confidence.</p><p>4.Click Create to save this pattern.</p><h3>Step 6: Configure Additional Settings</h3><p>1.Click Next on the Define patterns screen.</p><p>2.On the Choose the recommended confidence level screen, leave it set to High.</p><p>3.Click Next.</p><h3>Step 7: Review and Create</h3><p>1.On the Review and finish screen, review all your settings:</p><p>•Name: Contoso Invention Disclosure Form</p><p>•Pattern: Document fingerprint with high confidence</p><p>•Primary element: Your uploaded template fingerprint</p><p>1.Click Create to finalize your SIT.</p><h3>What Happens During Fingerprint Processing</h3><p>When you upload your template, Microsoft’s system:</p><p>1.Analyzes Structure: Examines the document’s layout, formatting, and organization</p><p>2.Identifies Static Elements: Finds text that doesn’t change (headers, labels, boilerplate)</p><p>3.Creates Signature: Generates a unique mathematical signature of these elements</p><p>4.Stores Fingerprint: Saves this signature for future document comparisons</p><h3>Verification Steps</h3><p>To test your document fingerprint SIT:</p><p>1.Take your original template file (InventionDisclosureTemplate.docx)</p><p>2.Fill in the variable fields with sample data:</p><p>•Inventor Name: “John Smith”</p><p>•Invention Title: “Improved Widget Design”</p><p>•Description: “A new approach to widget manufacturing…”</p><p>1.Save this as a new file: CompletedInventionForm.docx</p><p>2.Upload this completed form to a SharePoint site or OneDrive</p><p>3.When you later use this SIT in a DLP policy, it should detect CompletedInventionForm.docx because it matches the fingerprint of the original template</p><h3>Understanding Detection Behavior</h3><p>Your document fingerprint SIT will detect:</p><p>•✅ Any document created from your template (regardless of what data is filled in)</p><p>•✅ Documents with the same structure even if saved with different names</p><p>•✅ Copies and variations that maintain the core template structure</p><p>It will NOT detect:</p><p>•❌ Completely different document types</p><p>•❌ Documents with significantly altered layouts</p><p>•❌ Documents missing key structural elements</p><h3>Common Pitfalls</h3><p>•Unsupported File Types: Ensure your template is a supported format (.docx, .pptx, .xlsx, .pdf, .txt). Image files and some proprietary formats won’t work.</p><p>•Template Too Simple: If your template has very little unique text or structure (e.g., just a title and a few blank lines), the fingerprint may not be distinctive enough to be effective.</p><p>•Including Variable Data: Make sure your template doesn’t contain sample data that changes, as this can interfere with the fingerprinting process.</p><h3>Performance Considerations</h3><p>•Processing Time: Complex documents may take longer to process during fingerprint creation</p><p>•File Size: Very large templates may impact processing performance</p><p>•Detection Speed: Once created, fingerprint matching is very fast during document scanning</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=14b2dba11819" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Understanding Document Fingerprinting (Day 13)]]></title>
            <link>https://medium.com/@wesleyswann/understanding-document-fingerprinting-day-13-265b603aadca?source=rss-66bee10611bc------2</link>
            <guid isPermaLink="false">https://medium.com/p/265b603aadca</guid>
            <category><![CDATA[data-privacy]]></category>
            <category><![CDATA[data-security]]></category>
            <category><![CDATA[data-governance]]></category>
            <category><![CDATA[microsoft-purview]]></category>
            <dc:creator><![CDATA[Wesley Duel Swann]]></dc:creator>
            <pubDate>Tue, 28 Oct 2025 19:31:16 GMT</pubDate>
            <atom:updated>2025-10-28T19:31:16.115Z</atom:updated>
            <content:encoded><![CDATA[<p>Welcome to Day 13! Our final Custom SIT method is Document Fingerprinting — a powerful technique for detecting documents based on their structure rather than specific content.</p><h3>Learning Objective</h3><p>By the end of this post, you will understand what document fingerprinting is, when to use it, and how to prepare template documents for fingerprinting.</p><h3>Prerequisites</h3><p>•Understanding of other Custom SIT methods.</p><p>•Access to standardized document templates used in your organization.</p><h3>What is Document Fingerprinting?</h3><p>Document Fingerprinting creates a unique “fingerprint” of a document’s structure, layout, and boilerplate text. It can then detect any document that was created using the same template, regardless of what specific information was filled in.</p><p>Think of it like recognizing a form by its structure rather than its content. You can recognize a tax form as a tax form even if you can’t read the specific numbers filled in.</p><h3>How Document Fingerprinting Works</h3><p>The process involves:</p><p>1.Template Analysis: Microsoft analyzes the structure, formatting, and static text of your template</p><p>2.Fingerprint Creation: A unique signature is created based on unchanging elements</p><p>3.Pattern Matching: New documents are compared against this fingerprint</p><p>4.Detection: Documents with matching structure are flagged, regardless of the variable content</p><h3>When to Use Document Fingerprinting</h3><p>Document fingerprinting is perfect for:</p><p>Use Case</p><p>Example</p><p>Standardized Forms</p><p>Tax forms, insurance claims, loan applications</p><p>Legal Templates</p><p>Contracts, NDAs, patent applications</p><p>HR Documents</p><p>Employee evaluations, disciplinary forms</p><p>Financial Forms</p><p>Invoice templates, expense reports</p><p>Compliance Documents</p><p>Audit reports, regulatory filings</p><h3>Document Fingerprinting vs. Other Methods</h3><p>Method</p><p>Detects</p><p>Best For</p><p>RegEx/Keywords</p><p>Specific patterns or words</p><p>Structured data within documents</p><p>EDM</p><p>Exact database records</p><p>Protecting known sensitive records</p><p>Fingerprinting</p><p>Document structure/template</p><p>Standardized forms and templates</p><h3>Requirements for Effective Fingerprinting</h3><p>For document fingerprinting to work well, your template should have:</p><h3>✅ Good Candidates</h3><p>•Sufficient boilerplate text (headers, labels, instructions)</p><p>•Consistent structure across all instances</p><p>•Distinctive layout that differs from other document types</p><p>•Standard formatting (fonts, spacing, sections)</p><h3>❌ Poor Candidates</h3><p>•Mostly blank documents with little static text</p><p>•Highly variable layouts that change significantly</p><p>•Generic formats used for many different purposes</p><p>•Very short documents without distinctive elements</p><h3>Our Implementation Scenario</h3><p>Contoso uses a standardized “Invention Disclosure Form” for employees to report new inventions. This form has:</p><p>•Standard headers and section titles</p><p>•Legal boilerplate text</p><p>•Consistent formatting and layout</p><p>•Fields for variable content (inventor name, invention description)</p><p>We want to detect when anyone creates or shares a completed version of this form.</p><h3>Step-by-Step Guide: Preparing Your Template</h3><h3>Step 1: Identify Your Template Document</h3><p>1.Locate the blank template file you want to fingerprint</p><p>2.Ensure it’s in a supported format:</p><p>•Microsoft Office: .docx, .pptx, .xlsx</p><p>•PDF: .pdf files</p><p>•Text files: .txt files</p><h3>Step 2: Clean Your Template</h3><p>1.Open your template document</p><p>2.Remove any sample or placeholder data that varies</p><p>3.Keep all static text, headers, and formatting</p><p>4.Save the cleaned template</p><h3>Step 3: Validate Template Quality</h3><p>Check that your template has:</p><p>•Static headers: “Invention Disclosure Form”, “Section A: Inventor Information”</p><p>•Boilerplate text: Legal disclaimers, instructions, field labels</p><p>•Consistent formatting: Standard fonts, spacing, layout structure</p><h3>Step 4: Save the Template File</h3><p>1.Save your cleaned template with a descriptive name: InventionDisclosureTemplate.docx</p><p>2.Store it in an accessible location for the next step</p><p>3.Note the exact file path for use in the SIT creation wizard</p><h3>Example Template Structure</h3><p>Here’s what a good fingerprinting template might look like:</p><p>Plain Text</p><p>CONTOSO CORPORATION INVENTION DISCLOSURE FORM CONFIDENTIAL AND PROPRIETARY Section A: Inventor Information Inventor Name: [TO BE FILLED] Employee ID: [TO BE FILLED] Department: [TO BE FILLED] Section B: Invention Details Invention Title: [TO BE FILLED] Description: [TO BE FILLED] Section C: Legal Certification I hereby certify that this invention disclosure is complete and accurate… [Standard legal text continues…]</p><p>The fingerprint would capture the headers, section titles, and legal text while ignoring the variable fields.</p><h3>Verification Steps</h3><p>Before proceeding to create the SIT:</p><p>1.Confirm your template has sufficient static content</p><p>2.Verify the file is in a supported format</p><p>3.Test that the template produces consistent documents when filled out</p><h3>Common Pitfalls</h3><p>•Templates Too Generic: A basic Word document with just a title won’t create a distinctive fingerprint</p><p>•Variable Content: Including sample data that changes will reduce fingerprint accuracy</p><p>•Unsupported Formats: Image files and some proprietary formats aren’t supported</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=265b603aadca" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Implementing Exact Data Match (EDM) Step by Step (Day 12)]]></title>
            <link>https://medium.com/@wesleyswann/implementing-exact-data-match-edm-step-by-step-day-12-838b8d3bb19c?source=rss-66bee10611bc------2</link>
            <guid isPermaLink="false">https://medium.com/p/838b8d3bb19c</guid>
            <category><![CDATA[data-security]]></category>
            <category><![CDATA[data-governance]]></category>
            <category><![CDATA[microsoft-purview]]></category>
            <dc:creator><![CDATA[Wesley Duel Swann]]></dc:creator>
            <pubDate>Mon, 27 Oct 2025 17:24:24 GMT</pubDate>
            <atom:updated>2025-10-27T17:24:24.646Z</atom:updated>
            <content:encoded><![CDATA[<p>Welcome to Day 12! Today we implement a complete EDM solution from start to finish. This is a technical process, but we’ll break it down into manageable steps.</p><h3>Learning Objective</h3><p>By the end of this post, you will be able to create and deploy a complete EDM solution including schema creation, data hashing, and SIT configuration.</p><h3>Prerequisites</h3><p>•Understanding of EDM concepts from Day 11.</p><p>•PowerShell execution permissions on your computer.</p><p>•A CSV file with sample employee data.</p><h3>Our Implementation Scenario</h3><p>We’ll create an EDM solution to protect Contoso’s employee database with these fields:</p><p>•EmployeeID</p><p>•FirstName</p><p>•LastName</p><p>•SSN</p><p>•EmailAddress</p><h3>Step-by-Step Implementation Guide</h3><h3>Step 1: Prepare Your Data File</h3><p>Create a CSV file named EmployeeData.csv with this structure:</p><p>Plain Text</p><p>EmployeeID,FirstName,LastName,SSN,EmailAddress EMP001,John,Smith,123–45–6789,john.smith@contoso.com EMP002,Jane,Doe,987–65–4321,jane.doe@contoso.com EMP003,Bob,Johnson,555–12–3456,bob.johnson@contoso.com</p><p>Important: Ensure your data is clean and consistent. No empty cells, no duplicate records.</p><h3>Step 2: Install the EDM Upload Agent</h3><p>1.Open PowerShell as Administrator.</p><p>2.Install the required module:</p><p>Plain Text</p><p>Install-Module -Name ExactDataMatchUploadAgent</p><p>1.Import the module:</p><p>Plain Text</p><p>Import-Module ExactDataMatchUploadAgent</p><h3>Step 3: Create the Data Schema</h3><p>1.Create an XML file named EmployeeSchema.xml:</p><p>XML</p><p>&lt;?xml version=”1.0&quot; encoding=”utf-8&quot;?&gt; &lt;EdmSchema xmlns=”http://schemas.microsoft.com/office365/2018/edm&quot;&gt; &lt;DataStore name=”EmployeeDataStore” description=”Contoso Employee Information”&gt; &lt;Field name=”EmployeeID” searchable=”true” /&gt; &lt;Field name=”FirstName” searchable=”true” /&gt; &lt;Field name=”LastName” searchable=”true” /&gt; &lt;Field name=”SSN” searchable=”true” classifiable=”true” /&gt; &lt;Field name=”EmailAddress” searchable=”true” classifiable=”true” /&gt; &lt;/DataStore&gt; &lt;/EdmSchema&gt;</p><p>Key Points:</p><p>•searchable=”true”: Field can be used to find records</p><p>•classifiable=”true”: Field contains sensitive data that should trigger the SIT</p><h3>Step 4: Connect to Your Tenant</h3><p>1.In PowerShell, connect to your Microsoft 365 tenant:</p><p>Plain Text</p><p>Connect-IPPSSession</p><p>1.Sign in with your administrator credentials when prompted.</p><h3>Step 5: Upload the Schema</h3><p>1.Upload your schema to Microsoft 365:</p><p>Plain Text</p><p>New-DlpEdmSchema -FileData ([System.IO.File]::ReadAllBytes(‘C:\Path\To\EmployeeSchema.xml’)) -Confirm:$false</p><p>1.Verify the schema was created:</p><p>Plain Text</p><p>Get-DlpEdmSchema</p><h3>Step 6: Hash and Upload Your Data</h3><p>1.Create a hash of your data file:</p><p>Plain Text</p><p>CreateHash -DataFile “C:\Path\To\EmployeeData.csv” -HashLocation “C:\Path\To\HashedData” -Schema “EmployeeDataStore”</p><p>1.Upload the hashed data:</p><p>Plain Text</p><p>UploadHash -HashFile “C:\Path\To\HashedData\EmployeeDataStore.EdmHash” -Schema “EmployeeDataStore”</p><h3>Step 7: Create the EDM SIT in Purview Portal</h3><p>1.In the Purview portal, go to Data classification &gt; Sensitive info types.</p><p>2.Click + Create sensitive info type.</p><p>3.Name: Contoso Employee Records</p><p>4.Description: Detects exact matches against Contoso employee database.</p><p>5.Click Next.</p><h3>Step 8: Configure the EDM Pattern</h3><p>1.Click + Create pattern.</p><p>2.Confidence level: High.</p><p>3.Under Primary element, click + Add a primary element.</p><p>4.Choose Exact Data Match.</p><p>5.Schema: Select EmployeeDataStore from the dropdown.</p><p>6.Primary field: Choose SSN (this is the main field that will trigger detection).</p><p>7.Supporting fields: Select FirstName and LastName.</p><p>8.Click Done.</p><h3>Step 9: Finalize the SIT</h3><p>1.Click Create to save the pattern.</p><p>2.Click Next through the remaining screens.</p><p>3.Click Create to finalize your EDM SIT.</p><h3>Understanding EDM Matching Logic</h3><p>Your EDM SIT will now detect content when:</p><p>•The primary field (SSN) matches exactly, AND</p><p>•At least one supporting field (FirstName or LastName) also matches</p><p>This combination approach reduces false positives while maintaining high accuracy.</p><h3>Verification Steps</h3><p>1.Create a test document with content like: “Employee John Smith (SSN: 123–45–6789) has been promoted.”</p><p>2.This should trigger your EDM SIT because it contains an exact match from your database.</p><h3>Data Refresh Process</h3><p>When your employee data changes:</p><p>1.Update your CSV file</p><p>2.Re-run the hash and upload process</p><p>3.The EDM SIT automatically uses the new data</p><h3>Common Pitfalls</h3><p>•Schema Errors: Column names in XML must exactly match CSV headers</p><p>•Data Formatting: Inconsistent data formats prevent matches</p><p>•PowerShell Permissions: Ensure you have admin rights and execution policy allows scripts</p><p>•File Paths: Use full file paths in PowerShell commands</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=838b8d3bb19c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Introduction to Exact Data Match -EDM ( Day 11)]]></title>
            <link>https://medium.com/@wesleyswann/introduction-to-exact-data-match-edm-day-11-48f38d9f531f?source=rss-66bee10611bc------2</link>
            <guid isPermaLink="false">https://medium.com/p/48f38d9f531f</guid>
            <category><![CDATA[data-governance]]></category>
            <category><![CDATA[data-security]]></category>
            <category><![CDATA[microsoft-purview]]></category>
            <dc:creator><![CDATA[Wesley Duel Swann]]></dc:creator>
            <pubDate>Sat, 25 Oct 2025 23:02:15 GMT</pubDate>
            <atom:updated>2025-10-25T23:02:15.645Z</atom:updated>
            <content:encoded><![CDATA[<p>Welcome to Day 11! Today we explore the most precise and powerful Custom SIT method: Exact Data Match (EDM). This method allows you to protect entire databases of sensitive information with incredible accuracy.</p><h3>Learning Objective</h3><p>By the end of this post, you will understand what EDM is, when to use it, and the components required to implement it.</p><h3>Prerequisites</h3><p>•Understanding of Custom SITs from previous days.</p><p>•Basic understanding of databases and CSV files.</p><h3>What is Exact Data Match (EDM)?</h3><p>Exact Data Match (EDM) is a method that allows you to create a Custom SIT based on a database of your actual sensitive data. Instead of looking for patterns or keywords, EDM looks for exact matches against records in your database.</p><p>For example, instead of creating a SIT that looks for “any 9-digit number that might be an SSN,” you can create an EDM SIT that looks for the exact SSNs of your actual employees.</p><h3>How EDM Works</h3><p>The EDM process involves several components working together:</p><p>1.Sensitive Data Schema: A definition of your database structure (what columns exist and which ones are sensitive).</p><p>2.Data Source: Your actual sensitive data in CSV format.</p><p>3.Hashing Process: The data is securely hashed before being uploaded to Microsoft’s cloud.</p><p>4.EDM SIT: The Custom SIT that references your hashed database.</p><h3>EDM vs. Other Methods</h3><p>Method</p><p>Precision</p><p>Use Case</p><p>Example</p><p>RegEx</p><p>Medium</p><p>Pattern-based data</p><p>Any credit card number</p><p>Keyword List</p><p>High</p><p>Specific known terms</p><p>Project codenames</p><p>EDM</p><p>Highest</p><p>Exact database records</p><p>Your actual employee SSNs</p><h3>When to Use EDM</h3><p>EDM is perfect when you have:</p><p>•Structured databases of sensitive information (employee records, customer data, financial accounts)</p><p>•High accuracy requirements where false positives are unacceptable</p><p>•Large datasets that change periodically</p><p>•Compliance requirements for specific data protection (GDPR, HIPAA)</p><h3>EDM Components Deep Dive</h3><h3>1. Sensitive Data Schema</h3><p>This is an XML file that describes your database structure. It defines:</p><p>•Column names in your data</p><p>•Which columns are “searchable” (used for detection)</p><p>•Which columns are “classifiable” (contain the sensitive data)</p><h3>2. Data Source (CSV File)</h3><p>Your sensitive data must be in CSV format with:</p><p>•Headers matching your schema</p><p>•Clean, consistent data</p><p>•No duplicate records</p><h3>3. Hashing and Upload</h3><p>Before your data leaves your environment:</p><p>•It’s hashed using SHA-256 encryption</p><p>•Only the hashed values are uploaded to Microsoft</p><p>•Microsoft never sees your actual sensitive data</p><h3>Example Scenario</h3><p>Contoso wants to protect their employee database containing:</p><p>•Employee ID</p><p>•Full Name</p><p>•Social Security Number</p><p>•Email Address</p><p>Using EDM, they can create a SIT that detects when any of these exact employee records appear in documents or emails.</p><h3>Prerequisites for Implementation</h3><p>To implement EDM, you need:</p><p>1.PowerShell Module: The EDM Upload Agent</p><p>2.Schema File: XML definition of your data structure</p><p>3.Data File: CSV containing your sensitive records</p><p>4.Appropriate Permissions: Compliance Administrator or higher</p><h3>Security and Privacy</h3><p>EDM is designed with privacy in mind:</p><p>•Your actual data never leaves your environment in plain text</p><p>•Only cryptographic hashes are uploaded</p><p>•Microsoft cannot reverse-engineer your original data from the hashes</p><p>•You maintain full control over your source data</p><h3>Verification Steps</h3><p>To prepare for EDM implementation:</p><p>1.Identify a structured dataset you want to protect</p><p>2.Ensure the data is clean and in CSV format</p><p>3.Verify you have the necessary permissions in your tenant</p><h3>Common Pitfalls</h3><p>•Data Quality Issues: EDM requires clean, consistent data. Variations in formatting will prevent matches.</p><p>•Schema Mismatches: The XML schema must exactly match your CSV column headers.</p><p>•Permissions: EDM requires elevated permissions that not all administrators have.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=48f38d9f531f" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>