JiraAudit
| where EventMessage =~ 'Project roles changed'
| project EventCreationTime, ObjectItemName, UserName, SrcIpAddr, AssociatedItems
| extend AccountCustomEntity = UserName, IPCustomEntity = SrcIpAddr
name: Jira - Project roles changed
version: 1.0.0
severity: Medium
queryFrequency: 1h
triggerOperator: gt
relevantTechniques:
- T1531
status: Available
description: |
'Detects when project roles were changed.'
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/AtlassianJiraAudit/Analytic Rules/JiraProjectRolesChanged.yaml
requiredDataConnectors:
- connectorId: JiraAuditAPI
dataTypes:
- JiraAudit
entityMappings:
- fieldMappings:
- identifier: Name
columnName: AccountCustomEntity
entityType: Account
- fieldMappings:
- identifier: Address
columnName: IPCustomEntity
entityType: IP
tactics:
- Impact
queryPeriod: 1h
query: |
JiraAudit
| where EventMessage =~ 'Project roles changed'
| project EventCreationTime, ObjectItemName, UserName, SrcIpAddr, AssociatedItems
| extend AccountCustomEntity = UserName, IPCustomEntity = SrcIpAddr
kind: Scheduled
triggerThreshold: 0
id: fb6a8001-fe87-4177-a8f3-df2302215c4f
{
"$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"
}
]
}