Back
Id90f50a0b-6903-4ddc-adcc-c13ebb77ffa7
RulenameGuardian- Code Detection Policy Violation Detection
DescriptionThis alert creates an incident when Code Detection Policy Violation detected from the Guardian.
SeverityLow
Required data connectorsBoschAIShield
KindScheduled
Query frequency1h
Query period1h
Trigger threshold0
Trigger operatorgt
Source Urihttps://github.com/Azure/Azure-Sentinel/blob/master/Solutions/AIShield%20AI%20Security%20Monitoring/Analytic%20Rules/CodeDetectionVulDetection.yaml
Version1.0.0
Arm template90f50a0b-6903-4ddc-adcc-c13ebb77ffa7.json
Deploy To Azure
Guardian
| where PolicyViolatedControlFeature =~ 'Code Detection'
| where Severity =~ 'Low'
name: Guardian- Code Detection Policy Violation Detection
triggerOperator: gt
query: |
  Guardian
  | where PolicyViolatedControlFeature =~ 'Code Detection'
  | where Severity =~ 'Low'
queryFrequency: 1h
description: |
  'This alert creates an incident when Code Detection Policy Violation detected from the Guardian.'
id: 90f50a0b-6903-4ddc-adcc-c13ebb77ffa7
triggerThreshold: 0
queryPeriod: 1h
version: 1.0.0
kind: Scheduled
status: Available
eventGroupingSettings:
  aggregationKind: SingleAlert
severity: Low
requiredDataConnectors:
- connectorId: BoschAIShield
  dataTypes:
  - Guardian
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/AIShield%20AI%20Security%20Monitoring/Analytic%20Rules/CodeDetectionVulDetection.yaml
alertDetailsOverride:
  alertDescriptionFormat: |
    This query detects Code Detection Policy Violation detected from the Guardian generated at {{TimeGenerated}}.\n\nPlease check the source for more information and investigate further.
  alertDisplayNameFormat: Guardian- Code Detection Policy Violation detection
  alertSeverityColumnName: Severity
  alertTacticsColumnName: 
relevantTechniques: []
tactics: []
entityMappings:
- fieldMappings:
  - identifier: HostName
    columnName: HostName
  - identifier: NTDomain
    columnName: NTDomain
  entityType: Host
- fieldMappings:
  - identifier: Address
    columnName: SourceIP
  entityType: IP
{
  "$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/90f50a0b-6903-4ddc-adcc-c13ebb77ffa7')]",
      "kind": "Scheduled",
      "name": "[concat(parameters('workspace'),'/Microsoft.SecurityInsights/90f50a0b-6903-4ddc-adcc-c13ebb77ffa7')]",
      "properties": {
        "alertDetailsOverride": {
          "alertDescriptionFormat": "This query detects Code Detection Policy Violation detected from the Guardian generated at {{TimeGenerated}}.\\n\\nPlease check the source for more information and investigate further.\n",
          "alertDisplayNameFormat": "Guardian- Code Detection Policy Violation detection",
          "alertSeverityColumnName": "Severity",
          "alertTacticsColumnName": null
        },
        "alertRuleTemplateName": "90f50a0b-6903-4ddc-adcc-c13ebb77ffa7",
        "customDetails": null,
        "description": "'This alert creates an incident when Code Detection Policy Violation detected from the Guardian.'\n",
        "displayName": "Guardian- Code Detection Policy Violation Detection",
        "enabled": true,
        "entityMappings": [
          {
            "entityType": "Host",
            "fieldMappings": [
              {
                "columnName": "HostName",
                "identifier": "HostName"
              },
              {
                "columnName": "NTDomain",
                "identifier": "NTDomain"
              }
            ]
          },
          {
            "entityType": "IP",
            "fieldMappings": [
              {
                "columnName": "SourceIP",
                "identifier": "Address"
              }
            ]
          }
        ],
        "eventGroupingSettings": {
          "aggregationKind": "SingleAlert"
        },
        "OriginalUri": "https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/AIShield%20AI%20Security%20Monitoring/Analytic%20Rules/CodeDetectionVulDetection.yaml",
        "query": "Guardian\n| where PolicyViolatedControlFeature =~ 'Code Detection'\n| where Severity =~ 'Low'\n",
        "queryFrequency": "PT1H",
        "queryPeriod": "PT1H",
        "severity": "Low",
        "status": "Available",
        "subTechniques": [],
        "suppressionDuration": "PT1H",
        "suppressionEnabled": false,
        "tactics": [],
        "techniques": [],
        "templateVersion": "1.0.0",
        "triggerOperator": "GreaterThan",
        "triggerThreshold": 0
      },
      "type": "Microsoft.OperationalInsights/workspaces/providers/alertRules"
    }
  ]
}