Back
Id3b22ac47-e02c-4599-a37a-57f965de17be
RulenameClaroty - Policy violation
DescriptionDetects Claroty policy violation events from ClarotyEvent when EventOriginalType or EventType contains ‘Policy

Violation’. Use this rule to identify policy enforcement events that may indicate unauthorized discovery or prohibited network

activity. This rule expects ClarotyEvent data to be available in the workspace.
SeverityHigh
TacticsDiscovery
TechniquesT1018
T1135
Required data connectorsCefAma
KindScheduled
Query frequency1h
Query period1h
Trigger threshold0
Trigger operatorgt
Source Urihttps://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Claroty/Analytic%20Rules/ClarotyPolicyViolation.yaml
Version1.0.4
Arm template3b22ac47-e02c-4599-a37a-57f965de17be.json
Deploy To Azure
ClarotyEvent
  | where EventOriginalType has 'Policy Violation' or EventType has 'Policy Violation'
  | project TimeGenerated, DstIpAddr, EventOriginalType, EventType
  | extend IPCustomEntity = DstIpAddr
triggerThreshold: 0
version: 1.0.4
kind: Scheduled
description: |
  'Detects Claroty policy violation events from ClarotyEvent when EventOriginalType or EventType contains 'Policy
  Violation'. Use this rule to identify policy enforcement events that may indicate unauthorized discovery or prohibited network
  activity. This rule expects ClarotyEvent data to be available in the workspace.'
queryFrequency: 1h
triggerOperator: gt
relevantTechniques:
- T1018
- T1135
entityMappings:
- fieldMappings:
  - identifier: Address
    columnName: IPCustomEntity
  entityType: IP
id: 3b22ac47-e02c-4599-a37a-57f965de17be
query: |
  ClarotyEvent
    | where EventOriginalType has 'Policy Violation' or EventType has 'Policy Violation'
    | project TimeGenerated, DstIpAddr, EventOriginalType, EventType
    | extend IPCustomEntity = DstIpAddr
alertDetailsOverride:
  alertDisplayNameFormat: Claroty policy violation detected for {{IPCustomEntity}}
  alertDescriptionFormat: 'Claroty reported a policy violation for {{IPCustomEntity}}. EventOriginalType: {{EventOriginalType}}. EventType: {{EventType}}'
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Claroty/Analytic%20Rules/ClarotyPolicyViolation.yaml
requiredDataConnectors:
- dataTypes:
  - CommonSecurityLog
  connectorId: CefAma
customDetails:
  EventType: EventType
  DestinationIP: DstIpAddr
  EventOriginalType: EventOriginalType
tactics:
- Discovery
queryPeriod: 1h
severity: High
status: Available
name: Claroty - Policy violation
{
  "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
  "contentVersion": "1.0.0.0",
  "parameters": {
    "workspace": {
      "type": "String"
    }
  },
  "resources": [
    {
      "apiVersion": "2024-01-01-preview",
      "id": "[concat(resourceId('Microsoft.OperationalInsights/workspaces/providers', parameters('workspace'), 'Microsoft.SecurityInsights'),'/alertRules/3b22ac47-e02c-4599-a37a-57f965de17be')]",
      "kind": "Scheduled",
      "name": "[concat(parameters('workspace'),'/Microsoft.SecurityInsights/3b22ac47-e02c-4599-a37a-57f965de17be')]",
      "properties": {
        "alertDetailsOverride": {
          "alertDescriptionFormat": "Claroty reported a policy violation for {{IPCustomEntity}}. EventOriginalType: {{EventOriginalType}}. EventType: {{EventType}}",
          "alertDisplayNameFormat": "Claroty policy violation detected for {{IPCustomEntity}}"
        },
        "alertRuleTemplateName": "3b22ac47-e02c-4599-a37a-57f965de17be",
        "customDetails": {
          "DestinationIP": "DstIpAddr",
          "EventOriginalType": "EventOriginalType",
          "EventType": "EventType"
        },
        "description": "'Detects Claroty policy violation events from ClarotyEvent when EventOriginalType or EventType contains 'Policy\nViolation'. Use this rule to identify policy enforcement events that may indicate unauthorized discovery or prohibited network\nactivity. This rule expects ClarotyEvent data to be available in the workspace.'\n",
        "displayName": "Claroty - Policy violation",
        "enabled": true,
        "entityMappings": [
          {
            "entityType": "IP",
            "fieldMappings": [
              {
                "columnName": "IPCustomEntity",
                "identifier": "Address"
              }
            ]
          }
        ],
        "OriginalUri": "https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Claroty/Analytic%20Rules/ClarotyPolicyViolation.yaml",
        "query": "ClarotyEvent\n  | where EventOriginalType has 'Policy Violation' or EventType has 'Policy Violation'\n  | project TimeGenerated, DstIpAddr, EventOriginalType, EventType\n  | extend IPCustomEntity = DstIpAddr\n",
        "queryFrequency": "PT1H",
        "queryPeriod": "PT1H",
        "severity": "High",
        "status": "Available",
        "subTechniques": [],
        "suppressionDuration": "PT1H",
        "suppressionEnabled": false,
        "tactics": [
          "Discovery"
        ],
        "techniques": [
          "T1018",
          "T1135"
        ],
        "templateVersion": "1.0.4",
        "triggerOperator": "GreaterThan",
        "triggerThreshold": 0
      },
      "type": "Microsoft.OperationalInsights/workspaces/providers/alertRules"
    }
  ]
}