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

BitSight - new breach found

Back
Ida5526ba9-5997-47c6-bf2e-60a08b681e9b
RulenameBitSight - new breach found
DescriptionRule helps to detect a new breach generated in BitSight.
SeverityMedium
TacticsImpact
InitialAccess
TechniquesT1491
T1190
Required data connectorsBitSight
KindScheduled
Query frequency1d
Query period24h
Trigger threshold0
Trigger operatorGreaterThan
Source Urihttps://github.com/Azure/Azure-Sentinel/blob/master/Solutions/BitSight/Analytic Rules/BitSightNewBreachFound.yaml
Version1.0.1
Arm templatea5526ba9-5997-47c6-bf2e-60a08b681e9b.json
Deploy To Azure
let timeframe = 24h;
BitSightBreaches
| where ingestion_time() > ago(timeframe)
| extend Severity = toreal(Severity)
| extend Severity = case( Severity == 1, "Low",
                          Severity == 2, "Medium",
                          Severity == 3, "High",
                          "Informational")
| project DateCreated, Companyname, Severity, PreviwURL, GUID
relevantTechniques:
- T1491
- T1190
incidentConfiguration:
  createIncident: false
name: BitSight - new breach found
requiredDataConnectors:
- dataTypes:
  - BitSightBreaches
  connectorId: BitSight
entityMappings:
- fieldMappings:
  - identifier: Url
    columnName: PreviwURL
  entityType: URL
triggerThreshold: 0
id: a5526ba9-5997-47c6-bf2e-60a08b681e9b
tactics:
- Impact
- InitialAccess
version: 1.0.1
alertDetailsOverride:
  alertDisplayNameFormat: 'BitSight: Alert for new breach in {{Companyname}}.'
  alertSeverityColumnName: Severity
  alertDescriptionFormat: 'Alert is generated on {{DateCreated}} at BitSight.\n\nGUID: {{GUID}}\nPreview URL: {{PreviwURL}}'
queryPeriod: 24h
kind: Scheduled
eventGroupingSettings:
  aggregationKind: AlertPerResult
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/BitSight/Analytic Rules/BitSightNewBreachFound.yaml
queryFrequency: 1d
severity: Medium
status: Available
description: |
    'Rule helps to detect a new breach generated in BitSight.'
query: |
  let timeframe = 24h;
  BitSightBreaches
  | where ingestion_time() > ago(timeframe)
  | extend Severity = toreal(Severity)
  | extend Severity = case( Severity == 1, "Low",
                            Severity == 2, "Medium",
                            Severity == 3, "High",
                            "Informational")
  | project DateCreated, Companyname, Severity, PreviwURL, GUID  
triggerOperator: GreaterThan
{
  "$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/a5526ba9-5997-47c6-bf2e-60a08b681e9b')]",
      "kind": "Scheduled",
      "name": "[concat(parameters('workspace'),'/Microsoft.SecurityInsights/a5526ba9-5997-47c6-bf2e-60a08b681e9b')]",
      "properties": {
        "alertDetailsOverride": {
          "alertDescriptionFormat": "Alert is generated on {{DateCreated}} at BitSight.\\n\\nGUID: {{GUID}}\\nPreview URL: {{PreviwURL}}",
          "alertDisplayNameFormat": "BitSight: Alert for new breach in {{Companyname}}.",
          "alertSeverityColumnName": "Severity"
        },
        "alertRuleTemplateName": "a5526ba9-5997-47c6-bf2e-60a08b681e9b",
        "customDetails": null,
        "description": "'Rule helps to detect a new breach generated in BitSight.'\n",
        "displayName": "BitSight - new breach found",
        "enabled": true,
        "entityMappings": [
          {
            "entityType": "URL",
            "fieldMappings": [
              {
                "columnName": "PreviwURL",
                "identifier": "Url"
              }
            ]
          }
        ],
        "eventGroupingSettings": {
          "aggregationKind": "AlertPerResult"
        },
        "incidentConfiguration": {
          "createIncident": false
        },
        "OriginalUri": "https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/BitSight/Analytic Rules/BitSightNewBreachFound.yaml",
        "query": "let timeframe = 24h;\nBitSightBreaches\n| where ingestion_time() > ago(timeframe)\n| extend Severity = toreal(Severity)\n| extend Severity = case( Severity == 1, \"Low\",\n                          Severity == 2, \"Medium\",\n                          Severity == 3, \"High\",\n                          \"Informational\")\n| project DateCreated, Companyname, Severity, PreviwURL, GUID\n",
        "queryFrequency": "P1D",
        "queryPeriod": "PT24H",
        "severity": "Medium",
        "status": "Available",
        "subTechniques": [],
        "suppressionDuration": "PT1H",
        "suppressionEnabled": false,
        "tactics": [
          "Impact",
          "InitialAccess"
        ],
        "techniques": [
          "T1190",
          "T1491"
        ],
        "templateVersion": "1.0.1",
        "triggerOperator": "GreaterThan",
        "triggerThreshold": 0
      },
      "type": "Microsoft.OperationalInsights/workspaces/providers/alertRules"
    }
  ]
}