declare query_parameters(lbperiod:timespan = 14d, createdTime:string = "2020-08-19T20:34:38.676Z");
SailPointIDN_Events_CL
| where TimeGenerated > ago(lbperiod)
| where status_s == "FAILED"
| where created_t >= created_t
| sort by created_t
relevantTechniques:
- T1133
name: SailPointIdentityNowFailedEventsBasedOnTime
requiredDataConnectors:
- dataTypes:
- SailPointIDN_Events_CL
connectorId: SailPointIdentityNow
entityMappings:
- fieldMappings:
- identifier: Name
columnName: technicalName_s
entityType: Account
triggerThreshold: 0
id: 175b79ef-0fc3-4b27-b92a-89b2db6c85c2
tactics:
- InitialAccess
version: 1.0.0
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/SailPointIdentityNow/Analytic Rules/SailPointIdentityNowFailedEventsBasedOnTime.yaml
queryPeriod: 14d
kind: Scheduled
queryFrequency: 1d
severity: High
status: Available
description: |
'Detects failed events based on created time.'
query: |
declare query_parameters(lbperiod:timespan = 14d, createdTime:string = "2020-08-19T20:34:38.676Z");
SailPointIDN_Events_CL
| where TimeGenerated > ago(lbperiod)
| where status_s == "FAILED"
| where created_t >= created_t
| 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/175b79ef-0fc3-4b27-b92a-89b2db6c85c2')]",
"kind": "Scheduled",
"name": "[concat(parameters('workspace'),'/Microsoft.SecurityInsights/175b79ef-0fc3-4b27-b92a-89b2db6c85c2')]",
"properties": {
"alertRuleTemplateName": "175b79ef-0fc3-4b27-b92a-89b2db6c85c2",
"customDetails": null,
"description": "'Detects failed events based on created time.'\n",
"displayName": "SailPointIdentityNowFailedEventsBasedOnTime",
"enabled": true,
"entityMappings": [
{
"entityType": "Account",
"fieldMappings": [
{
"columnName": "technicalName_s",
"identifier": "Name"
}
]
}
],
"OriginalUri": "https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/SailPointIdentityNow/Analytic Rules/SailPointIdentityNowFailedEventsBasedOnTime.yaml",
"query": "declare query_parameters(lbperiod:timespan = 14d, createdTime:string = \"2020-08-19T20:34:38.676Z\");\n SailPointIDN_Events_CL\n | where TimeGenerated > ago(lbperiod)\n | where status_s == \"FAILED\"\n | where created_t >= created_t\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"
}
]
}