Use the Exact Data Match Schema and Sensitive Information Type Wizard
Creating a custom sensitive information type with Exact Data Match (EDM) based classification involves many steps. You can use this wizard to create your schema and sensitive information type (SIT) pattern (rule package) files to help simplify the process.
The Exact Data Match Schema and Sensitive Information Type Wizard is only available for the World Wide and GCC clouds only.
This wizard can be used instead of the:
steps in Part 1: Set up EDM-based classification.
Familiarize yourself with the steps to create a custom sensitive information type with EDM work flow at a glance.
Perform the steps in Save sensitive data in .csv or .tsv format.
Use the exact data match schema and sensitive information type pattern wizard
In the Microsoft 365 Compliance center for your tenant go to Data classification > Exact data matches.
Choose Create EDM schema to open the schema wizard configuration flyout.
Fill in an appropriate Name and Description.
Choose Ignore delimiters and punctuation for all schema fields if you want that behavior. To learn more about configuring EDM to ignore case or delimiters, see Creating a custom sensitive information type with Exact Data Match (EDM) based classification.
Fill in your desired values for your Schema field #1 and add more fields as needed.
At least one, but no more than five of your schema fields must be designated as searchable.
Choose save. Your schema will now be listed.
Choose EDM sensitive info types and Create EDM sensitive info type to open the sensitive info type configuration wizard.
Choose Choose an existing EDM schema and choose the schema you created in steps 2-6 from the list.
Choose Next and choose Create pattern.
Choose the Confidence level and Primary element. To learn more about configuring a pattern, see Create a custom sensitive information type in the Compliance Center
Choose the Primary element's sensitive info type to associate it with. See Sensitive Information Type Entity Definitions to learn more about the available sensitive information types.
Choose your desired Confidence level and character proximity. This will be the default value for the whole EDM sensitive info type
Choose Create pattern if you want to create additional patterns for your EDM sensitive info type.
Choose Next and fill in a Name and Description for admins.
Review and choose Submit.
You can delete or edit the sensitive information type pattern by selecting it which surfaces the edit and delete controls.
If you want to remove a schema, and it is already associated with an EDM sensitive info type, you must first delete the EDM sensitive info type, then you can delete the schema.
Post creation steps
After you have used this wizard to create your EDM schema and pattern (rule package) files, you still have to perform the steps in Part 2: Hash and upload the sensitive data before you can use the EDM custom sensitive information type.
After verifying that your sensitive information table has correctly been uploaded, you can test that it's working properly.
- Open Compliance center > Data classification > Sensitive Information Types.
- Select your EDM SIT from the list and then select Test in the flyout pane.
- Upload an item that contains data you want to detect, for example create an item that contains some of the data in your sensitive information table. If you used the configurable match feature in your schema to define ignored delimiters, make sure the item includes examples with and without those delimiters.
- After the file has been uploaded and scanned, check for matches to your EDM SIT.
- If the Test function in the SIT detects a match, check that it is not trimming it or extracting it incorrectly. For example by extracting only a substring of the full string it is supposed to detect, or picking up only the first word in a multi-word string, or including extra symbols or characters in the extraction. See Regular Expression Language - Quick Reference for the regular expression language reference.
If you don't find any matches, try the following:
- Confirm that your sensitive data was uploaded correctly using the commands explained in the guidance for uploading your sensitive data using the EDM tool.
- Check that the examples you entered in the item are present in your sensitive information table and that the ignored delimiters are correct.
- Test the SIT you used when you configured the primary element in each of your patterns. This will confirm that the SIT is able to match the examples in the item.
- If the SIT you selected for a primary element in the EDM type doesn't find a match in the item or finds fewer matches than you expected, check that it supports separators and delimiters that exist in the content. Be sure to include the ignored delimiters defined in your schema.
- If the Test function does not detect any content at all, check if the SIT you selected includes requirements for additional keywords or other validations. For the built-in SITs, see Sensitive information types entity definitions to verify what the minimum requirements are for matching each type.