JiraAudit
| where EventMessage =~ 'Project roles changed'
| project EventCreationTime, ObjectItemName, UserName, SrcIpAddr, AssociatedItems
| extend AccountCustomEntity = UserName, IPCustomEntity = SrcIpAddr
relevantTechniques:
- T1531
name: Jira - Project roles changed
requiredDataConnectors:
- dataTypes:
- JiraAudit
connectorId: JiraAuditAPI
entityMappings:
- fieldMappings:
- identifier: Name
columnName: AccountCustomEntity
entityType: Account
- fieldMappings:
- identifier: Address
columnName: IPCustomEntity
entityType: IP
triggerThreshold: 0
id: fb6a8001-fe87-4177-a8f3-df2302215c4f
tactics:
- Impact
version: 1.0.0
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/AtlassianJiraAudit/Analytic Rules/JiraProjectRolesChanged.yaml
queryPeriod: 1h
kind: Scheduled
queryFrequency: 1h
severity: Medium
status: Available
description: |
'Detects when project roles were changed.'
query: |
JiraAudit
| where EventMessage =~ 'Project roles changed'
| project EventCreationTime, ObjectItemName, UserName, SrcIpAddr, AssociatedItems
| 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/fb6a8001-fe87-4177-a8f3-df2302215c4f')]",
"kind": "Scheduled",
"name": "[concat(parameters('workspace'),'/Microsoft.SecurityInsights/fb6a8001-fe87-4177-a8f3-df2302215c4f')]",
"properties": {
"alertRuleTemplateName": "fb6a8001-fe87-4177-a8f3-df2302215c4f",
"customDetails": null,
"description": "'Detects when project roles were changed.'\n",
"displayName": "Jira - Project roles changed",
"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/JiraProjectRolesChanged.yaml",
"query": "JiraAudit\n| where EventMessage =~ 'Project roles changed'\n| project EventCreationTime, ObjectItemName, UserName, SrcIpAddr, AssociatedItems\n| extend AccountCustomEntity = UserName, IPCustomEntity = SrcIpAddr\n",
"queryFrequency": "PT1H",
"queryPeriod": "PT1H",
"severity": "Medium",
"status": "Available",
"subTechniques": [],
"suppressionDuration": "PT1H",
"suppressionEnabled": false,
"tactics": [
"Impact"
],
"techniques": [
"T1531"
],
"templateVersion": "1.0.0",
"triggerOperator": "GreaterThan",
"triggerThreshold": 0
},
"type": "Microsoft.OperationalInsights/workspaces/providers/alertRules"
}
]
}