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

Palo Alto Prisma Cloud - Inactive user

Back
Id7f78fa52-9833-41de-b5c5-76e61b8af9c1
RulenamePalo Alto Prisma Cloud - Inactive user
DescriptionDetects users inactive for 30 days.
SeverityLow
TacticsInitialAccess
TechniquesT1078
Required data connectorsPaloAltoPrismaCloud
KindScheduled
Query frequency1d
Query period1d
Trigger threshold0
Trigger operatorgt
Source Urihttps://github.com/Azure/Azure-Sentinel/blob/master/Solutions/PaloAltoPrismaCloud/Analytic Rules/PaloAltoPrismaCloudInactiveUser.yaml
Version1.0.1
Arm template7f78fa52-9833-41de-b5c5-76e61b8af9c1.json
Deploy To Azure
PaloAltoPrismaCloud
| where Status =~ 'open'
| where AlertMessage has 'Inactive users for more than 30 days'
| extend AccountCustomEntity = ResourceId
queryFrequency: 1d
tactics:
- InitialAccess
queryPeriod: 1d
kind: Scheduled
relevantTechniques:
- T1078
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/PaloAltoPrismaCloud/Analytic Rules/PaloAltoPrismaCloudInactiveUser.yaml
description: |
    'Detects users inactive for 30 days.'
requiredDataConnectors:
- dataTypes:
  - PaloAltoPrismaCloud
  connectorId: PaloAltoPrismaCloud
version: 1.0.1
triggerThreshold: 0
severity: Low
triggerOperator: gt
id: 7f78fa52-9833-41de-b5c5-76e61b8af9c1
entityMappings:
- entityType: Account
  fieldMappings:
  - columnName: AccountCustomEntity
    identifier: Name
status: Available
name: Palo Alto Prisma Cloud - Inactive user
query: |
  PaloAltoPrismaCloud
  | where Status =~ 'open'
  | where AlertMessage has 'Inactive users for more than 30 days'
  | extend AccountCustomEntity = ResourceId  
{
  "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
  "contentVersion": "1.0.0.0",
  "parameters": {
    "workspace": {
      "type": "String"
    }
  },
  "resources": [
    {
      "apiVersion": "2023-02-01-preview",
      "id": "[concat(resourceId('Microsoft.OperationalInsights/workspaces/providers', parameters('workspace'), 'Microsoft.SecurityInsights'),'/alertRules/7f78fa52-9833-41de-b5c5-76e61b8af9c1')]",
      "kind": "Scheduled",
      "name": "[concat(parameters('workspace'),'/Microsoft.SecurityInsights/7f78fa52-9833-41de-b5c5-76e61b8af9c1')]",
      "properties": {
        "alertRuleTemplateName": "7f78fa52-9833-41de-b5c5-76e61b8af9c1",
        "customDetails": null,
        "description": "'Detects users inactive for 30 days.'\n",
        "displayName": "Palo Alto Prisma Cloud - Inactive user",
        "enabled": true,
        "entityMappings": [
          {
            "entityType": "Account",
            "fieldMappings": [
              {
                "columnName": "AccountCustomEntity",
                "identifier": "Name"
              }
            ]
          }
        ],
        "OriginalUri": "https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/PaloAltoPrismaCloud/Analytic Rules/PaloAltoPrismaCloudInactiveUser.yaml",
        "query": "PaloAltoPrismaCloud\n| where Status =~ 'open'\n| where AlertMessage has 'Inactive users for more than 30 days'\n| extend AccountCustomEntity = ResourceId\n",
        "queryFrequency": "P1D",
        "queryPeriod": "P1D",
        "severity": "Low",
        "status": "Available",
        "suppressionDuration": "PT1H",
        "suppressionEnabled": false,
        "tactics": [
          "InitialAccess"
        ],
        "techniques": [
          "T1078"
        ],
        "templateVersion": "1.0.1",
        "triggerOperator": "GreaterThan",
        "triggerThreshold": 0
      },
      "type": "Microsoft.OperationalInsights/workspaces/providers/alertRules"
    }
  ]
}