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

GitHub Security Vulnerability in Repository

Back
Id5436f471-b03d-41cb-b333-65891f887c43
RulenameGitHub Security Vulnerability in Repository
DescriptionThis alerts when there is a new security vulnerability in a GitHub repository.
SeverityInformational
TacticsInitialAccess
Execution
PrivilegeEscalation
DefenseEvasion
CredentialAccess
LateralMovement
TechniquesT1190
T1203
T1068
T1211
T1212
T1210
KindScheduled
Query frequency1h
Query period1h
Trigger threshold0
Trigger operatorgt
Source Urihttps://github.com/Azure/Azure-Sentinel/blob/master/Solutions/GitHub/Analytic Rules/Security Vulnerability in Repo.yaml
Version1.0.3
Arm template5436f471-b03d-41cb-b333-65891f887c43.json
Deploy To Azure
GitHubRepo
| where Action == "vulnerabilityAlert"
| project TimeGenerated, DismmisedAt, Reason, vulnerableManifestFilename, Description, Link, PublishedAt, Severity, Summary
description: |
    'This alerts when there is a new security vulnerability in a GitHub repository.'
queryPeriod: 1h
name: GitHub Security Vulnerability in Repository
triggerThreshold: 0
tactics:
- InitialAccess
- Execution
- PrivilegeEscalation
- DefenseEvasion
- CredentialAccess
- LateralMovement
severity: Informational
kind: Scheduled
entityMappings:
- entityType: URL
  fieldMappings:
  - identifier: Url
    columnName: Link
queryFrequency: 1h
triggerOperator: gt
id: 5436f471-b03d-41cb-b333-65891f887c43
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/GitHub/Analytic Rules/Security Vulnerability in Repo.yaml
version: 1.0.3
query: |
  GitHubRepo
  | where Action == "vulnerabilityAlert"
  | project TimeGenerated, DismmisedAt, Reason, vulnerableManifestFilename, Description, Link, PublishedAt, Severity, Summary  
requiredDataConnectors: []
relevantTechniques:
- T1190
- T1203
- T1068
- T1211
- T1212
- T1210
{
  "$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/5436f471-b03d-41cb-b333-65891f887c43')]",
      "kind": "Scheduled",
      "name": "[concat(parameters('workspace'),'/Microsoft.SecurityInsights/5436f471-b03d-41cb-b333-65891f887c43')]",
      "properties": {
        "alertRuleTemplateName": "5436f471-b03d-41cb-b333-65891f887c43",
        "customDetails": null,
        "description": "'This alerts when there is a new security vulnerability in a GitHub repository.'\n",
        "displayName": "GitHub Security Vulnerability in Repository",
        "enabled": true,
        "entityMappings": [
          {
            "entityType": "URL",
            "fieldMappings": [
              {
                "columnName": "Link",
                "identifier": "Url"
              }
            ]
          }
        ],
        "OriginalUri": "https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/GitHub/Analytic Rules/Security Vulnerability in Repo.yaml",
        "query": "GitHubRepo\n| where Action == \"vulnerabilityAlert\"\n| project TimeGenerated, DismmisedAt, Reason, vulnerableManifestFilename, Description, Link, PublishedAt, Severity, Summary\n",
        "queryFrequency": "PT1H",
        "queryPeriod": "PT1H",
        "severity": "Informational",
        "subTechniques": [],
        "suppressionDuration": "PT1H",
        "suppressionEnabled": false,
        "tactics": [
          "CredentialAccess",
          "DefenseEvasion",
          "Execution",
          "InitialAccess",
          "LateralMovement",
          "PrivilegeEscalation"
        ],
        "techniques": [
          "T1068",
          "T1190",
          "T1203",
          "T1210",
          "T1211",
          "T1212"
        ],
        "templateVersion": "1.0.3",
        "triggerOperator": "GreaterThan",
        "triggerThreshold": 0
      },
      "type": "Microsoft.OperationalInsights/workspaces/providers/alertRules"
    }
  ]
}