mirror of
https://github.com/mukul975/Anthropic-Cybersecurity-Skills.git
synced 2026-07-20 06:20:58 +03:00
2.0 KiB
2.0 KiB
name, description, domain, subdomain, tags, version, author, license
| name | description | domain | subdomain | tags | version | author | license | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| implementing-privileged-identity-management-with-azure | Configure Azure AD Privileged Identity Management (PIM) using Microsoft Graph API to manage eligible role assignments, just-in-time activation, access reviews, and role management policies for zero-trust privileged access. | cybersecurity | identity-access-management |
|
1.0 | mahipal | MIT |
Implementing Privileged Identity Management with Azure
Overview
Azure AD Privileged Identity Management (PIM) enforces just-in-time privileged access by converting permanent role assignments to eligible assignments that require activation. This skill uses the Microsoft Graph API to enumerate active and eligible role assignments, create eligibility schedule requests, configure role management policies (MFA requirements, approval workflows, maximum activation duration), audit PIM activation logs, and identify over-privileged permanent assignments that should be converted to eligible.
Prerequisites
- Python 3.9+ with
msal,requests - Azure AD application registration with
RoleManagement.ReadWrite.Directory,RoleEligibilitySchedule.ReadWrite.Directorypermissions - Microsoft Entra ID P2 or Microsoft Entra ID Governance license
Key Operations
- List eligible assignments — GET /roleManagement/directory/roleEligibilityScheduleInstances
- Create eligibility requests — POST /roleManagement/directory/roleEligibilityScheduleRequests
- Activate eligible role — POST /roleManagement/directory/roleAssignmentScheduleRequests with action=selfActivate
- Audit role activations — GET /auditLogs/directoryAudits filtered by PIM activities
- Review role policies — GET /policies/roleManagementPolicies to check MFA/approval requirements
Output
JSON audit report with permanent vs. eligible assignment counts, over-privileged accounts, policy compliance status, and recent activation history.