Detection rules › Kusto
GitHub Security Vulnerability in Repository
'This alerts when there is a new security vulnerability in a GitHub repository.'
MITRE ATT&CK coverage
| Tactic | Techniques |
|---|---|
| Initial Access | T1190 Exploit Public-Facing Application |
| Execution | T1203 Exploitation for Client Execution |
| Privilege Escalation | T1068 Exploitation for Privilege Escalation |
| Stealth | T1211 Exploitation for Stealth |
| Credential Access | T1212 Exploitation for Credential Access |
| Lateral Movement | T1210 Exploitation of Remote Services |
Rule body kusto
id: 5436f471-b03d-41cb-b333-65891f887c43
name: GitHub Security Vulnerability in Repository
description: |
'This alerts when there is a new security vulnerability in a GitHub repository.'
severity: Informational
requiredDataConnectors: []
queryFrequency: 1h
queryPeriod: 1h
triggerOperator: gt
triggerThreshold: 0
tactics:
- InitialAccess
- Execution
- PrivilegeEscalation
- DefenseEvasion
- CredentialAccess
- LateralMovement
relevantTechniques:
- T1190
- T1203
- T1068
- T1211
- T1212
- T1210
query: |
GitHubRepo
| where Action == "vulnerabilityAlert"
| project TimeGenerated, DismmisedAt, Reason, vulnerableManifestFilename, Description, Link, PublishedAt, Severity, Summary
entityMappings:
- entityType: URL
fieldMappings:
- identifier: Url
columnName: Link
version: 1.0.3
kind: Scheduled
Stages and Predicates
Stage 1: source
GitHubRepo
Stage 2: where
| where Action == "vulnerabilityAlert"
Stage 3: project
| project TimeGenerated, DismmisedAt, Reason, vulnerableManifestFilename, Description, Link, PublishedAt, Severity, Summary
Indicators
Each row is a field, operator, and value that the rule matches. The corpus column counts how many other rules in the catalog look for the same combination: high numbers point to widely-used, community-vetted indicators. Blank or 1 shows that the indicator is specific to this rule.
| Field | Kind | Values |
|---|---|---|
Action | eq |
|
Output fields
Fields the rule emits when it matches. Chronicle authors list these in the outcome block; they appear on the detection and $risk_score drives alerting. Sentinel / Defender XDR rules build them up through project / summarize / extend stages. Sentinel maps these into alert fields via entityMappings and customDetails; Defender XDR custom detections surface them as alert fields directly.
| Field | Source |
|---|---|
Description | project |
DismmisedAt | project |
Link | project |
PublishedAt | project |
Reason | project |
Severity | project |
Summary | project |
TimeGenerated | project |
vulnerableManifestFilename | project |