Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 18 additions & 1 deletion skills/identity/rbac-design/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ phase: [design]
frameworks: [NIST-RBAC, NIST-SP-800-162]
difficulty: intermediate
time_estimate: "45-90min"
version: "1.0.0"
version: "1.0.1"
author: unitoneai
license: MIT
allowed-tools: Read, Grep, Glob
Expand Down Expand Up @@ -303,6 +303,15 @@ RBAC-ABAC-08: Obligations (logging, notification) not enforced by PEP

### Step 6: Role Mining and Rationalization


Require dataset quality evidence before promoting role-mining output into the target RBAC model. Mining stale, incomplete, or biased entitlements can encode privilege creep as new roles.

| Dataset Source | Extraction Date | Observation Window | Population Coverage | Entitlement Normalization | Exclusions / Separations | Permission-Use Evidence | Owner Validation | Mining Confidence |
| --- | --- | --- | --- | --- | --- | --- | --- | --- |
| `[IAM, directory, app export]` | `[date]` | `[window]` | `[users, groups, apps, gaps]` | `[direct, inherited, nested, JIT, temporary]` | `[dormant, break-glass, service, contractor, test]` | `[last-used or usage logs]` | `[business/resource owner]` | `High / Medium / Low / Not Evaluable` |

Mark `Not Evaluable` when the dataset window, entitlement expansion, account filtering, permission-use evidence, or owner validation is missing.

**Objective:** Derive optimal roles from existing access patterns and reduce role sprawl.

#### Role Mining Process
Expand Down Expand Up @@ -389,6 +398,12 @@ RBAC-MINE-06: Mining does not account for SoD constraints (mined roles may creat
- ABAC Policies (Step 5): [count]
- Role Mining (Step 6): [count]

#### Role-Mining Dataset Quality Evidence

| Source | Extraction Date | Window | Coverage | Normalization | Exclusions | Usage Evidence | Owner Validation | Confidence |
| --- | --- | --- | --- | --- | --- | --- | --- | --- |
| `[source]` | `[date]` | `[window]` | `[coverage]` | `[normalization]` | `[excluded]` | `[usage]` | `[owner]` | `High / Medium / Low / Not Evaluable` |

### Detailed Findings
[Findings table]

Expand Down Expand Up @@ -427,6 +442,8 @@ RBAC-MINE-06: Mining does not account for SoD constraints (mined roles may creat

---

- Promoting role-mining clusters into target roles before proving dataset freshness, entitlement normalization, account filtering, usage evidence, and owner signoff.

## Common Pitfalls

1. **Designing roles around people, not functions** — roles should reflect job functions that outlast individual employees. Person-specific roles cause explosion.
Expand Down