Generating and testing fake data to validate DLP policies in Office 365

During your data loss prevention policies implementation, you will look for ways to test it, and in this article, we will cover the process to generate the info required to do so in the Office 365 console. First of all, generating the DLP policies information to test has to be our starting point. There are plenty of sites out there to generate fake information about credit cards that you can use to generate this data. One of my favorites is Fake Person Generator. Just select the brand of the credit card, the quantity, and if you want to test from a specific country. Then click on generate.

The next step is to grab all the credit card information provided on the website and save it in a word document.

Then logged in the Office 365 Security and Compliance page, click on Classifications, sensitive info types, and select the information that we want to validate, in our case Credit Card Number. A new blade will be displayed on the right side. Click on test type.

In the new blade, click on the square box and provide the Word document that has all fake credit card information, and click on Test.

In the Match results page, the confidence level, number of matches, and the actual matches will be displayed.

Now that we have a piece of solid information about the data that we are testing, we can use that data to perform the actual tests on Exchange, SharePoint, Teams, and OneDrive DLP policies.

Featured image: Shutterstock

Anderson Patricio

Anderson Patricio is a Canadian MVP in Cloud and Datacenter Management, and Office Server and Services, besides of the Microsoft Award he also holds a Solutions Master (MCSM) in Exchange, CISSP and several other certifications. Anderson contributes to the Microsoft Community with articles, tutorials, blog posts, twitter, forums and book reviews. He is a regular contributor here at Techgenix.com, MSExchange.org, ITPROCentral.com and Anderson Patricio.org (Portuguese).

Share
Published by
Anderson Patricio

Recent Posts

Microsoft 365 administration: Configure your admin portal

Microsoft 365 is loaded with configurations, policies, and settings—some obvious, some buried. This Microsoft 365…

11 hours ago

Using Group Policy settings to enforce PowerShell execution policies

Setting PowerShell execution policies at the Group Policy level can greatly enhance your organization’s security.…

18 hours ago

Exchange 2013/2016/2019: Configure your receive connectors correctly

Ah, the good old days — when Exchange 2010 was king. But with each new…

2 days ago

CCPA and GDPR: Similarities and differences you must know

The GDPR and the CCPA are both aimed at protecting privacy. Although many similarities exist…

2 days ago

How to manage and automate Azure DevOps using Azure CLI

Azure DevOps is fast becoming the next big thing. This Azure DevOps Quick Tip shows…

4 days ago