Performing privileged account access review

From xalgord/xalgorix · View interactive version

Performing privileged account access review is an AI agent skill from the GitHub repository xalgord/xalgorix. Conduct systematic reviews of privileged accounts to validate access rights, identify excessive permissions, and enforce least privilege across PAM infrastructure.

How to use this skill

Skill file

Performing Privileged Account Access Review

Overview

Privileged Account Access Review is a critical identity governance process that validates whether users with elevated permissions still require their access. This review covers domain admins, service accounts, database administrators, cloud IAM roles, and application-level privileged accounts. Regular access reviews are mandated by SOC 2, PCI DSS, HIPAA, and SOX compliance frameworks, typically required quarterly for high-privilege accounts.

When to Use

Coverage Gaps & Validation

Prerequisites

Core Concepts

Privileged Account Categories

| Category | Examples | Risk Level | Review Frequency |

|----------|----------|------------|-----------------|

| Domain Admins | Enterprise Admin, Domain Admin, Schema Admin | Critical | Monthly |

| Service Accounts | SQL service, backup agents, monitoring agents | High | Quarterly |

| Cloud IAM | AWS root, Azure Global Admin, GCP Owner | Critical | Monthly |

| Database Admin | DBA accounts, sa/sys accounts | High | Quarterly |

| Application Admin | App admin roles, API keys with admin scope | Medium | Semi-annually |

| Emergency/Break-glass | Firecall accounts, emergency access | Critical | After each use |

Four-Pillar Review Framework

DISCOVER                    VALIDATE                    REMEDIATE                 MONITOR
    │                           │                           │                       │
    ├─ Enumerate all            ├─ Verify business          ├─ Remove excess        ├─ Continuous
    │  privileged accounts      │  justification            │  privileges           │  monitoring
    │                           │                           │                       │
    ├─ Identify orphaned        ├─ Confirm account          ├─ Disable orphaned     ├─ Anomaly
    │  accounts                 │  ownership                │  accounts             │  detection
    │                           │                           │                       │
    ├─ Map permissions to       ├─ Check compliance         ├─ Enforce password     ├─ Session
    │  business roles           │  with policies            │  rotation             │  recording
    │                           │                           │                       │
    └─ Classify by risk         └─ Review last usage        └─ Implement JIT        └─ Audit
       level                       and activity                access                  logging

Workflow

Step 1: Account Discovery and Inventory

Enumerate all privileged accounts across the environment:

Active Directory:

Cloud Platforms:

Databases:

Step 2: Establish Review Criteria

Each privileged account must be evaluated against:

  1. Business Justification: Does the user's current role require this privilege?
  2. Least Privilege: Can the task be performed with lower privileges?
  3. Account Activity: Has the account been active in the last 90 days?
  4. Compliance Status: Does the account meet password policy, MFA requirements?
  5. Separation of Duties: Does the access create SoD conflicts?
  6. Ownership: Is a responsible owner assigned and active?

Step 3: Conduct the Review

For each account, the designated reviewer must:

  1. Review the account details, permissions, and last activity date
  2. Approve (certify) the access if still required with documented justification
  3. Revoke access if no longer needed or the reviewer cannot justify the privilege
  4. Flag for investigation if anomalous activity or policy violations are detected
  5. Escalate if the reviewer cannot make a determination

Decision matrix:

| Condition | Action |

|-----------|--------|

| Active user, justified privilege | Certify - maintain access |

| Active user, excessive privilege | Remediate - reduce to least privilege |

| Inactive > 90 days | Disable account, notify owner |

| No owner identified | Disable account, escalate to security |

| SoD conflict detected | Remediate - reassign or add compensating controls |

| Break-glass account | Verify last use was authorized, reset credentials |

Step 4: Remediation and Enforcement

After reviews are completed:

Step 5: Reporting and Documentation

Generate review reports including:

Validation Checklist

References

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.