For the email encryption report, you can use the Get-MailDetailEncryptionReport cmdlet: https://learn.microsoft.com/en-us/powershell/module/exchange/get-maildetailencryptionreport?view=exchange-ps
For the DLP Alerts, use Get-MailDetailDlpPolicyReport: https://learn.microsoft.com/en-us/powershell/module/exchange/get-maildetaildlppolicyreport?view=exchange-ps
Do note those are specific to Exchange data only. To get all the DLP alerts across workloads, you can use the Graph API's /alerts_v2 endpoint instead: https://learn.microsoft.com/en-us/graph/api/security-list-alerts_v2?view=graph-rest-1.0&tabs=http