Detection rules › Kusto

Palo Alto Prisma Cloud - Inactive user

Status
available
Severity
low
Time window
1d
Source
github.com/Azure/Azure-Sentinel

'Detects users inactive for 30 days.'

MITRE ATT&CK coverage

TacticTechniques
Initial Access

Rule body

id: 7f78fa52-9833-41de-b5c5-76e61b8af9c1
name: Palo Alto Prisma Cloud - Inactive user
description: |
  'Detects users inactive for 30 days.'
severity: Low
status: Available
requiredDataConnectors:
  - connectorId: PaloAltoPrismaCloud
    dataTypes:
      - PaloAltoPrismaCloud
queryFrequency: 1d
queryPeriod: 1d
triggerOperator: gt
triggerThreshold: 0
tactics:
  - InitialAccess
relevantTechniques:
  - T1078
query: |
  PaloAltoPrismaCloud
  | where Status =~ 'open'
  | where AlertMessage has 'Inactive users for more than 30 days'
  | extend AccountCustomEntity = ResourceId
entityMappings:
  - entityType: Account
    fieldMappings:
      - identifier: Name
        columnName: AccountCustomEntity
version: 1.0.1
kind: Scheduled

Stages and Predicates

Stage 1: source

PaloAltoPrismaCloud

Stage 2: where

| where Status =~ 'open'

Stage 3: where

| where AlertMessage has 'Inactive users for more than 30 days'

Stage 4: extend

| extend AccountCustomEntity = ResourceId

Indicators

These rows show field, operator, and value matches.

Output fields

These fields are emitted when the rule matches.

FieldSource
AccountCustomEntityextend