JiraAudit
| where EventMessage =~ 'User created'
| where ObjectItemTypeName =~ 'USER'
| project EventCreationTime, UserName, SrcIpAddr, ObjectItemName, AssociatedItems
| extend AccountCustomEntity = ObjectItemName
id: 8c90f30f-c612-407c-91a0-c6a6b41ac199
triggerOperator: gt
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/AtlassianJiraAudit/Analytic Rules/JiraNewUser.yaml
requiredDataConnectors:
- dataTypes:
- JiraAudit
connectorId: JiraAuditAPI
description: |
'Detects when new user was created.'
severity: Medium
queryPeriod: 1h
kind: Scheduled
tactics:
- Persistence
queryFrequency: 1h
query: |
JiraAudit
| where EventMessage =~ 'User created'
| where ObjectItemTypeName =~ 'USER'
| project EventCreationTime, UserName, SrcIpAddr, ObjectItemName, AssociatedItems
| extend AccountCustomEntity = ObjectItemName
version: 1.0.0
triggerThreshold: 0
name: Jira - New user created
entityMappings:
- entityType: Account
fieldMappings:
- columnName: AccountCustomEntity
identifier: Name
status: Available
relevantTechniques:
- T1078
{
"$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"
}
]
}