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

Sonrai Ticket Reopened

Back
Idb60129ab-ce22-4b76-858d-3204932a13cc
RulenameSonrai Ticket Reopened
DescriptionChecks if Sonrai tickets have been reopened.

It uses the action type to check if a ticket has been reopened
SeverityMedium
Required data connectorsSonraiDataConnector
KindScheduled
Query frequency5m
Query period5m
Trigger threshold0
Trigger operatorgt
Source Urihttps://github.com/Azure/Azure-Sentinel/blob/master/Solutions/SonraiSecurity/Analytic Rules/SonraiTicketReopened.yaml
Version1.0.1
Arm templateb60129ab-ce22-4b76-858d-3204932a13cc.json
Deploy To Azure
Sonrai_Tickets_CL
| where action_d == 3
customDetails:
  ticketName: digest_title_s
  reopenedDate: digest_lastReopenDate_d
  resourceType: digest_resourceType_s
  ticketStatus: digest_status_s
  criticalResource: digest_criticalResourceName_s
  ticketOrg: digest_org_s
  resourceLabel: digest_resourceLabel_s
  ticketSeverity: digest_severityCategory_s
severity: Medium
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/SonraiSecurity/Analytic Rules/SonraiTicketReopened.yaml
id: b60129ab-ce22-4b76-858d-3204932a13cc
name: Sonrai Ticket Reopened
query: |
  Sonrai_Tickets_CL
  | where action_d == 3  
entityMappings:
- fieldMappings:
  - columnName: digest_criticalResourceName_s
    identifier: Name
  entityType: CloudApplication
queryPeriod: 5m
triggerThreshold: 0
eventGroupingSettings:
  aggregationKind: AlertPerResult
version: 1.0.1
kind: Scheduled
queryFrequency: 5m
status: Available
requiredDataConnectors:
- dataTypes:
  - Sonrai_Tickets_CL
  connectorId: SonraiDataConnector
description: |
  'Checks if Sonrai tickets have been reopened. 
  It uses the action type to check if a ticket has been reopened'  
alertDetailsOverride:
  alertDescriptionFormat: digest_ticketKeyDescription_s
  alertDisplayNameFormat: Reopened - {{digest_ticketSrn_s}} - {{digest_ticketKeyName_s}}
  alertSeverityColumnName: digest_severityCategory_s
triggerOperator: gt
{
  "$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/b60129ab-ce22-4b76-858d-3204932a13cc')]",
      "kind": "Scheduled",
      "name": "[concat(parameters('workspace'),'/Microsoft.SecurityInsights/b60129ab-ce22-4b76-858d-3204932a13cc')]",
      "properties": {
        "alertDetailsOverride": {
          "alertDescriptionFormat": "digest_ticketKeyDescription_s",
          "alertDisplayNameFormat": "Reopened - {{digest_ticketSrn_s}} - {{digest_ticketKeyName_s}}",
          "alertSeverityColumnName": "digest_severityCategory_s"
        },
        "alertRuleTemplateName": "b60129ab-ce22-4b76-858d-3204932a13cc",
        "customDetails": {
          "criticalResource": "digest_criticalResourceName_s",
          "reopenedDate": "digest_lastReopenDate_d",
          "resourceLabel": "digest_resourceLabel_s",
          "resourceType": "digest_resourceType_s",
          "ticketName": "digest_title_s",
          "ticketOrg": "digest_org_s",
          "ticketSeverity": "digest_severityCategory_s",
          "ticketStatus": "digest_status_s"
        },
        "description": "'Checks if Sonrai tickets have been reopened. \nIt uses the action type to check if a ticket has been reopened'\n",
        "displayName": "Sonrai Ticket Reopened",
        "enabled": true,
        "entityMappings": [
          {
            "entityType": "CloudApplication",
            "fieldMappings": [
              {
                "columnName": "digest_criticalResourceName_s",
                "identifier": "Name"
              }
            ]
          }
        ],
        "eventGroupingSettings": {
          "aggregationKind": "AlertPerResult"
        },
        "OriginalUri": "https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/SonraiSecurity/Analytic Rules/SonraiTicketReopened.yaml",
        "query": "Sonrai_Tickets_CL\n| where action_d == 3\n",
        "queryFrequency": "PT5M",
        "queryPeriod": "PT5M",
        "severity": "Medium",
        "status": "Available",
        "suppressionDuration": "PT1H",
        "suppressionEnabled": false,
        "templateVersion": "1.0.1",
        "triggerOperator": "GreaterThan",
        "triggerThreshold": 0
      },
      "type": "Microsoft.OperationalInsights/workspaces/providers/alertRules"
    }
  ]
}