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