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

Code Repository

Back
Idda2059f5-8463-49d5-a6dc-22597fd9ce66
RulenameCode Repository
DescriptionNew code_repository with severity FYI found
SeverityInformational
TacticsInitialAccess
TechniquesT1195
Required data connectorsCBSPollingIDAzureFunctions
KindScheduled
Query frequency5m
Query period5m
Trigger threshold0
Trigger operatorgt
Source Urihttps://github.com/Azure/Azure-Sentinel/blob/master/Solutions/CTM360/Analytic Rules/CodeRepository.yaml
Version1.0.2
Arm templateda2059f5-8463-49d5-a6dc-22597fd9ce66.json
Deploy To Azure
CBSLog_Azure_1_CL | where severity_s == "Informational" | where type_s == "Code Repository" | where status_s != "Closed" or status_s != "Resolved" | where remarks_s == "New code_repository with severity FYI found"
relevantTechniques:
- T1195
incidentConfiguration:
  createIncident: true
  groupingConfiguration:
    lookbackDuration: PT5H
    groupByCustomDetails: []
    groupByAlertDetails: []
    enabled: false
    reopenClosedIncident: false
    matchingMethod: AllEntities
    groupByEntities: []
name: Code Repository
requiredDataConnectors:
- dataTypes:
  - CBSLog_Azure_1_CL
  connectorId: CBSPollingIDAzureFunctions
entityMappings:
- fieldMappings:
  - identifier: Url
    columnName: subject_s
  entityType: URL
triggerThreshold: 0
id: da2059f5-8463-49d5-a6dc-22597fd9ce66
tactics:
- InitialAccess
version: 1.0.2
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/CTM360/Analytic Rules/CodeRepository.yaml
queryPeriod: 5m
kind: Scheduled
eventGroupingSettings:
  aggregationKind: SingleAlert
suppressionDuration: 5h
queryFrequency: 5m
severity: Informational
status: Available
suppressionEnabled: false
description: |
    'New code_repository with severity FYI found'
query: |
    CBSLog_Azure_1_CL | where severity_s == "Informational" | where type_s == "Code Repository" | where status_s != "Closed" or status_s != "Resolved" | where remarks_s == "New code_repository with severity FYI found"
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/da2059f5-8463-49d5-a6dc-22597fd9ce66')]",
      "kind": "Scheduled",
      "name": "[concat(parameters('workspace'),'/Microsoft.SecurityInsights/da2059f5-8463-49d5-a6dc-22597fd9ce66')]",
      "properties": {
        "alertRuleTemplateName": "da2059f5-8463-49d5-a6dc-22597fd9ce66",
        "customDetails": null,
        "description": "'New code_repository with severity FYI found'\n",
        "displayName": "Code Repository",
        "enabled": true,
        "entityMappings": [
          {
            "entityType": "URL",
            "fieldMappings": [
              {
                "columnName": "subject_s",
                "identifier": "Url"
              }
            ]
          }
        ],
        "eventGroupingSettings": {
          "aggregationKind": "SingleAlert"
        },
        "incidentConfiguration": {
          "createIncident": true,
          "groupingConfiguration": {
            "enabled": false,
            "groupByAlertDetails": [],
            "groupByCustomDetails": [],
            "groupByEntities": [],
            "lookbackDuration": "PT5H",
            "matchingMethod": "AllEntities",
            "reopenClosedIncident": false
          }
        },
        "OriginalUri": "https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/CTM360/Analytic Rules/CodeRepository.yaml",
        "query": "CBSLog_Azure_1_CL | where severity_s == \"Informational\" | where type_s == \"Code Repository\" | where status_s != \"Closed\" or status_s != \"Resolved\" | where remarks_s == \"New code_repository with severity FYI found\"\n",
        "queryFrequency": "PT5M",
        "queryPeriod": "PT5M",
        "severity": "Informational",
        "status": "Available",
        "subTechniques": [],
        "suppressionDuration": "PT5H",
        "suppressionEnabled": false,
        "tactics": [
          "InitialAccess"
        ],
        "techniques": [
          "T1195"
        ],
        "templateVersion": "1.0.2",
        "triggerOperator": "GreaterThan",
        "triggerThreshold": 0
      },
      "type": "Microsoft.OperationalInsights/workspaces/providers/alertRules"
    }
  ]
}