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