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

(Preview) GitHub - User was invited to the repository

Back
Id0b85a077-8ba5-4cb5-90f7-1e882afe40c9
Rulename(Preview) GitHub - User was invited to the repository
DescriptionDetect activities when a user was invited to the repository. This query runs every day and its severity is Medium.
SeverityMedium
TacticsInitialAccess
TechniquesT1078
KindScheduled
Query frequency1d
Query period7d
Trigger threshold0
Trigger operatorgt
Source Urihttps://github.com/Azure/Azure-Sentinel/blob/master/Solutions/GitHub/Analytic Rules/(Preview) GitHub - User was invited to the repository.yaml
Version1.0.0
Arm template0b85a077-8ba5-4cb5-90f7-1e882afe40c9.json
Deploy To Azure
GitHubAuditData 
| where Action == "org.invite_member"
| project Actor, Action
| extend AccountCustomEntity = Actor
name: (Preview) GitHub - User was invited to the repository
query: |
  GitHubAuditData 
  | where Action == "org.invite_member"
  | project Actor, Action
  | extend AccountCustomEntity = Actor  
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/GitHub/Analytic Rules/(Preview) GitHub - User was invited to the repository.yaml
queryFrequency: 1d
triggerThreshold: 0
requiredDataConnectors: []
version: 1.0.0
status: Available
queryPeriod: 7d
id: 0b85a077-8ba5-4cb5-90f7-1e882afe40c9
triggerOperator: gt
entityMappings:
- fieldMappings:
  - identifier: FullName
    columnName: AccountCustomEntity
  entityType: Account
relevantTechniques:
- T1078
severity: Medium
description: |
    'Detect activities when a user was invited to the repository. This query runs every day and its severity is Medium.'
kind: Scheduled
tactics:
- InitialAccess
{
  "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
  "contentVersion": "1.0.0.0",
  "parameters": {
    "workspace": {
      "type": "String"
    }
  },
  "resources": [
    {
      "id": "[concat(resourceId('Microsoft.OperationalInsights/workspaces/providers', parameters('workspace'), 'Microsoft.SecurityInsights'),'/alertRules/0b85a077-8ba5-4cb5-90f7-1e882afe40c9')]",
      "name": "[concat(parameters('workspace'),'/Microsoft.SecurityInsights/0b85a077-8ba5-4cb5-90f7-1e882afe40c9')]",
      "type": "Microsoft.OperationalInsights/workspaces/providers/alertRules",
      "kind": "Scheduled",
      "apiVersion": "2022-11-01",
      "properties": {
        "displayName": "(Preview) GitHub - User was invited to the repository",
        "description": "'Detect activities when a user was invited to the repository. This query runs every day and its severity is Medium.'\n",
        "severity": "Medium",
        "enabled": true,
        "query": "GitHubAuditData \n| where Action == \"org.invite_member\"\n| project Actor, Action\n| extend AccountCustomEntity = Actor\n",
        "queryFrequency": "P1D",
        "queryPeriod": "P7D",
        "triggerOperator": "GreaterThan",
        "triggerThreshold": 0,
        "suppressionDuration": "PT1H",
        "suppressionEnabled": false,
        "tactics": [
          "InitialAccess"
        ],
        "techniques": [
          "T1078"
        ],
        "alertRuleTemplateName": "0b85a077-8ba5-4cb5-90f7-1e882afe40c9",
        "customDetails": null,
        "entityMappings": [
          {
            "fieldMappings": [
              {
                "identifier": "FullName",
                "columnName": "AccountCustomEntity"
              }
            ],
            "entityType": "Account"
          }
        ],
        "status": "Available",
        "templateVersion": "1.0.0",
        "OriginalUri": "https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/GitHub/Analytic Rules/(Preview) GitHub - User was invited to the repository.yaml"
      }
    }
  ]
}