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