let threshold = 10000;
Snowflake
| where QueryTotalElapsedTime > threshold
| extend AccountCustomEntity = TargetUsername
tactics:
- Impact
severity: Medium
entityMappings:
- fieldMappings:
- columnName: AccountCustomEntity
identifier: Name
entityType: Account
description: |
'Detects query with abnormal proccess time.'
version: 1.0.1
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Snowflake/Analytic Rules/SnowflakeLongQueryProcessTime.yaml
requiredDataConnectors:
- dataTypes:
- Snowflake
connectorId: Snowflake
name: Snowflake - Abnormal query process time
query: |
let threshold = 10000;
Snowflake
| where QueryTotalElapsedTime > threshold
| extend AccountCustomEntity = TargetUsername
id: 1376f5e5-855a-4f88-8591-19eba4575a0f
relevantTechniques:
- T1499
queryFrequency: 1h
queryPeriod: 1h
triggerThreshold: 0
status: Available
kind: Scheduled
triggerOperator: gt