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

Guardian- Code Detection Policy Violation Detection

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 AI Security Monitoring/Analytic Rules/CodeDetectionVulDetection.yaml
Version1.0.0
Arm template90f50a0b-6903-4ddc-adcc-c13ebb77ffa7.json
Deploy To Azure
Guardian
| where PolicyViolatedControlFeature =~ 'Code Detection'
| where Severity =~ 'Low'
entityMappings:
- fieldMappings:
  - columnName: HostName
    identifier: HostName
  - columnName: NTDomain
    identifier: NTDomain
  entityType: Host
- fieldMappings:
  - columnName: SourceIP
    identifier: Address
  entityType: IP
triggerThreshold: 0
severity: Low
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/AIShield AI Security Monitoring/Analytic Rules/CodeDetectionVulDetection.yaml
queryFrequency: 1h
status: Available
relevantTechniques: []
triggerOperator: gt
version: 1.0.0
id: 90f50a0b-6903-4ddc-adcc-c13ebb77ffa7
requiredDataConnectors:
- connectorId: BoschAIShield
  dataTypes:
  - Guardian
alertDetailsOverride:
  alertTacticsColumnName: 
  alertDisplayNameFormat: Guardian- Code Detection Policy Violation detection
  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.
  alertSeverityColumnName: Severity
name: Guardian- Code Detection Policy Violation Detection
eventGroupingSettings:
  aggregationKind: SingleAlert
description: |
    'This alert creates an incident when Code Detection Policy Violation detected from the Guardian.'
query: |
  Guardian
  | where PolicyViolatedControlFeature =~ 'Code Detection'
  | where Severity =~ 'Low'  
tactics: []
queryPeriod: 1h
kind: Scheduled
{
  "$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 AI Security Monitoring/Analytic Rules/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"
    }
  ]
}