JiraAudit
| where EventMessage =~ 'User removed from project'
| extend user = todynamic(AssociatedItems)[0]['name']
| project EventCreationTime, ObjectItemName, user
| extend AccountCustomEntity = user
entityMappings:
- entityType: Account
fieldMappings:
- identifier: Name
columnName: AccountCustomEntity
queryFrequency: 1h
name: Jira - User removed from project
kind: Scheduled
tactics:
- Impact
triggerThreshold: 0
query: |
JiraAudit
| where EventMessage =~ 'User removed from project'
| extend user = todynamic(AssociatedItems)[0]['name']
| project EventCreationTime, ObjectItemName, user
| extend AccountCustomEntity = user
relevantTechniques:
- T1531
triggerOperator: gt
queryPeriod: 1h
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/AtlassianJiraAudit/Analytic Rules/JiraUserRemovedFromProject.yaml
severity: Medium
status: Available
id: 5d3af0aa-833e-48ed-a29a-8cfd2705c953
requiredDataConnectors:
- connectorId: JiraAuditAPI
dataTypes:
- JiraAudit
version: 1.0.0
description: |
'Detects when a user was removed from project.'
{
"$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/5d3af0aa-833e-48ed-a29a-8cfd2705c953')]",
"kind": "Scheduled",
"name": "[concat(parameters('workspace'),'/Microsoft.SecurityInsights/5d3af0aa-833e-48ed-a29a-8cfd2705c953')]",
"properties": {
"alertRuleTemplateName": "5d3af0aa-833e-48ed-a29a-8cfd2705c953",
"customDetails": null,
"description": "'Detects when a user was removed from project.'\n",
"displayName": "Jira - User removed from project",
"enabled": true,
"entityMappings": [
{
"entityType": "Account",
"fieldMappings": [
{
"columnName": "AccountCustomEntity",
"identifier": "Name"
}
]
}
],
"OriginalUri": "https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/AtlassianJiraAudit/Analytic Rules/JiraUserRemovedFromProject.yaml",
"query": "JiraAudit\n| where EventMessage =~ 'User removed from project'\n| extend user = todynamic(AssociatedItems)[0]['name']\n| project EventCreationTime, ObjectItemName, user\n| extend AccountCustomEntity = user\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"
}
]
}