let threshold = 5;
Bitglass
| where EventType =~ 'cloudaudit'
| where Action =~ 'Action DLPScan'
| where EventMessage has_all ('External', 'Shared', 'DLP')
| summarize f_cnt = makeset(SrcFileName) by User, bin(TimeGenerated, 10m)
| where array_length(f_cnt) >= threshold
| extend AccountCustomEntity = User
id: 09690f9b-33d1-4372-a6aa-eb7d3b3cdebc
triggerOperator: gt
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Bitglass/Analytic Rules/BitglassFilesSharedWithExternal.yaml
entityMappings:
- fieldMappings:
- identifier: Name
columnName: AccountCustomEntity
entityType: Account
requiredDataConnectors:
- dataTypes:
- Bitglass
connectorId: Bitglass
queryFrequency: 1h
queryPeriod: 1h
status: Available
query: |
let threshold = 5;
Bitglass
| where EventType =~ 'cloudaudit'
| where Action =~ 'Action DLPScan'
| where EventMessage has_all ('External', 'Shared', 'DLP')
| summarize f_cnt = makeset(SrcFileName) by User, bin(TimeGenerated, 10m)
| where array_length(f_cnt) >= threshold
| extend AccountCustomEntity = User
name: Bitglass - Multiple files shared with external entity
kind: Scheduled
tactics:
- Exfiltration
severity: Medium
relevantTechniques:
- T1567
triggerThreshold: 0
version: 1.0.0
description: |
'Detects when multiple files shared with external entity.'