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
kind: Scheduled
relevantTechniques:
- T1133
description: |
'Detects failed events based on created time.'
queryPeriod: 14d
queryFrequency: 1d
tactics:
- InitialAccess
name: SailPointIdentityNowFailedEventsBasedOnTime
requiredDataConnectors:
- connectorId: SailPointIdentityNow
dataTypes:
- SailPointIDN_Events_CL
entityMappings:
- entityType: Account
fieldMappings:
- identifier: Name
columnName: technicalName_s
triggerThreshold: 0
version: 1.0.0
id: 175b79ef-0fc3-4b27-b92a-89b2db6c85c2
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
status: Available
triggerOperator: gt
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/SailPointIdentityNow/Analytic Rules/SailPointIdentityNowFailedEventsBasedOnTime.yaml
severity: High
{
"$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"
}
]
}