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