Sonrai Ticket Updated
Id | af9b8eb1-a8ef-40aa-92a4-1fc73a1479c7 |
Rulename | Sonrai Ticket Updated |
Description | Checks if Sonrai tickets have been updated. It uses the action type to check if a ticket has been updated |
Severity | Medium |
Required data connectors | SonraiDataConnector |
Kind | Scheduled |
Query frequency | 5m |
Query period | 5m |
Trigger threshold | 0 |
Trigger operator | gt |
Source Uri | https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/SonraiSecurity/Analytic Rules/SonraiTicketUpdated.yaml |
Version | 1.0.0 |
Arm template | af9b8eb1-a8ef-40aa-92a4-1fc73a1479c7.json |
Sonrai_Tickets_CL
| where action_d == 5
severity: Medium
description: |
'Checks if Sonrai tickets have been updated.
It uses the action type to check if a ticket has been updated'
triggerOperator: gt
customDetails:
ticketSeverity: digest_severityCategory_s
resourceType: digest_resourceType_s
ticketName: digest_title_s
resourceLabel: digest_resourceLabel_s
ticketStatus: digest_status_s
criticalResource: digest_criticalResourceName_s
ticketOrg: digest_org_s
queryPeriod: 5m
requiredDataConnectors:
- dataTypes:
- Sonrai_Tickets_CL
connectorId: SonraiDataConnector
queryFrequency: 5m
triggerThreshold: 0
alertDetailsOverride:
alertDisplayNameFormat: Updated - {{digest_ticketSrn_s}} - {{digest_ticketKeyName_s}}
alertDescriptionFormat: digest_ticketKeyDescription_s
alertSeverityColumnName: digest_severityCategory_s
query: |
Sonrai_Tickets_CL
| where action_d == 5
status: Available
kind: Scheduled
version: 1.0.0
id: af9b8eb1-a8ef-40aa-92a4-1fc73a1479c7
eventGroupingSettings:
aggregationKind: AlertPerResult
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/SonraiSecurity/Analytic Rules/SonraiTicketUpdated.yaml
name: Sonrai Ticket Updated
{
"$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/af9b8eb1-a8ef-40aa-92a4-1fc73a1479c7')]",
"name": "[concat(parameters('workspace'),'/Microsoft.SecurityInsights/af9b8eb1-a8ef-40aa-92a4-1fc73a1479c7')]",
"type": "Microsoft.OperationalInsights/workspaces/providers/alertRules",
"kind": "Scheduled",
"apiVersion": "2022-11-01-preview",
"properties": {
"displayName": "Sonrai Ticket Updated",
"description": "'Checks if Sonrai tickets have been updated. \nIt uses the action type to check if a ticket has been updated'\n",
"severity": "Medium",
"enabled": true,
"query": "Sonrai_Tickets_CL\n| where action_d == 5\n",
"queryFrequency": "PT5M",
"queryPeriod": "PT5M",
"triggerOperator": "GreaterThan",
"triggerThreshold": 0,
"suppressionDuration": "PT1H",
"suppressionEnabled": false,
"alertRuleTemplateName": "af9b8eb1-a8ef-40aa-92a4-1fc73a1479c7",
"eventGroupingSettings": {
"aggregationKind": "AlertPerResult"
},
"alertDetailsOverride": {
"alertSeverityColumnName": "digest_severityCategory_s",
"alertDescriptionFormat": "digest_ticketKeyDescription_s",
"alertDisplayNameFormat": "Updated - {{digest_ticketSrn_s}} - {{digest_ticketKeyName_s}}"
},
"customDetails": {
"ticketSeverity": "digest_severityCategory_s",
"resourceType": "digest_resourceType_s",
"ticketName": "digest_title_s",
"resourceLabel": "digest_resourceLabel_s",
"ticketStatus": "digest_status_s",
"criticalResource": "digest_criticalResourceName_s",
"ticketOrg": "digest_org_s"
},
"entityMappings": null,
"status": "Available",
"OriginalUri": "https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/SonraiSecurity/Analytic Rules/SonraiTicketUpdated.yaml",
"templateVersion": "1.0.0"
}
}
]
}