Firework_CL
| where source_s in ("gist_github","Pastebin","driller_stackexchange") and (risk_score_d == "3" or risk_score_d == "4" or risk_score_d == "5")
triggerThreshold: 0
queryFrequency: 1h
relevantTechniques:
- T1593
tactics:
- Reconnaissance
id: 9cb7c337-f177-4af6-b0e8-b6b7552d762d
kind: Scheduled
triggerOperator: gt
severity: Medium
version: 1.0.1
requiredDataConnectors:
- connectorId: Flare
dataTypes:
- Firework_CL
query: |
Firework_CL
| where source_s in ("gist_github","Pastebin","driller_stackexchange") and (risk_score_d == "3" or risk_score_d == "4" or risk_score_d == "5")
queryPeriod: 1h
name: Flare Paste result
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Flare/Analytic Rules/FlarePaste.yaml
status: Available
description: |
'Result found on code Snippet (paste) sharing platform'
{
"$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/9cb7c337-f177-4af6-b0e8-b6b7552d762d')]",
"name": "[concat(parameters('workspace'),'/Microsoft.SecurityInsights/9cb7c337-f177-4af6-b0e8-b6b7552d762d')]",
"type": "Microsoft.OperationalInsights/workspaces/providers/alertRules",
"kind": "Scheduled",
"apiVersion": "2022-11-01",
"properties": {
"displayName": "Flare Paste result",
"description": "'Result found on code Snippet (paste) sharing platform'\n",
"severity": "Medium",
"enabled": true,
"query": "Firework_CL\n| where source_s in (\"gist_github\",\"Pastebin\",\"driller_stackexchange\") and (risk_score_d == \"3\" or risk_score_d == \"4\" or risk_score_d == \"5\")\n",
"queryFrequency": "PT1H",
"queryPeriod": "PT1H",
"triggerOperator": "GreaterThan",
"triggerThreshold": 0,
"suppressionDuration": "PT1H",
"suppressionEnabled": false,
"tactics": [
"Reconnaissance"
],
"techniques": [
"T1593"
],
"alertRuleTemplateName": "9cb7c337-f177-4af6-b0e8-b6b7552d762d",
"customDetails": null,
"entityMappings": null,
"templateVersion": "1.0.1",
"OriginalUri": "https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Flare/Analytic Rules/FlarePaste.yaml",
"status": "Available"
}
}
]
}