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