let timeframe = 24h;
BitSightGraphData
| where ingestion_time() > ago(timeframe)
| where toint(RatingDifferance) < 0
| project RatingDate, Rating, CompanyName, RatingDifferance
severity: High
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/BitSight/Analytic Rules/BitSightDropInHeadlineRating.yaml
incidentConfiguration:
createIncident: false
requiredDataConnectors:
- dataTypes:
- BitSightGraphData
connectorId: BitSight
alertDetailsOverride:
alertDescriptionFormat: 'Alert is generated for {{CompanyName}}.\n\nRating Date: {{RatingDate}}\nRating Drop: {{RatingDifferance}}'
alertDisplayNameFormat: 'BitSight : Alert for drop in the headline rating of {{CompanyName}}.'
id: b11fdc35-6368-4cc0-8128-52cd2e2cdda0
tactics:
- CommandAndControl
queryFrequency: 1d
eventGroupingSettings:
aggregationKind: AlertPerResult
triggerOperator: GreaterThan
customDetails:
CompanyName: CompanyName
CompanyRating: Rating
description: |
'Rule helps to detect if headline ratings is drop in BitSight.'
triggerThreshold: 0
kind: Scheduled
name: BitSight - drop in the headline rating
query: |
let timeframe = 24h;
BitSightGraphData
| where ingestion_time() > ago(timeframe)
| where toint(RatingDifferance) < 0
| project RatingDate, Rating, CompanyName, RatingDifferance
status: Available
version: 1.0.0
queryPeriod: 24h
{
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"workspace": {
"type": "String"
}
},
"resources": [
{
"id": "[concat(resourceId('Microsoft.OperationalInsights/workspaces/providers', parameters('workspace'), 'Microsoft.SecurityInsights'),'/alertRules/b11fdc35-6368-4cc0-8128-52cd2e2cdda0')]",
"name": "[concat(parameters('workspace'),'/Microsoft.SecurityInsights/b11fdc35-6368-4cc0-8128-52cd2e2cdda0')]",
"type": "Microsoft.OperationalInsights/workspaces/providers/alertRules",
"kind": "Scheduled",
"apiVersion": "2022-11-01-preview",
"properties": {
"displayName": "BitSight - drop in the headline rating",
"description": "'Rule helps to detect if headline ratings is drop in BitSight.'\n",
"severity": "High",
"enabled": true,
"query": "let timeframe = 24h;\nBitSightGraphData\n| where ingestion_time() > ago(timeframe)\n| where toint(RatingDifferance) < 0\n| project RatingDate, Rating, CompanyName, RatingDifferance\n",
"queryFrequency": "P1D",
"queryPeriod": "PT24H",
"triggerOperator": "GreaterThan",
"triggerThreshold": 0,
"suppressionDuration": "PT1H",
"suppressionEnabled": false,
"tactics": [
"CommandAndControl"
],
"alertRuleTemplateName": "b11fdc35-6368-4cc0-8128-52cd2e2cdda0",
"incidentConfiguration": {
"createIncident": false
},
"eventGroupingSettings": {
"aggregationKind": "AlertPerResult"
},
"alertDetailsOverride": {
"alertDisplayNameFormat": "BitSight : Alert for drop in the headline rating of {{CompanyName}}.",
"alertDescriptionFormat": "Alert is generated for {{CompanyName}}.\\n\\nRating Date: {{RatingDate}}\\nRating Drop: {{RatingDifferance}}"
},
"customDetails": {
"CompanyRating": "Rating",
"CompanyName": "CompanyName"
},
"entityMappings": null,
"status": "Available",
"templateVersion": "1.0.0",
"OriginalUri": "https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/BitSight/Analytic Rules/BitSightDropInHeadlineRating.yaml"
}
}
]
}