DET-004 · human · confidence Medium
App API Read Volume Spikes
Spot third-party apps or service principals reading far more mail or files than usual.
After consent, data theft through an app shows up as API traffic, not sign-ins. Microsoft Graph activity logs, the Google Drive audit log and SaaS API logs record each call with the client or app ID. Baselining read volume per app per user, and alerting on large jumps, catches personal apps, shadow agents and over-fetching assistants. It works even when the traffic comes from a cloud IP that endpoint tools never see.
- Data sources
- Microsoft Graph activity logsGoogle Drive audit logSaaS API logs
- Platforms
- Microsoft 365Google WorkspaceSaaS
Logic
MicrosoftGraphActivityLogs
| where TimeGenerated > ago(1d)
| where RequestMethod == "GET" and RequestUri has_any ("/messages", "/drive/", "/sites/")
| summarize Calls = count(), Users = dcount(UserId) by AppId, bin(TimeGenerated, 1h)
| join kind=leftouter (MicrosoftGraphActivityLogs | where TimeGenerated between (ago(30d) .. ago(1d)) | summarize Baseline = count() / 720.0 by AppId) on AppId
| where Calls > 20 * coalesce(Baseline, 1.0) and Calls > 500False positives
Backup and eDiscovery tools during initial sync, and migrations between tenants.