CmdID / PowerShell / Cmdlets / Get
Get-DlpDetectionsReport
Use the Get-DlpDetectionsReport cmdlet to list a summary of data loss prevention (DLP) rule matches for Exchange Online, SharePoint and OneDrive in your cloud-based organization for the last 30 days. Exchange PowerShell reference
From the Exchange PowerShell reference 12 parameters Its page in the reference
Parameters
-ActionThe Action parameter filters the report by the action taken by DLP policies.-AggregateByThe AggregateBy parameter specifies the reporting period.-DlpCompliancePolicyThe DlpCompliancePolicy parameter filters the report by the name of the DLP compliance policy.-DlpComplianceRuleThe DlpComplianceRule parameter filters the report by the name of the DLP compliance rule.-EndDateThe EndDate parameter specifies the end date of the date range.-EventTypeThe EventType parameter filters the report by the event type.-ExpressionThis parameter is reserved for internal Microsoft use.-PageThe Page parameter specifies the page number of the results you want to view.-PageSizeThe PageSize parameter specifies the maximum number of entries per page.-SourceThe Source parameter filters the report by workload.-StartDateThe StartDate parameter specifies the start date of the date range.-SummarizeByThe SummarizeBy parameter returns totals based on the values you specify.