Back
Ide261b70a-3005-4a1b-a7a2-2c8147fafed7
Rulenameblacklens Insights
DescriptionCreates incidents from blacklens.io Attack Surface Management alerts ingested into the blacklens_CL table. Alert severity is mapped dynamically from the source data.
SeverityHigh
TacticsReconnaissance
ResourceDevelopment
InitialAccess
CredentialAccess
Collection
Exfiltration
DefenseEvasion
CommandAndControl
TechniquesT1595
T1583
T1190
T1110
T1005
T1041
T1562
T1071
Required data connectorsblacklens_io
KindNRT
Source Urihttps://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Blacklens/Analytic%20Rules/blacklensInsights.yaml
Version1.0.0
Arm templatee261b70a-3005-4a1b-a7a2-2c8147fafed7.json
Deploy To Azure
blacklens_CL
| summarize arg_max(TimeGenerated, *) by id
| extend AlertSeverity = case(
    tolower(severity) == "critical", "High",
    tolower(severity) == "high", "High",
    tolower(severity) == "medium", "Medium",
    tolower(severity) == "low", "Low",
    "Informational"
)
alertDetailsOverride:
  alertDescriptionFormat: '{{message}}'
  alertDisplayNameFormat: '{{alert_title}}'
  alertSeverityColumnName: AlertSeverity
severity: High
requiredDataConnectors:
- connectorId: blacklens_io
  dataTypes:
  - blacklens_CL
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Blacklens/Analytic%20Rules/blacklensInsights.yaml
entityMappings:
- fieldMappings:
  - identifier: Url
    columnName: link
  entityType: URL
relevantTechniques:
- T1595
- T1583
- T1190
- T1110
- T1005
- T1041
- T1562
- T1071
suppressionEnabled: false
status: Available
query: |
  blacklens_CL
  | summarize arg_max(TimeGenerated, *) by id
  | extend AlertSeverity = case(
      tolower(severity) == "critical", "High",
      tolower(severity) == "high", "High",
      tolower(severity) == "medium", "Medium",
      tolower(severity) == "low", "Low",
      "Informational"
  )
incidentConfiguration:
  groupingConfiguration:
    enabled: false
    reopenClosedIncident: false
    lookbackDuration: PT5H
    matchingMethod: AllEntities
  createIncident: true
eventGroupingSettings:
  aggregationKind: AlertPerResult
suppressionDuration: PT1H
name: blacklens Insights
kind: NRT
version: 1.0.0
id: e261b70a-3005-4a1b-a7a2-2c8147fafed7
description: |
  'Creates incidents from blacklens.io Attack Surface Management alerts ingested into the blacklens_CL table. Alert severity is mapped dynamically from the source data.'
tactics:
- Reconnaissance
- ResourceDevelopment
- InitialAccess
- CredentialAccess
- Collection
- Exfiltration
- DefenseEvasion
- CommandAndControl
{
  "$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/e261b70a-3005-4a1b-a7a2-2c8147fafed7')]",
      "kind": "NRT",
      "name": "[concat(parameters('workspace'),'/Microsoft.SecurityInsights/e261b70a-3005-4a1b-a7a2-2c8147fafed7')]",
      "properties": {
        "alertDetailsOverride": {
          "alertDescriptionFormat": "{{message}}",
          "alertDisplayNameFormat": "{{alert_title}}",
          "alertSeverityColumnName": "AlertSeverity"
        },
        "alertRuleTemplateName": "e261b70a-3005-4a1b-a7a2-2c8147fafed7",
        "customDetails": null,
        "description": "'Creates incidents from blacklens.io Attack Surface Management alerts ingested into the blacklens_CL table. Alert severity is mapped dynamically from the source data.'\n",
        "displayName": "blacklens Insights",
        "enabled": true,
        "entityMappings": [
          {
            "entityType": "URL",
            "fieldMappings": [
              {
                "columnName": "link",
                "identifier": "Url"
              }
            ]
          }
        ],
        "eventGroupingSettings": {
          "aggregationKind": "AlertPerResult"
        },
        "incidentConfiguration": {
          "createIncident": true,
          "groupingConfiguration": {
            "enabled": false,
            "lookbackDuration": "PT5H",
            "matchingMethod": "AllEntities",
            "reopenClosedIncident": false
          }
        },
        "OriginalUri": "https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Blacklens/Analytic%20Rules/blacklensInsights.yaml",
        "query": "blacklens_CL\n| summarize arg_max(TimeGenerated, *) by id\n| extend AlertSeverity = case(\n    tolower(severity) == \"critical\", \"High\",\n    tolower(severity) == \"high\", \"High\",\n    tolower(severity) == \"medium\", \"Medium\",\n    tolower(severity) == \"low\", \"Low\",\n    \"Informational\"\n)\n",
        "severity": "High",
        "status": "Available",
        "subTechniques": [],
        "suppressionDuration": "PT1H",
        "suppressionEnabled": false,
        "tactics": [
          "Collection",
          "CommandAndControl",
          "CredentialAccess",
          "DefenseEvasion",
          "Exfiltration",
          "InitialAccess",
          "Reconnaissance",
          "ResourceDevelopment"
        ],
        "techniques": [
          "T1005",
          "T1041",
          "T1071",
          "T1110",
          "T1190",
          "T1562",
          "T1583",
          "T1595"
        ],
        "templateVersion": "1.0.0"
      },
      "type": "Microsoft.OperationalInsights/workspaces/providers/alertRules"
    }
  ]
}