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

(Preview) GitHub - A payment method was removed

Back
Id6bb50582-caac-4a9b-9afb-3fee766ebbf7
Rulename(Preview) GitHub - A payment method was removed
DescriptionDetect activities when a payment method was removed. 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 - A payment method was removed.yaml
Version1.0.0
Arm template6bb50582-caac-4a9b-9afb-3fee766ebbf7.json
Deploy To Azure
GitHubAuditData
| where Action == "payment_method.remove"
| extend AccountCustomEntity = Actor
severity: Medium
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/GitHub/Analytic Rules/(Preview) GitHub - A payment method was removed.yaml
description: |
    'Detect activities when a payment method was removed. This query runs every day and its severity is Medium.'
triggerOperator: gt
queryPeriod: 7d
requiredDataConnectors: []
queryFrequency: 1d
triggerThreshold: 0
tactics:
- InitialAccess
query: |
  GitHubAuditData
  | where Action == "payment_method.remove"
  | extend AccountCustomEntity = Actor  
status: Available
kind: Scheduled
relevantTechniques:
- T1078
version: 1.0.0
id: 6bb50582-caac-4a9b-9afb-3fee766ebbf7
entityMappings:
- fieldMappings:
  - columnName: AccountCustomEntity
    identifier: FullName
  entityType: Account
name: (Preview) GitHub - A payment method was removed
{
  "$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/6bb50582-caac-4a9b-9afb-3fee766ebbf7')]",
      "name": "[concat(parameters('workspace'),'/Microsoft.SecurityInsights/6bb50582-caac-4a9b-9afb-3fee766ebbf7')]",
      "type": "Microsoft.OperationalInsights/workspaces/providers/alertRules",
      "kind": "Scheduled",
      "apiVersion": "2022-11-01-preview",
      "properties": {
        "displayName": "(Preview) GitHub - A payment method was removed",
        "description": "'Detect activities when a payment method was removed. This query runs every day and its severity is Medium.'\n",
        "severity": "Medium",
        "enabled": true,
        "query": "GitHubAuditData\n| where Action == \"payment_method.remove\"\n| extend AccountCustomEntity = Actor\n",
        "queryFrequency": "P1D",
        "queryPeriod": "P7D",
        "triggerOperator": "GreaterThan",
        "triggerThreshold": 0,
        "suppressionDuration": "PT1H",
        "suppressionEnabled": false,
        "tactics": [
          "InitialAccess"
        ],
        "techniques": [
          "T1078"
        ],
        "alertRuleTemplateName": "6bb50582-caac-4a9b-9afb-3fee766ebbf7",
        "customDetails": null,
        "entityMappings": [
          {
            "entityType": "Account",
            "fieldMappings": [
              {
                "columnName": "AccountCustomEntity",
                "identifier": "FullName"
              }
            ]
          }
        ],
        "status": "Available",
        "templateVersion": "1.0.0",
        "OriginalUri": "https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/GitHub/Analytic Rules/(Preview) GitHub - A payment method was removed.yaml"
      }
    }
  ]
}