DLP - Upload your rule package to the SCC Portal

Hi,

I wrote before about how to customize DLP rules in Exchange Online. I talked about how to export, import and create a new rule using a XML file. I would like to update an information here. Now you can do the same thing in the Security & Compliance Center Portal (https://protection.office.com).

I extracted from the KB the part that you can see how to upload your rule package to SCC.

  1. Save it as an .xml file with Unicode encoding.

  2. Connect to the Office 365 Security & Compliance Center using remote PowerShell

  3. In the Security & Compliance Center PowerShell, type

    New- DlpSensitiveInformationTypeRulePackage -FileData (Get-Content -Path "C:\custompath\MyNewRulePack.xml" -Encoding Byte)

    Make sure that you use the file location where your rule pack is actually stored. C:\custompath\ is a placeholder.

  4. To confirm, type Y, and then press ENTER.

  5. Verify that your new sensitive information type was uploaded by typing Get- DlpSensitiveInformationType to see a list of all sensitive types. You can quickly separate custom sensitive information types from those which come built in by looking at the Publisher column. You can filter the list to a specific sensitive information type by running Get-DlpSensitiveInformationType -Identity “name of sensitive information type” .

Reference: https://support.office.com/en-US/article/Create-a-custom-sensitive-information-type-82c382a5-b6db-44fd-995d-b333b3c7fc30?ui=en-US&rs=en-US&ad=US#upload