let threshold = 10000;
Snowflake
| where QueryTotalElapsedTime > threshold
| extend AccountCustomEntity = TargetUsername
status: Available
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
requiredDataConnectors:
- dataTypes:
- Snowflake
connectorId: Snowflake
tactics:
- Impact
name: Snowflake - Abnormal query process time
relevantTechniques:
- T1499
severity: Medium
entityMappings:
- fieldMappings:
- identifier: Name
columnName: AccountCustomEntity
entityType: Account
kind: Scheduled
queryFrequency: 1h
description: |
'Detects query with abnormal proccess time.'
triggerThreshold: 0
triggerOperator: gt
version: 1.0.1
queryPeriod: 1h
id: 1376f5e5-855a-4f88-8591-19eba4575a0f