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