scope-drift-detection-user

Detect scope drift in Entra ID user accounts using 90-day behavioral baselines.

2|Updated Mar 4, 2026
One-click install
npx skills add https://github.com/msandbu/sentinelday --skill scope-drift-detection-user
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: scope-drift-detection-user
Source: https://github.com/msandbu/sentinelday/tree/main/.github/skills/scope-drift-detection/user
Command: npx skills add https://github.com/msandbu/sentinelday --skill scope-drift-detection-user

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill detects "scope drift" – the gradual, often imperceptible expansion of access or behavior beyond an established baseline – in Entra ID user accounts, which can evade traditional threshold-based detections.

Core Features & Use Cases

  • Behavioral Baseline: Establishes a 90-day baseline for user sign-ins (interactive and non-interactive).
  • Drift Scoring: Computes weighted drift scores across multiple dimensions (applications, IPs, locations, etc.).
  • Corroboration: Correlates drift signals with audit logs, security alerts, identity protection events, cloud app activity, and email patterns.
  • Use Case: Identify if a user account, over time, has started accessing new applications, originating from new locations, or using new devices, indicating potential privilege creep or a compromised account exhibiting subtle anomalous behavior.

Quick Start

Use the scope-drift-detection-user skill to analyze user account scope drift for '[email protected]'.

Frequently Asked Questions about scope-drift-detection-user

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I detect access creep in Entra ID user accounts?

Detect scope drift in Entra ID by establishing a 90-day behavioral baseline of interactive and non-interactive sign-ins, then scoring recent activity against it. It analyzes distinct applications, source IPs, geographic locations, and device usage to identify access creep.

What is scope drift in identity security?

Scope drift in identity security is the gradual, often imperceptible expansion of user access or behavior beyond an established baseline. It can evade traditional threshold-based detections and indicate potential privilege creep or a compromised account.

How do I analyze user behavior anomalies using sign-in logs?

Analyze user behavior anomalies by computing weighted drift scores across dimensions like distinct applications, source IPs, geographic locations, and device usage. The process correlates these findings with audit logs, security alerts, and Identity Protection events.

Can I monitor non-interactive sign-ins for security monitoring?

Yes, you can monitor non-interactive sign-ins for security monitoring. The Skill includes both interactive and non-interactive sign-ins when building a 90-day behavioral baseline to ensure comprehensive coverage of user account activity.

Does scope drift detection work with CloudAppEvents and EmailEvents?

Yes, scope drift detection correlates drift signals with CloudAppEvents and EmailEvents. It also cross-references audit logs, security alerts, and Identity Protection events to corroborate findings and identify subtle anomalous behavior.

What are the limitations of threshold-based detections for user behavior?

Threshold-based detections for user behavior often miss gradual access creep because changes remain below static alert thresholds. Scope drift detection addresses this limitation by building a dynamic 90-day behavioral baseline to identify subtle, incremental privilege expansion.