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.5
Arm template599fdc92-eb6d-4b54-8d79-2a3f740a846a.json
Deploy To Azure
let enf_state = dynamic(["full", "selective"]);
let visibility_state = dynamic(["visibility", "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
| 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
queryPeriod: 60m
version: 1.0.5
tactics:
- DefenseEvasion
alertDetailsOverride:
  alertDescriptionFormat: |
        Illumio Enforcement Change Incident {{IncidentId}} generated at {{TimeGenerated}}
  alertDisplayNameFormat: |
        Illumio Enforcement Change Incident: {{IncidentId}}
queryFrequency: 60m
id: 599fdc92-eb6d-4b54-8d79-2a3f740a846a
triggerOperator: gt
requiredDataConnectors:
- dataTypes:
  - Illumio_Auditable_Events_CL
  connectorId: IllumioSaaSDataConnector
severity: Medium
eventGroupingSettings:
  aggregationKind: AlertPerResult
entityMappings:
- entityType: Host
  fieldMappings:
  - columnName: workload_name
    identifier: HostName
- entityType: Account
  fieldMappings:
  - columnName: created_by
    identifier: Name
triggerThreshold: 0
relevantTechniques:
- T1562
query: |
  let enf_state = dynamic(["full", "selective"]);
  let visibility_state = dynamic(["visibility", "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
  | 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  
kind: Scheduled
name: Illumio Enforcement Change Analytic Rule
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/IllumioSaaS/Analytic Rules/Illumio_VEN_Enforcement_Change_Detection_Query.yaml
description: |
    'Create Microsoft Sentinel Incident When Ven Changes Enforcement State from Full/Selective To Idle/Visibility state'
status: Available
{
  "$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 {{IncidentId}} generated at {{TimeGenerated}}\n",
          "alertDisplayNameFormat": "Illumio Enforcement Change Incident: {{IncidentId}}\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"
              }
            ]
          }
        ],
        "eventGroupingSettings": {
          "aggregationKind": "AlertPerResult"
        },
        "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\", \"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| 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\n",
        "queryFrequency": "PT60M",
        "queryPeriod": "PT60M",
        "severity": "Medium",
        "status": "Available",
        "subTechniques": [],
        "suppressionDuration": "PT1H",
        "suppressionEnabled": false,
        "tactics": [
          "DefenseEvasion"
        ],
        "techniques": [
          "T1562"
        ],
        "templateVersion": "1.0.5",
        "triggerOperator": "GreaterThan",
        "triggerThreshold": 0
      },
      "type": "Microsoft.OperationalInsights/workspaces/providers/alertRules"
    }
  ]
}