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:
  SourceRegion: SourceRegion
  PurviewAccount: PurviewAccountName
  AssetPath: AssetPath
  AssetName: AssetName
  Classification: Classification
  LastScanTime: AssetLastScanTime
triggerOperator: gt
queryFrequency: 1d
description: |
    'Identifies all classifications that have been detected on assets during a scan by Microsoft Purview within the last 24 hours.'
version: 1.0.1
kind: Scheduled
triggerThreshold: 0
requiredDataConnectors:
- connectorId: MicrosoftAzurePurview
  dataTypes:
  - PurviewDataSensitivityLogs
queryPeriod: 1d
name: Sensitive Data Discovered in the Last 24 Hours
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Microsoft Purview/Analytic Rules/MicrosoftPurviewSensitiveDataDiscovered.yaml
id: 7ae7e8b0-07e9-43cb-b783-b04082f09060
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
tactics:
- Discovery
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
query: |
  PurviewDataSensitivityLogs
  | where Classification != "[]" 
  | where TimeGenerated > ago(24h)  
{
  "$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"
    }
  ]
}