Sonrai Ticket Closed
Id | f5d467de-b5a2-4b4f-96db-55e27c733594 |
Rulename | Sonrai Ticket Closed |
Description | Checks if Sonrai tickets have been closed. It uses the action type to check if a ticket has been closed |
Severity | Low |
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/SonraiTicketClosed.yaml |
Version | 1.0.0 |
Arm template | f5d467de-b5a2-4b4f-96db-55e27c733594.json |
Sonrai_Tickets_CL
| where action_d == 2
triggerOperator: gt
version: 1.0.0
query: |
Sonrai_Tickets_CL
| where action_d == 2
status: Available
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/SonraiSecurity/Analytic Rules/SonraiTicketClosed.yaml
queryFrequency: 5m
requiredDataConnectors:
- connectorId: SonraiDataConnector
dataTypes:
- Sonrai_Tickets_CL
eventGroupingSettings:
aggregationKind: AlertPerResult
name: Sonrai Ticket Closed
queryPeriod: 5m
severity: Low
kind: Scheduled
alertDetailsOverride:
alertSeverityColumnName: digest_severityCategory_s
alertDescriptionFormat: digest_ticketKeyDescription_s
alertDisplayNameFormat: Closed - {{digest_ticketSrn_s}} - {{digest_ticketKeyName_s}}
id: f5d467de-b5a2-4b4f-96db-55e27c733594
description: |
'Checks if Sonrai tickets have been closed.
It uses the action type to check if a ticket has been closed'
customDetails:
criticalResource: digest_criticalResourceName_s
ticketOrg: digest_org_s
resourceType: digest_resourceType_s
ticketStatus: digest_status_s
ticketSeverity: digest_severityCategory_s
resourceLabel: digest_resourceLabel_s
ticketName: digest_title_s
triggerThreshold: 0
{
"$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/f5d467de-b5a2-4b4f-96db-55e27c733594')]",
"name": "[concat(parameters('workspace'),'/Microsoft.SecurityInsights/f5d467de-b5a2-4b4f-96db-55e27c733594')]",
"type": "Microsoft.OperationalInsights/workspaces/providers/alertRules",
"kind": "Scheduled",
"apiVersion": "2022-11-01-preview",
"properties": {
"displayName": "Sonrai Ticket Closed",
"description": "'Checks if Sonrai tickets have been closed. \nIt uses the action type to check if a ticket has been closed'\n",
"severity": "Low",
"enabled": true,
"query": "Sonrai_Tickets_CL\n| where action_d == 2\n",
"queryFrequency": "PT5M",
"queryPeriod": "PT5M",
"triggerOperator": "GreaterThan",
"triggerThreshold": 0,
"suppressionDuration": "PT1H",
"suppressionEnabled": false,
"alertRuleTemplateName": "f5d467de-b5a2-4b4f-96db-55e27c733594",
"eventGroupingSettings": {
"aggregationKind": "AlertPerResult"
},
"alertDetailsOverride": {
"alertSeverityColumnName": "digest_severityCategory_s",
"alertDescriptionFormat": "digest_ticketKeyDescription_s",
"alertDisplayNameFormat": "Closed - {{digest_ticketSrn_s}} - {{digest_ticketKeyName_s}}"
},
"customDetails": {
"ticketOrg": "digest_org_s",
"resourceType": "digest_resourceType_s",
"ticketStatus": "digest_status_s",
"ticketSeverity": "digest_severityCategory_s",
"resourceLabel": "digest_resourceLabel_s",
"ticketName": "digest_title_s",
"criticalResource": "digest_criticalResourceName_s"
},
"entityMappings": null,
"status": "Available",
"templateVersion": "1.0.0",
"OriginalUri": "https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/SonraiSecurity/Analytic Rules/SonraiTicketClosed.yaml"
}
}
]
}