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

Illumio Enforcement Change Analytic Rule

Back
Id599fdc92-eb6d-4b54-8d79-2a3f740a846a
RulenameIllumio Enforcement Change Analytic Rule
DescriptionCreate Microsoft Sentinel Incident When Ven Changes Enforcement State from Full/Selective To Idle/Visibility state
SeverityMedium
TacticsDefenseEvasion
TechniquesT1562
Required data connectorsIllumioSaaSDataConnector
KindScheduled
Query frequency60m
Query period60m
Trigger threshold0
Trigger operatorgt
Source Urihttps://github.com/Azure/Azure-Sentinel/blob/master/Solutions/IllumioSaaS/Analytic Rules/Illumio_VEN_Enforcement_Change_Detection_Query.yaml
Version1.0.6
Arm template599fdc92-eb6d-4b54-8d79-2a3f740a846a.json
Deploy To Azure
let enf_state = dynamic(["full", "selective"]);
let visibility_state = dynamic(["visibility_only", "idle"]);
Illumio_Auditable_Events_CL
| extend temp_resource_changes = parse_json(resource_changes)[0]
| where event_type == 'workloads.update' 
| extend old_mode = temp_resource_changes.changes.enforcement_mode.before,
        new_mode = temp_resource_changes.changes.enforcement_mode.after,
        workload_href = temp_resource_changes.resource.workload.href,
        workload_name = temp_resource_changes.resource.workload.hostname,
        ipaddress = action.src_ip
| where new_mode in (visibility_state) and old_mode in (enf_state)
| project-away temp_*
| project old_mode, new_mode, workload_href, workload_name, TimeGenerated, created_by, ipaddress
relevantTechniques:
- T1562
name: Illumio Enforcement Change Analytic Rule
requiredDataConnectors:
- dataTypes:
  - Illumio_Auditable_Events_CL
  connectorId: IllumioSaaSDataConnector
entityMappings:
- fieldMappings:
  - identifier: HostName
    columnName: workload_name
  entityType: Host
- fieldMappings:
  - identifier: Name
    columnName: created_by
  entityType: Account
- fieldMappings:
  - identifier: Address
    columnName: ipaddress
  entityType: IP
triggerThreshold: 0
id: 599fdc92-eb6d-4b54-8d79-2a3f740a846a
tactics:
- DefenseEvasion
version: 1.0.6
alertDetailsOverride:
  alertDisplayNameFormat: |
        Illumio Enforcement Change Incident for {{workload_name}}
  alertDescriptionFormat: |
        Illumio Enforcement Change Incident for {{workload_name}} generated at {{TimeGenerated}}
queryPeriod: 60m
kind: Scheduled
eventGroupingSettings:
  aggregationKind: SingleAlert
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/IllumioSaaS/Analytic Rules/Illumio_VEN_Enforcement_Change_Detection_Query.yaml
queryFrequency: 60m
severity: Medium
status: Available
description: |
    'Create Microsoft Sentinel Incident When Ven Changes Enforcement State from Full/Selective To Idle/Visibility state'
query: |
  let enf_state = dynamic(["full", "selective"]);
  let visibility_state = dynamic(["visibility_only", "idle"]);
  Illumio_Auditable_Events_CL
  | extend temp_resource_changes = parse_json(resource_changes)[0]
  | where event_type == 'workloads.update' 
  | extend old_mode = temp_resource_changes.changes.enforcement_mode.before,
          new_mode = temp_resource_changes.changes.enforcement_mode.after,
          workload_href = temp_resource_changes.resource.workload.href,
          workload_name = temp_resource_changes.resource.workload.hostname,
          ipaddress = action.src_ip
  | where new_mode in (visibility_state) and old_mode in (enf_state)
  | project-away temp_*
  | project old_mode, new_mode, workload_href, workload_name, TimeGenerated, created_by, ipaddress  
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": "2024-01-01-preview",
      "id": "[concat(resourceId('Microsoft.OperationalInsights/workspaces/providers', parameters('workspace'), 'Microsoft.SecurityInsights'),'/alertRules/599fdc92-eb6d-4b54-8d79-2a3f740a846a')]",
      "kind": "Scheduled",
      "name": "[concat(parameters('workspace'),'/Microsoft.SecurityInsights/599fdc92-eb6d-4b54-8d79-2a3f740a846a')]",
      "properties": {
        "alertDetailsOverride": {
          "alertDescriptionFormat": "Illumio Enforcement Change Incident for {{workload_name}} generated at {{TimeGenerated}}\n",
          "alertDisplayNameFormat": "Illumio Enforcement Change Incident for {{workload_name}}\n"
        },
        "alertRuleTemplateName": "599fdc92-eb6d-4b54-8d79-2a3f740a846a",
        "customDetails": null,
        "description": "'Create Microsoft Sentinel Incident When Ven Changes Enforcement State from Full/Selective To Idle/Visibility state'\n",
        "displayName": "Illumio Enforcement Change Analytic Rule",
        "enabled": true,
        "entityMappings": [
          {
            "entityType": "Host",
            "fieldMappings": [
              {
                "columnName": "workload_name",
                "identifier": "HostName"
              }
            ]
          },
          {
            "entityType": "Account",
            "fieldMappings": [
              {
                "columnName": "created_by",
                "identifier": "Name"
              }
            ]
          },
          {
            "entityType": "IP",
            "fieldMappings": [
              {
                "columnName": "ipaddress",
                "identifier": "Address"
              }
            ]
          }
        ],
        "eventGroupingSettings": {
          "aggregationKind": "SingleAlert"
        },
        "OriginalUri": "https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/IllumioSaaS/Analytic Rules/Illumio_VEN_Enforcement_Change_Detection_Query.yaml",
        "query": "let enf_state = dynamic([\"full\", \"selective\"]);\nlet visibility_state = dynamic([\"visibility_only\", \"idle\"]);\nIllumio_Auditable_Events_CL\n| extend temp_resource_changes = parse_json(resource_changes)[0]\n| where event_type == 'workloads.update' \n| extend old_mode = temp_resource_changes.changes.enforcement_mode.before,\n        new_mode = temp_resource_changes.changes.enforcement_mode.after,\n        workload_href = temp_resource_changes.resource.workload.href,\n        workload_name = temp_resource_changes.resource.workload.hostname,\n        ipaddress = action.src_ip\n| where new_mode in (visibility_state) and old_mode in (enf_state)\n| project-away temp_*\n| project old_mode, new_mode, workload_href, workload_name, TimeGenerated, created_by, ipaddress\n",
        "queryFrequency": "PT60M",
        "queryPeriod": "PT60M",
        "severity": "Medium",
        "status": "Available",
        "subTechniques": [],
        "suppressionDuration": "PT1H",
        "suppressionEnabled": false,
        "tactics": [
          "DefenseEvasion"
        ],
        "techniques": [
          "T1562"
        ],
        "templateVersion": "1.0.6",
        "triggerOperator": "GreaterThan",
        "triggerThreshold": 0
      },
      "type": "Microsoft.OperationalInsights/workspaces/providers/alertRules"
    }
  ]
}