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