Microsoft Sentinel Analytic Rules
cloudbrothers.infoAzure Sentinel RepoToggle Dark/Light/Auto modeToggle Dark/Light/Auto modeToggle Dark/Light/Auto modeBack to homepage

Sensitive Data Discovered in the Last 24 Hours

Back
Id7ae7e8b0-07e9-43cb-b783-b04082f09060
RulenameSensitive Data Discovered in the Last 24 Hours
DescriptionIdentifies all classifications that have been detected on assets during a scan by Microsoft Purview within the last 24 hours.
SeverityInformational
TacticsDiscovery
TechniquesT1087
Required data connectorsMicrosoftAzurePurview
KindScheduled
Query frequency1d
Query period1d
Trigger threshold0
Trigger operatorgt
Source Urihttps://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Microsoft Purview/Analytic Rules/MicrosoftPurviewSensitiveDataDiscovered.yaml
Version1.0.1
Arm template7ae7e8b0-07e9-43cb-b783-b04082f09060.json
Deploy To Azure
PurviewDataSensitivityLogs
| where Classification != "[]" 
| where TimeGenerated > ago(24h)
customDetails:
  Classification: Classification
  AssetPath: AssetPath
  SourceRegion: SourceRegion
  AssetName: AssetName
  LastScanTime: AssetLastScanTime
  PurviewAccount: PurviewAccountName
severity: Informational
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Microsoft Purview/Analytic Rules/MicrosoftPurviewSensitiveDataDiscovered.yaml
id: 7ae7e8b0-07e9-43cb-b783-b04082f09060
name: Sensitive Data Discovered in the Last 24 Hours
query: |
  PurviewDataSensitivityLogs
  | where Classification != "[]" 
  | where TimeGenerated > ago(24h)  
entityMappings:
- fieldMappings:
  - columnName: SourcePath
    identifier: ResourceId
  entityType: AzureResource
- fieldMappings:
  - columnName: AssetName
    identifier: Name
  entityType: File
- fieldMappings:
  - columnName: PurviewAccountName
    identifier: Name
  entityType: Account
queryPeriod: 1d
triggerThreshold: 0
tactics:
- Discovery
version: 1.0.1
kind: Scheduled
relevantTechniques:
- T1087
queryFrequency: 1d
requiredDataConnectors:
- dataTypes:
  - PurviewDataSensitivityLogs
  connectorId: MicrosoftAzurePurview
description: |
    'Identifies all classifications that have been detected on assets during a scan by Microsoft Purview within the last 24 hours.'
alertDetailsOverride:
  alertDescriptionFormat: Within the last 24 hours, Microsoft Purview scanned assets that contained classifications. The classifications discovered include {{Classification}}.
  alertDisplayNameFormat: Sensitive Data Discovered in the Last 24 Hours by Microsoft Purview
triggerOperator: gt
{
  "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
  "contentVersion": "1.0.0.0",
  "parameters": {
    "workspace": {
      "type": "String"
    }
  },
  "resources": [
    {
      "apiVersion": "2023-02-01-preview",
      "id": "[concat(resourceId('Microsoft.OperationalInsights/workspaces/providers', parameters('workspace'), 'Microsoft.SecurityInsights'),'/alertRules/7ae7e8b0-07e9-43cb-b783-b04082f09060')]",
      "kind": "Scheduled",
      "name": "[concat(parameters('workspace'),'/Microsoft.SecurityInsights/7ae7e8b0-07e9-43cb-b783-b04082f09060')]",
      "properties": {
        "alertDetailsOverride": {
          "alertDescriptionFormat": "Within the last 24 hours, Microsoft Purview scanned assets that contained classifications. The classifications discovered include {{Classification}}.",
          "alertDisplayNameFormat": "Sensitive Data Discovered in the Last 24 Hours by Microsoft Purview"
        },
        "alertRuleTemplateName": "7ae7e8b0-07e9-43cb-b783-b04082f09060",
        "customDetails": {
          "AssetName": "AssetName",
          "AssetPath": "AssetPath",
          "Classification": "Classification",
          "LastScanTime": "AssetLastScanTime",
          "PurviewAccount": "PurviewAccountName",
          "SourceRegion": "SourceRegion"
        },
        "description": "'Identifies all classifications that have been detected on assets during a scan by Microsoft Purview within the last 24 hours.'\n",
        "displayName": "Sensitive Data Discovered in the Last 24 Hours",
        "enabled": true,
        "entityMappings": [
          {
            "entityType": "AzureResource",
            "fieldMappings": [
              {
                "columnName": "SourcePath",
                "identifier": "ResourceId"
              }
            ]
          },
          {
            "entityType": "File",
            "fieldMappings": [
              {
                "columnName": "AssetName",
                "identifier": "Name"
              }
            ]
          },
          {
            "entityType": "Account",
            "fieldMappings": [
              {
                "columnName": "PurviewAccountName",
                "identifier": "Name"
              }
            ]
          }
        ],
        "OriginalUri": "https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Microsoft Purview/Analytic Rules/MicrosoftPurviewSensitiveDataDiscovered.yaml",
        "query": "PurviewDataSensitivityLogs\n| where Classification != \"[]\" \n| where TimeGenerated > ago(24h)\n",
        "queryFrequency": "P1D",
        "queryPeriod": "P1D",
        "severity": "Informational",
        "suppressionDuration": "PT1H",
        "suppressionEnabled": false,
        "tactics": [
          "Discovery"
        ],
        "techniques": [
          "T1087"
        ],
        "templateVersion": "1.0.1",
        "triggerOperator": "GreaterThan",
        "triggerThreshold": 0
      },
      "type": "Microsoft.OperationalInsights/workspaces/providers/alertRules"
    }
  ]
}