PurviewDataSensitivityLogs
| where Classification != "[]"
| where TimeGenerated > ago(24h)
customDetails:
Classification: Classification
PurviewAccount: PurviewAccountName
AssetName: AssetName
LastScanTime: AssetLastScanTime
AssetPath: AssetPath
SourceRegion: SourceRegion
kind: Scheduled
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Microsoft Purview/Analytic Rules/MicrosoftPurviewSensitiveDataDiscovered.yaml
query: |
PurviewDataSensitivityLogs
| where Classification != "[]"
| where TimeGenerated > ago(24h)
requiredDataConnectors:
- dataTypes:
- PurviewDataSensitivityLogs
connectorId: MicrosoftAzurePurview
tactics:
- Discovery
name: Sensitive Data Discovered in the Last 24 Hours
relevantTechniques:
- T1087
severity: Informational
entityMappings:
- fieldMappings:
- identifier: ResourceId
columnName: SourcePath
entityType: AzureResource
- fieldMappings:
- identifier: Name
columnName: AssetName
entityType: File
- fieldMappings:
- identifier: Name
columnName: PurviewAccountName
entityType: Account
queryFrequency: 1d
description: |
'Identifies all classifications that have been detected on assets during a scan by Microsoft Purview within the last 24 hours.'
alertDetailsOverride:
alertDisplayNameFormat: Sensitive Data Discovered in the Last 24 Hours by Microsoft Purview
alertDescriptionFormat: Within the last 24 hours, Microsoft Purview scanned assets that contained classifications. The classifications discovered include {{Classification}}.
triggerThreshold: 0
triggerOperator: gt
version: 1.0.1
queryPeriod: 1d
id: 7ae7e8b0-07e9-43cb-b783-b04082f09060