Back
Id9cb7c337-f178-4af6-b0e8-b6b7552d762d
RulenameFlare source code results
DescriptionThis query searches for events found on code sharing platforms.
SeverityMedium
TacticsReconnaissance
TechniquesT1593
Required data connectorsFlare
KindScheduled
Query frequency1h
Query period1h
Trigger threshold0
Trigger operatorgt
Source Urihttps://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Flare/Analytic%20Rules/FlareSourceCode.yaml
Version3.0.0
Arm template9cb7c337-f178-4af6-b0e8-b6b7552d762d.json
Deploy To Azure
FireworkV2_CL
| where notempty(uid) and RiskScore >= 3
| extend index_name = split(uid, "/")[0]
| extend category_name = split(uid, "/")[1]
| where index_name == "driller" and category_name contains "github"
kind: Scheduled
triggerOperator: gt
id: 9cb7c337-f178-4af6-b0e8-b6b7552d762d
description: |
  'This query searches for events found on code sharing platforms.'
queryFrequency: 1h
severity: Medium
triggerThreshold: 0
query: |
  FireworkV2_CL
  | where notempty(uid) and RiskScore >= 3
  | extend index_name = split(uid, "/")[0]
  | extend category_name = split(uid, "/")[1]
  | where index_name == "driller" and category_name contains "github"
requiredDataConnectors:
- connectorId: Flare
  dataTypes:
  - FireworkV2_CL
name: Flare source code results
tactics:
- Reconnaissance
queryPeriod: 1h
relevantTechniques:
- T1593
status: Available
version: 3.0.0
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Flare/Analytic%20Rules/FlareSourceCode.yaml
{
  "$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/9cb7c337-f178-4af6-b0e8-b6b7552d762d')]",
      "kind": "Scheduled",
      "name": "[concat(parameters('workspace'),'/Microsoft.SecurityInsights/9cb7c337-f178-4af6-b0e8-b6b7552d762d')]",
      "properties": {
        "alertRuleTemplateName": "9cb7c337-f178-4af6-b0e8-b6b7552d762d",
        "customDetails": null,
        "description": "'This query searches for events found on code sharing platforms.'\n",
        "displayName": "Flare source code results",
        "enabled": true,
        "entityMappings": null,
        "OriginalUri": "https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Flare/Analytic%20Rules/FlareSourceCode.yaml",
        "query": "FireworkV2_CL\n| where notempty(uid) and RiskScore >= 3\n| extend index_name = split(uid, \"/\")[0]\n| extend category_name = split(uid, \"/\")[1]\n| where index_name == \"driller\" and category_name contains \"github\"\n",
        "queryFrequency": "PT1H",
        "queryPeriod": "PT1H",
        "severity": "Medium",
        "status": "Available",
        "subTechniques": [],
        "suppressionDuration": "PT1H",
        "suppressionEnabled": false,
        "tactics": [
          "Reconnaissance"
        ],
        "techniques": [
          "T1593"
        ],
        "templateVersion": "3.0.0",
        "triggerOperator": "GreaterThan",
        "triggerThreshold": 0
      },
      "type": "Microsoft.OperationalInsights/workspaces/providers/alertRules"
    }
  ]
}