Microsoft Sentinel Analytic Rules
cloudbrothers.infoAzure Sentinel RepoToggle Dark/Light/Auto modeToggle Dark/Light/Auto modeToggle Dark/Light/Auto modeBack to homepage

Jira - User removed from project

Back
Id5d3af0aa-833e-48ed-a29a-8cfd2705c953
RulenameJira - User removed from project
DescriptionDetects when a user was removed from project.
SeverityMedium
TacticsImpact
TechniquesT1531
Required data connectorsJiraAuditAPI
KindScheduled
Query frequency1h
Query period1h
Trigger threshold0
Trigger operatorgt
Source Urihttps://github.com/Azure/Azure-Sentinel/blob/master/Solutions/AtlassianJiraAudit/Analytic Rules/JiraUserRemovedFromProject.yaml
Version1.0.0
Arm template5d3af0aa-833e-48ed-a29a-8cfd2705c953.json
Deploy To Azure
JiraAudit
| where EventMessage =~ 'User removed from project'
| extend user = todynamic(AssociatedItems)[0]['name']
| project EventCreationTime, ObjectItemName, user
| extend AccountCustomEntity = user
relevantTechniques:
- T1531
name: Jira - User removed from project
requiredDataConnectors:
- dataTypes:
  - JiraAudit
  connectorId: JiraAuditAPI
entityMappings:
- fieldMappings:
  - identifier: Name
    columnName: AccountCustomEntity
  entityType: Account
triggerThreshold: 0
id: 5d3af0aa-833e-48ed-a29a-8cfd2705c953
tactics:
- Impact
version: 1.0.0
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/AtlassianJiraAudit/Analytic Rules/JiraUserRemovedFromProject.yaml
queryPeriod: 1h
kind: Scheduled
queryFrequency: 1h
severity: Medium
status: Available
description: |
    'Detects when a user was removed from project.'
query: |
  JiraAudit
  | where EventMessage =~ 'User removed from project'
  | extend user = todynamic(AssociatedItems)[0]['name']
  | project EventCreationTime, ObjectItemName, user
  | extend AccountCustomEntity = user  
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/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"
    }
  ]
}