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

BitSight - new alert found

Back
Ida1275c5e-0ff4-4d15-a7b7-96018cd979f5
RulenameBitSight - new alert found
DescriptionRule helps to detect a new alerts generated in BitSight.
SeverityHigh
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/BitSightNewAlertFound.yaml
Version1.0.0
Arm templatea1275c5e-0ff4-4d15-a7b7-96018cd979f5.json
Deploy To Azure
let timeframe = 24h;
BitSightAlerts
| where ingestion_time() > ago(timeframe)
| extend Severity = case( Severity contains "INCREASE", "Low",
                          Severity contains "WARN" or Severity contains "DECREASE", "Medium",
                          Severity contains "CRITICAL", "High",
                          "Informational")
| extend CompanyURL = strcat("https://service.bitsighttech.com/app/spm",CompanyURL)
| project CompanyName, Severity, Trigger, CompanyURL, AlertDate, GUID
incidentConfiguration:
  createIncident: false
name: BitSight - new alert found
status: Available
triggerThreshold: 0
severity: High
tactics:
- Impact
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/BitSight/Analytic Rules/BitSightNewAlertFound.yaml
entityMappings:
- entityType: URL
  fieldMappings:
  - columnName: CompanyURL
    identifier: Url
queryPeriod: 24h
queryFrequency: 1d
version: 1.0.0
triggerOperator: GreaterThan
description: |
    'Rule helps to detect a new alerts generated in BitSight.'
query: |
  let timeframe = 24h;
  BitSightAlerts
  | where ingestion_time() > ago(timeframe)
  | extend Severity = case( Severity contains "INCREASE", "Low",
                            Severity contains "WARN" or Severity contains "DECREASE", "Medium",
                            Severity contains "CRITICAL", "High",
                            "Informational")
  | extend CompanyURL = strcat("https://service.bitsighttech.com/app/spm",CompanyURL)
  | project CompanyName, Severity, Trigger, CompanyURL, AlertDate, GUID  
id: a1275c5e-0ff4-4d15-a7b7-96018cd979f5
requiredDataConnectors:
- dataTypes:
  - BitSightAlerts
  connectorId: BitSight
eventGroupingSettings:
  aggregationKind: AlertPerResult
alertDetailsOverride:
  alertSeverityColumnName: Severity
  alertDisplayNameFormat: 'BitSight: Alert for {{Trigger}} in {{CompanyName}} from bitsight.'
  alertDescriptionFormat: 'Alert generated on {{AlertDate}} in BitSight.\n\nCompany URL: {{CompanyURL}}\nAlert GUID: {{GUID}}'
kind: Scheduled
{
  "$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/a1275c5e-0ff4-4d15-a7b7-96018cd979f5')]",
      "kind": "Scheduled",
      "name": "[concat(parameters('workspace'),'/Microsoft.SecurityInsights/a1275c5e-0ff4-4d15-a7b7-96018cd979f5')]",
      "properties": {
        "alertDetailsOverride": {
          "alertDescriptionFormat": "Alert generated on {{AlertDate}} in BitSight.\\n\\nCompany URL: {{CompanyURL}}\\nAlert GUID: {{GUID}}",
          "alertDisplayNameFormat": "BitSight: Alert for {{Trigger}} in {{CompanyName}} from bitsight.",
          "alertSeverityColumnName": "Severity"
        },
        "alertRuleTemplateName": "a1275c5e-0ff4-4d15-a7b7-96018cd979f5",
        "customDetails": null,
        "description": "'Rule helps to detect a new alerts generated in BitSight.'\n",
        "displayName": "BitSight - new alert found",
        "enabled": true,
        "entityMappings": [
          {
            "entityType": "URL",
            "fieldMappings": [
              {
                "columnName": "CompanyURL",
                "identifier": "Url"
              }
            ]
          }
        ],
        "eventGroupingSettings": {
          "aggregationKind": "AlertPerResult"
        },
        "incidentConfiguration": {
          "createIncident": false
        },
        "OriginalUri": "https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/BitSight/Analytic Rules/BitSightNewAlertFound.yaml",
        "query": "let timeframe = 24h;\nBitSightAlerts\n| where ingestion_time() > ago(timeframe)\n| extend Severity = case( Severity contains \"INCREASE\", \"Low\",\n                          Severity contains \"WARN\" or Severity contains \"DECREASE\", \"Medium\",\n                          Severity contains \"CRITICAL\", \"High\",\n                          \"Informational\")\n| extend CompanyURL = strcat(\"https://service.bitsighttech.com/app/spm\",CompanyURL)\n| project CompanyName, Severity, Trigger, CompanyURL, AlertDate, GUID\n",
        "queryFrequency": "P1D",
        "queryPeriod": "PT24H",
        "severity": "High",
        "status": "Available",
        "suppressionDuration": "PT1H",
        "suppressionEnabled": false,
        "tactics": [
          "Impact"
        ],
        "templateVersion": "1.0.0",
        "triggerOperator": "GreaterThan",
        "triggerThreshold": 0
      },
      "type": "Microsoft.OperationalInsights/workspaces/providers/alertRules"
    }
  ]
}