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