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