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)
relevantTechniques:
- T1087
name: Sensitive Data Discovered in the Last 24 Hours
requiredDataConnectors:
- dataTypes:
  - PurviewDataSensitivityLogs
  connectorId: MicrosoftAzurePurview
entityMappings:
- fieldMappings:
  - identifier: ResourceId
    columnName: SourcePath
  entityType: AzureResource
- fieldMappings:
  - identifier: Name
    columnName: AssetName
  entityType: File
- fieldMappings:
  - identifier: Name
    columnName: PurviewAccountName
  entityType: Account
triggerThreshold: 0
id: 7ae7e8b0-07e9-43cb-b783-b04082f09060
tactics:
- Discovery
version: 1.0.1
customDetails:
  SourceRegion: SourceRegion
  AssetPath: AssetPath
  PurviewAccount: PurviewAccountName
  AssetName: AssetName
  Classification: Classification
  LastScanTime: AssetLastScanTime
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}}.
queryPeriod: 1d
kind: Scheduled
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Microsoft Purview/Analytic Rules/MicrosoftPurviewSensitiveDataDiscovered.yaml
queryFrequency: 1d
severity: Informational
description: |
    'Identifies all classifications that have been detected on assets during a scan by Microsoft Purview within the last 24 hours.'
query: |
  PurviewDataSensitivityLogs
  | where Classification != "[]" 
  | where TimeGenerated > ago(24h)  
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": "2024-01-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",
        "subTechniques": [],
        "suppressionDuration": "PT1H",
        "suppressionEnabled": false,
        "tactics": [
          "Discovery"
        ],
        "techniques": [
          "T1087"
        ],
        "templateVersion": "1.0.1",
        "triggerOperator": "GreaterThan",
        "triggerThreshold": 0
      },
      "type": "Microsoft.OperationalInsights/workspaces/providers/alertRules"
    }
  ]
}