scope-drift-detection-spn

Community

Detect SPN scope creep and access expansion.

Authormsandbu
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill detects subtle, gradual expansions of access or behavior in Entra ID service principals that can evade traditional alerts, helping to identify potential misuse or credential compromise before it escalates.

Core Features & Use Cases

  • Behavioral Baseline: Establishes a 90-day baseline of SPN activity (sign-ins, resources accessed, locations, etc.).
  • Drift Scoring: Compares recent activity to the baseline across multiple dimensions, calculating a weighted Drift Score.
  • Corroboration: Correlates drift signals with Audit Logs (permission changes) and Security Alerts for comprehensive investigation.
  • Use Case: An automation account used for backups suddenly starts accessing financial reporting APIs. This skill would flag the SPN due to a significant increase in accessed resources and potentially new IP addresses, prompting an investigation.

Quick Start

Use the scope-drift-detection-spn skill to investigate potential scope drift for the service principal named 'backup-automation-spn'.

Dependency Matrix

Required Modules

None required

Components

scriptsreferences

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: scope-drift-detection-spn
Download link: https://github.com/msandbu/sentinelday/archive/main.zip#scope-drift-detection-spn

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.