JiraAudit
| where EventMessage =~ 'User created'
| where ObjectItemTypeName =~ 'USER'
| project EventCreationTime, UserName, SrcIpAddr, ObjectItemName, AssociatedItems
| extend AccountCustomEntity = ObjectItemName
relevantTechniques:
- T1078
name: Jira - New user created
requiredDataConnectors:
- dataTypes:
- JiraAudit
connectorId: JiraAuditAPI
entityMappings:
- fieldMappings:
- identifier: Name
columnName: AccountCustomEntity
entityType: Account
triggerThreshold: 0
id: 8c90f30f-c612-407c-91a0-c6a6b41ac199
tactics:
- Persistence
version: 1.0.0
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/AtlassianJiraAudit/Analytic Rules/JiraNewUser.yaml
queryPeriod: 1h
kind: Scheduled
queryFrequency: 1h
severity: Medium
status: Available
description: |
'Detects when new user was created.'
query: |
JiraAudit
| where EventMessage =~ 'User created'
| where ObjectItemTypeName =~ 'USER'
| project EventCreationTime, UserName, SrcIpAddr, ObjectItemName, AssociatedItems
| extend AccountCustomEntity = ObjectItemName
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/8c90f30f-c612-407c-91a0-c6a6b41ac199')]",
"kind": "Scheduled",
"name": "[concat(parameters('workspace'),'/Microsoft.SecurityInsights/8c90f30f-c612-407c-91a0-c6a6b41ac199')]",
"properties": {
"alertRuleTemplateName": "8c90f30f-c612-407c-91a0-c6a6b41ac199",
"customDetails": null,
"description": "'Detects when new user was created.'\n",
"displayName": "Jira - New user created",
"enabled": true,
"entityMappings": [
{
"entityType": "Account",
"fieldMappings": [
{
"columnName": "AccountCustomEntity",
"identifier": "Name"
}
]
}
],
"OriginalUri": "https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/AtlassianJiraAudit/Analytic Rules/JiraNewUser.yaml",
"query": "JiraAudit\n| where EventMessage =~ 'User created'\n| where ObjectItemTypeName =~ 'USER'\n| project EventCreationTime, UserName, SrcIpAddr, ObjectItemName, AssociatedItems\n| extend AccountCustomEntity = ObjectItemName\n",
"queryFrequency": "PT1H",
"queryPeriod": "PT1H",
"severity": "Medium",
"status": "Available",
"subTechniques": [],
"suppressionDuration": "PT1H",
"suppressionEnabled": false,
"tactics": [
"Persistence"
],
"techniques": [
"T1078"
],
"templateVersion": "1.0.0",
"triggerOperator": "GreaterThan",
"triggerThreshold": 0
},
"type": "Microsoft.OperationalInsights/workspaces/providers/alertRules"
}
]
}