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
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.0
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
eventGroupingSettings:
  aggregationKind: AlertPerResult
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}}'
status: Available
triggerThreshold: 0
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/BitSight/Analytic Rules/BitSightNewBreachFound.yaml
requiredDataConnectors:
- dataTypes:
  - BitSightBreaches
  connectorId: BitSight
queryPeriod: 24h
tactics:
- Impact
severity: Medium
incidentConfiguration:
  createIncident: false
triggerOperator: GreaterThan
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  
name: BitSight - new breach found
version: 1.0.0
kind: Scheduled
id: a5526ba9-5997-47c6-bf2e-60a08b681e9b
queryFrequency: 1d
entityMappings:
- entityType: URL
  fieldMappings:
  - columnName: PreviwURL
    identifier: Url
{
  "$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/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",
        "suppressionDuration": "PT1H",
        "suppressionEnabled": false,
        "tactics": [
          "Impact"
        ],
        "templateVersion": "1.0.0",
        "triggerOperator": "GreaterThan",
        "triggerThreshold": 0
      },
      "type": "Microsoft.OperationalInsights/workspaces/providers/alertRules"
    }
  ]
}