JiraAudit
| where EventMessage =~ 'Workflow scheme copied'
| extend workflow = todynamic(AssociatedItems)[0]['name']
| project EventCreationTime, ObjectItemName, UserName, SrcIpAddr, workflow
| extend AccountCustomEntity = UserName, IPCustomEntity = SrcIpAddr
queryPeriod: 1h
version: 1.0.0
relevantTechniques:
- T1213
queryFrequency: 1h
kind: Scheduled
name: Jira - Workflow scheme copied
id: 398aa0ca-45a2-4f79-bc21-ee583bbb63bc
entityMappings:
- fieldMappings:
- columnName: AccountCustomEntity
identifier: Name
entityType: Account
- fieldMappings:
- columnName: IPCustomEntity
identifier: Address
entityType: IP
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/AtlassianJiraAudit/Analytic Rules/JiraWorkflowSchemeCopied.yaml
severity: Medium
query: |
JiraAudit
| where EventMessage =~ 'Workflow scheme copied'
| extend workflow = todynamic(AssociatedItems)[0]['name']
| project EventCreationTime, ObjectItemName, UserName, SrcIpAddr, workflow
| extend AccountCustomEntity = UserName, IPCustomEntity = SrcIpAddr
tactics:
- Collection
description: |
'Detects when workflow scheme was copied.'
requiredDataConnectors:
- connectorId: JiraAuditAPI
dataTypes:
- JiraAudit
status: Available
triggerThreshold: 0
triggerOperator: gt
{
"$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/398aa0ca-45a2-4f79-bc21-ee583bbb63bc')]",
"name": "[concat(parameters('workspace'),'/Microsoft.SecurityInsights/398aa0ca-45a2-4f79-bc21-ee583bbb63bc')]",
"type": "Microsoft.OperationalInsights/workspaces/providers/alertRules",
"kind": "Scheduled",
"apiVersion": "2022-11-01",
"properties": {
"displayName": "Jira - Workflow scheme copied",
"description": "'Detects when workflow scheme was copied.'\n",
"severity": "Medium",
"enabled": true,
"query": "JiraAudit\n| where EventMessage =~ 'Workflow scheme copied'\n| extend workflow = todynamic(AssociatedItems)[0]['name']\n| project EventCreationTime, ObjectItemName, UserName, SrcIpAddr, workflow\n| extend AccountCustomEntity = UserName, IPCustomEntity = SrcIpAddr\n",
"queryFrequency": "PT1H",
"queryPeriod": "PT1H",
"triggerOperator": "GreaterThan",
"triggerThreshold": 0,
"suppressionDuration": "PT1H",
"suppressionEnabled": false,
"tactics": [
"Collection"
],
"techniques": [
"T1213"
],
"alertRuleTemplateName": "398aa0ca-45a2-4f79-bc21-ee583bbb63bc",
"customDetails": null,
"entityMappings": [
{
"fieldMappings": [
{
"identifier": "Name",
"columnName": "AccountCustomEntity"
}
],
"entityType": "Account"
},
{
"fieldMappings": [
{
"identifier": "Address",
"columnName": "IPCustomEntity"
}
],
"entityType": "IP"
}
],
"OriginalUri": "https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/AtlassianJiraAudit/Analytic Rules/JiraWorkflowSchemeCopied.yaml",
"status": "Available",
"templateVersion": "1.0.0"
}
}
]
}