Snowflake
| where QueryType =~ 'SELECT'
| where QueryExecutionStatus =~ 'SUCCESS'
| where QueryText startswith @'SELECT *'
| extend AccountCustomEntity = TargetUsername
description: |
'Detects unusual query.'
kind: Scheduled
tactics:
- Collection
requiredDataConnectors:
- connectorId: Snowflake
dataTypes:
- Snowflake
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Snowflake/Analytic Rules/SnowflakeUnusualQuery.yaml
severity: Medium
name: Snowflake - Unusual query
triggerThreshold: 0
queryPeriod: 1h
query: |
Snowflake
| where QueryType =~ 'SELECT'
| where QueryExecutionStatus =~ 'SUCCESS'
| where QueryText startswith @'SELECT *'
| extend AccountCustomEntity = TargetUsername
relevantTechniques:
- T1119
id: 1dd1d9e5-3ebf-43cb-be07-6082d5eabe79
queryFrequency: 1h
status: Available
triggerOperator: gt
version: 1.0.1
entityMappings:
- entityType: Account
fieldMappings:
- columnName: AccountCustomEntity
identifier: Name