declare query_parameters(lbperiod:timespan = 14d, type:string = "ACCESS_ITEM");
SailPointIDN_Events_CL
| where TimeGenerated > ago(lbperiod)
| where type_s == type
| where status_s == "FAILED"
| sort by created_t
relevantTechniques:
- T1133
name: SailPointIdentityNowEventType
requiredDataConnectors:
- dataTypes:
- SailPointIDN_Events_CL
connectorId: SailPointIdentityNow
entityMappings:
- fieldMappings:
- identifier: Name
columnName: technicalName_s
entityType: Account
triggerThreshold: 0
id: 48bb92e2-bad4-4fd4-9684-26cb188299b7
tactics:
- InitialAccess
version: 1.0.0
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/SailPointIdentityNow/Analytic Rules/SailPointIdentityNowEventType.yaml
queryPeriod: 14d
kind: Scheduled
queryFrequency: 1d
severity: High
status: Available
description: |
'Created to detect failed events of particular type from SailPointIDN_Events.'
query: |
declare query_parameters(lbperiod:timespan = 14d, type:string = "ACCESS_ITEM");
SailPointIDN_Events_CL
| where TimeGenerated > ago(lbperiod)
| where type_s == type
| where status_s == "FAILED"
| sort by created_t
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/48bb92e2-bad4-4fd4-9684-26cb188299b7')]",
"kind": "Scheduled",
"name": "[concat(parameters('workspace'),'/Microsoft.SecurityInsights/48bb92e2-bad4-4fd4-9684-26cb188299b7')]",
"properties": {
"alertRuleTemplateName": "48bb92e2-bad4-4fd4-9684-26cb188299b7",
"customDetails": null,
"description": "'Created to detect failed events of particular type from SailPointIDN_Events.'\n",
"displayName": "SailPointIdentityNowEventType",
"enabled": true,
"entityMappings": [
{
"entityType": "Account",
"fieldMappings": [
{
"columnName": "technicalName_s",
"identifier": "Name"
}
]
}
],
"OriginalUri": "https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/SailPointIdentityNow/Analytic Rules/SailPointIdentityNowEventType.yaml",
"query": "declare query_parameters(lbperiod:timespan = 14d, type:string = \"ACCESS_ITEM\");\nSailPointIDN_Events_CL\n| where TimeGenerated > ago(lbperiod)\n| where type_s == type\n| where status_s == \"FAILED\"\n| sort by created_t\n",
"queryFrequency": "P1D",
"queryPeriod": "P14D",
"severity": "High",
"status": "Available",
"subTechniques": [],
"suppressionDuration": "PT1H",
"suppressionEnabled": false,
"tactics": [
"InitialAccess"
],
"techniques": [
"T1133"
],
"templateVersion": "1.0.0",
"triggerOperator": "GreaterThan",
"triggerThreshold": 0
},
"type": "Microsoft.OperationalInsights/workspaces/providers/alertRules"
}
]
}