Detection rules › Kusto

Jira - Workflow scheme copied

Status
available
Severity
medium
Time window
1h
Source
github.com/Azure/Azure-Sentinel

'Detects when workflow scheme was copied.'

MITRE ATT&CK coverage

Rule body kusto

id: 398aa0ca-45a2-4f79-bc21-ee583bbb63bc
name: Jira - Workflow scheme copied
description: |
  'Detects when workflow scheme was copied.'
severity: Medium
status: Available
requiredDataConnectors:
  - connectorId: JiraAuditAPI
    dataTypes:
      - JiraAudit
queryFrequency: 1h
queryPeriod: 1h
triggerOperator: gt
triggerThreshold: 0
tactics:
  - Collection
relevantTechniques:
  - T1213
query: |
  JiraAudit
  | where EventMessage =~ 'Workflow scheme copied'
  | extend workflow = todynamic(AssociatedItems)[0]['name']
  | project EventCreationTime, ObjectItemName, UserName, SrcIpAddr, workflow
  | extend AccountCustomEntity = UserName, IPCustomEntity = SrcIpAddr
entityMappings:
  - entityType: Account
    fieldMappings:
      - identifier: Name
        columnName: AccountCustomEntity
  - entityType: IP
    fieldMappings:
      - identifier: Address
        columnName: IPCustomEntity
version: 1.0.0
kind: Scheduled

Stages and Predicates

Stage 1: source

JiraAudit

Stage 2: where

| where EventMessage =~ 'Workflow scheme copied'

Stage 3: extend

| extend workflow = todynamic(AssociatedItems)[0]['name']

Stage 4: project

| project EventCreationTime, ObjectItemName, UserName, SrcIpAddr, workflow

Stage 5: extend

| extend AccountCustomEntity = UserName, IPCustomEntity = SrcIpAddr

Indicators

Each row is a field, operator, and value that the rule matches. The corpus column counts how many other rules in the catalog look for the same combination: high numbers point to widely-used, community-vetted indicators. Blank or 1 shows that the indicator is specific to this rule.

FieldKindValues
EventMessageeq
  • Workflow scheme copied

Output fields

Fields the rule emits when it matches. Chronicle authors list these in the outcome block; they appear on the detection and $risk_score drives alerting. Sentinel / Defender XDR rules build them up through project / summarize / extend stages. Sentinel maps these into alert fields via entityMappings and customDetails; Defender XDR custom detections surface them as alert fields directly.

FieldSource
EventCreationTimeproject
ObjectItemNameproject
SrcIpAddrproject
UserNameproject
workflowproject
AccountCustomEntityextend
IPCustomEntityextend