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