Some access never fits policy; treating exceptions as tracked objects with justification, approval, and expiration preserves governance without blocking work.
Policy-based access is working. Life is good. 95% of access provisions automatically based on role, department, and team.Then a ticket arrives:
“I need temporary access to the finance-reports group for a cross-functional project analyzing sales commission structure. I’ll need it for about 6 weeks.”
This doesn’t fit any existing policies. The requestor is a Sales Engineer. Sales Engineers don’t get finance access. But the business need is legitimate.Reject the request because it doesn’t fit policy? That turns IT into blockers, not enablers.Manually grant access outside the policy system? That defeats the purpose of policy-based access.Create a new Ruleset for “Sales Engineer with Finance Access”? Role explosion follows. 147 Rulesets within a year.Handle it as an exception—a first-class object in the access management system with explicit justification, approval, and expiration.This is exception management.
Why Exceptions Matter
Not all access fits into neat policy boxes.
1
Temporary needs arise
Cross-functional project access for a defined period. The project ends, the access ends.
2
Unique situations occur
A one-off requirement that won’t repeat. Creating permanent policy for a single instance wastes everyone’s time.
3
Sensitive access requires explicit approval
Even if policy could grant it, some access needs human sign-off.
4
Transitions overlap
Someone changing roles needs access from both roles during handoff.
If the policy-based system can’t handle exceptions gracefully, people work around it. They request manual access grants directly in systems, bypassing policy. They create shadow IT processes—spreadsheets tracking “temporary” access. They abuse existing Rulesets, adding people to groups they don’t belong in just to get one permission.A good exception system is the difference between policy-based access that people trust and policy-based access that people circumvent.
Explicit exception rules with documented justification and expiration dates satisfy auditor requirements for access outside standard policy. This creates a defensible audit trail: who approved the exception, why, and when it expires—addressing SOC 2 CC6.1 and ISO 27001 A.9.2.6 (removal or adjustment of access rights).
Exception Lifecycle
1. Request with Justification
Sarah (Sales Engineer) needs finance access for a project.Exception request:
exception_request: requestor: "[email protected]" access: "google:group:[email protected]" justification: "Q4 sales commission analysis project. Working with Finance team to validate commission calculations against sales data." duration: "6 weeks" project: "Commission Transparency Initiative" approver: "[email protected]"
Key elements: What access (specific group/role/permission). Why (clear business justification). How long (defined timeframe, not permanent). Who approves (appropriate authority—CFO for finance data).
2. Approval Workflow
The CFO receives an approval request:
Exception Request: Finance Reports AccessRequestor: Sarah Chen (Sales Engineer)Access: [email protected]Justification: Q4 sales commission analysis projectDuration: 6 weeks (expires 2025-01-06)Project: Commission Transparency InitiativeThis access is NOT in Sarah's role policy.Exception requires explicit approval.[ Approve ] [ Deny ] [ Request More Info ]
CFO approves. System logs:
Exception approved:- Approved by: [email protected]- Approved at: 2024-11-24T14:30:00Z- Approval note: "Approved for commission analysis. Ensure data is handled per privacy policy."
3. Provisioning
The orchestration layer provisions access:
def provision_exception(exception): # Grant the access adapter = get_adapter(exception.system) adapter.grant_access(exception.user, exception.resource) # Set expiration schedule_removal( user=exception.user, resource=exception.resource, removal_date=exception.expires_at ) # Tag as exception tag_access_as_exception( user=exception.user, resource=exception.resource, exception_id=exception.id ) # Log everything log_exception_granted(exception)
Critical: The system knows this is an exception. It’s tracked separately from policy-based access.
4. Monitoring
While the exception is active:For the user:
You have temporary access:- [email protected] (expires in 38 days)This access is temporary for project: Commission Transparency InitiativeExpiration: 2025-01-06
For IT:
Active exceptions (6):1. [email protected] → finance-reports (38 days remaining)2. [email protected] → aws:prod-readonly (12 days remaining)3. ...[ Review ] [ Extend ] [ Revoke ]
Email to [email protected]:Your temporary access to [email protected] expires in 14 days (2025-01-06).If you still need this access:[ Request Extension ]If you no longer need it:No action required - access will be automatically removed.Project: Commission Transparency InitiativeOriginal justification: Q4 sales commission analysis
Option A: User does nothing. Access auto-revokes on 2025-01-06.Option B: User requests extension:
Extension Request:- Original expiration: 2025-01-06- Requested extension: +4 weeks (new expiration: 2025-02-03)- New justification: "Project extended. Need to analyze Q1 data as well."- Approver: [email protected]
CFO approves or denies. If approved, expiration extends. If denied, access revokes on original date.
6. Removal
On expiration date (or when manually revoked):
def revoke_exception(exception): # Remove access adapter = get_adapter(exception.system) adapter.revoke_access(exception.user, exception.resource) # Update exception status exception.status = "revoked" exception.revoked_at = datetime.now() exception.revocation_reason = "expired" # Notify user notify_user(exception.user, "Your temporary access to {resource} has been removed as planned.") # Log log_exception_revoked(exception)
Sarah’s access is removed. The exception is closed.Audit trail:
Characteristics: Very short duration (hours, not weeks). Tied to incident or emergency. Auto-revoke (no manual renewal). Elevated approval (on-call lead, not just manager).
Pattern 3: Learning and Training
Use case: User learning a new skill needs access to practice.
exception: type: "training" user: "[email protected]" access: "aws:sandbox-account" justification: "AWS Solutions Architect certification training - needs sandbox for hands-on practice" training_program: "AWS SA Certification" duration: "12 weeks" approver: "[email protected]"
Characteristics: Medium duration (weeks to months). Tied to training program. Lower-risk access (sandbox, not production). May convert to permanent if role changes.
Pattern 4: Onboarding Overlap
Use case: New role needs old role access temporarily during transition.
exception: type: "role_transition" user: "[email protected]" access: "salesforce:profile:sales-engineer" justification: "Recently promoted to Engineering Manager. Need Salesforce access for 30 days to hand off customer accounts." old_role: "Sales Engineer" new_role: "Engineering Manager" transition_period: "30 days" auto_approved: true # Policy allows 30-day overlap
Characteristics: Automatically granted during role transitions. Defined overlap period (policy-based). No manual approval needed (pre-approved pattern). Hard expiration (no extension).
Problem: This isn’t an exception. It’s a permanent access grant disguised as an exception. It will never be reviewed. It will accumulate. This defeats the purpose.Fix: All exceptions must have expiration dates. If access is permanent, update the policy.
Anti-Pattern 2: Creating Rulesets for Exceptions
Bad:
User needs finance access temporarily.→ IT creates "Sales Engineer with Finance Access" Ruleset→ User added to new Ruleset→ Project ends, user never removed from Ruleset→ Ruleset persists forever
Problem: Role explosion. 200 Rulesets within a year.Fix: Use exceptions with expiration. Don’t create permanent Rulesets for temporary needs.
Anti-Pattern 3: Manual Tracking in Spreadsheets
Bad:
IT maintains "Temporary Access Tracker.xlsx"- User | Access | Granted | Expires | Notes- Sarah | finance-reports | 11/24 | 1/6 | Commission project
Problem: Spreadsheet isn’t enforced. Sarah’s access doesn’t auto-revoke on 1/6. IT has to remember to manually remove it. This is manual exception management—it doesn’t work.Fix: Build exception management into the access system. Auto-revoke on expiration.
Anti-Pattern 4: No Approval Required
Bad:
User submits exception request.System auto-grants. No approval.
Problem: Exceptions bypass policy for a reason. They need explicit approval to ensure they’re justified.Fix: Require approval. Even for low-risk access.
Anti-Pattern 5: Extending Exceptions Forever
Bad:
Exception expires.User requests extension.IT auto-approves (don't want to block work).Exception extended.Repeat every 30 days forever.
Problem: The exception has become permanent. If it’s permanent, update the policy or create a proper Ruleset.Fix: Limit extensions (max 2) or require escalating approval for extensions beyond original duration.
Integrating Exceptions with Policy-Based Access
Policy-based access answers: “What should this person have based on their role?”Exception management answers: “What does this person have that’s outside their role, and why?”
def detect_drift(user): expected = calculate_total_access(user) # Policy + Exceptions actual = fetch_current_access(user) drift = compare(expected, actual) if drift: # User has access not in policy AND not in exceptions report_drift(user, drift)
The separation between policy-based and exception-based access creates clear audit categories. Policy access demonstrates baseline controls; exception access demonstrates controlled deviation with documented justification. This structure satisfies SOC 2 CC6.3 (role-based access) while maintaining the flexibility auditors understand is necessary for business operations.
Exception Metrics and Reporting
Track these metrics:
1
Exception Volume
How many active exceptions? How many new exceptions per month? Trend: increasing or decreasing? Target: Exceptions should be less than 5% of total access. If higher, policies are too narrow.
2
Exception Duration
Average duration. Distribution (1 week vs. 12 weeks vs. 6 months). Target: Most exceptions under 30 days. If many exceed 90 days, consider updating policies.
3
Exception Approval Time
Time from request to approval. Approval rate (% approved vs. denied). Target: Under 24 hours for approval. Over 90% approval rate (if lower, requests aren’t justified or approvers are too strict).
4
Exception Expiration Compliance
Percentage of exceptions that expire on time. Percentage extended. Percentage manually revoked. Target: Over 95% expire on time. Under 20% extended. Under 5% manually revoked.
5
Most Common Exceptions
Which resources are requested most often? Which users request exceptions most often? Insight: If the same exception is requested repeatedly, consider adding it to policy.
Example report:
Exception Report - November 2024Active Exceptions: 23New This Month: 14Expired This Month: 18Most Requested Resources:1. finance-reports (5 requests)2. aws:prod-readonly (4 requests)3. gitlab:platform-engineering (3 requests)Recommendation:- finance-reports is frequently requested by Sales for commission analysis. Consider creating "Sales with Finance Reporting" policy.- aws:prod-readonly is requested by Engineers for debugging. Consider adding prod-readonly to Senior Engineer policy.
Exception Review Cadence
Monthly: Review active exceptions expiring in next 30 days. Confirm they’re still needed.Quarterly: Review all exceptions granted in past 90 days. Identify patterns. Update policies where appropriate.Annually: Audit exception history. Calculate metrics. Identify trends. Present to leadership.
The Bottom Line
Policy-based access is powerful but rigid. Exceptions provide the flexibility organizations need without sacrificing governance.Good exception management: Explicit justification. Appropriate approval. Defined expiration. Auto-revocation. Clear audit trail. Trackable metrics.Bad exception management: Manual tracking (spreadsheets). No expiration. Auto-approval. Creating Rulesets for temporary access. Extensions without review.If 95% of access is policy-based and 5% is exceptions, the organization is in a good place. If 20%+ is exceptions, policies are too narrow or common patterns aren’t being converted to policy.Exceptions aren’t a failure of policy-based access. They’re a necessary component. Build them properly from day one.
Was this page helpful?
{"docsConfig":{"theme":"aspen","$schema":"https://mintlify.com/docs.json","name":"Provisionr","colors":{"primary":"#d946ef","light":"#d946ef","dark":"#d946ef"},"logo":{"light":"https://mintcdn.com/provisionr/5ukSD9JI1H_kpmU4/logo/light.svg?fit=max\u0026auto=format\u0026n=5ukSD9JI1H_kpmU4\u0026q=85\u0026s=6dc390c4a465580ff27f8fe8d49a11fc","dark":"https://mintcdn.com/provisionr/5ukSD9JI1H_kpmU4/logo/dark.svg?fit=max\u0026auto=format\u0026n=5ukSD9JI1H_kpmU4\u0026q=85\u0026s=f625db342df2b8e7f8a556e48af38b72"},"favicon":"https://mintcdn.com/provisionr/9LyziSRkPeMlxOSc/favicon.png?fit=max\u0026auto=format\u0026n=9LyziSRkPeMlxOSc\u0026q=85\u0026s=8b0e87185aa48df7f1a68a2c0fd8e328","api":{"playground":{"display":"simple"},"examples":{"languages":["curl","powershell","python","laravel","javascript"]}},"navbar":{"links":[],"primary":{"type":"button","label":"Workspace HQ","href":"https://hq.provisionr.io"}},"footer":{"socials":{"website":"https://provisionr.io","slack":"https://community.provisionr.io","x":"https://x.com/provisionr_io","linkedin":"https://www.linkedin.com/company/provisionr-io","github":"https://github.com/provisionr-io","youtube":"https://www.youtube.com/@provisionr"}},"fonts":{"heading":{"family":"IBM Plex Sans"},"body":{"family":"IBM Plex Sans"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":true},"navigation":{"global":{"anchors":[{"anchor":"Documentation","icon":"file-lines","href":"https://docs.provisionr.io"},{"anchor":"Workspace HQ","icon":"server","href":"https://hq.provisionr.io"},{"anchor":"Slack Community","icon":"slack","href":"https://community.provisionr.io"},{"anchor":"Support Ticket","icon":"comments","href":"https://docs.provisionr.io/support/help"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"provisionr","hasAudioNarration":false,"actualSubdomain":"provisionr","customDomains":["docs.provisionr.io"],"gitSource":{"type":"github","owner":"provisionr-io","repo":"doc","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true},"entitlements":{},"buildId":"6afa11cdf773a48258659ef4","clientVersion":"0.0.4160","searchFilterCounts":[{"language":"default","tag":"API Endpoints","count":153},{"language":"default","tag":"CLI Commands","count":151},{"language":"default","tag":"Endpoints","count":149},{"language":"default","tag":"Commands","count":144},{"language":"default","tag":"Runbooks","count":21},{"language":"default","tag":"Billing","count":20},{"language":"default","tag":"Why Provisionr","count":19},{"language":"default","tag":"Workforce Identity Foundations","count":16},{"language":"default","tag":"Concepts","count":13},{"language":"default","tag":"Coming Soon","count":13}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[],"googleFontsInlined":true},"customCss":[{"filePath":"style.css","content":"@import url('https://googleapis.com');.prose,.prose p,.prose li,.prose ul,.prose ol,.prose h1,.prose h2,.prose h3,.prose h4{line-height:1.6!important}.prose :where(h2):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.5em}.code-block{margin-bottom:1.25rem!important}.steps{margin-top:1.5rem!important}code,pre,kbd,samp,.token{font-family:'IBM Plex Mono', monospace!important;line-height:1.1rem}kbd{margin-left:3px;margin-right:3px;padding-top:0.1em!important;padding-bottom:0.1em!important;font-weight:600!important}img.nav-logo{height:1.75rem!important}.mintlify-container .some-content-class{max-width:1600px!important;width:90%!important}.styled-feature-list{list-style:none;padding:0;margin:0}.styled-feature-list .group-title{display:flex;align-items:center;gap:0.5rem;font-weight:600;font-size:0.95rem;color:var(--primary);margin-bottom:0.5rem;padding:0.25rem 0}.styled-feature-list,.styled-feature-list ul,.styled-feature-list li{list-style:none!important;list-style-type:none!important}.styled-feature-list>li{margin-left:0!important;padding-left:0!important;list-style:none!important;list-style-type:none!important}.styled-feature-list>li::before,.styled-feature-list>li::marker{content:none!important;display:none!important}.styled-feature-list .group-items{margin-left:0!important;padding-left:0!important;margin-bottom:1rem}.styled-feature-list .group-items .feature-item{list-style:none!important;list-style-type:none!important}.styled-feature-list .group-items .feature-item::before{content:none!important;display:none!important}.styled-feature-list .group-items .feature-item::marker{content:none!important;display:none!important}.styled-feature-list .feature-item{display:flex;align-items:center;gap:0.5rem;padding:0.25rem 0;font-size:0.875rem;line-height:1.5;background:transparent!important}.styled-feature-list .feature-item:hover{background:transparent!important}.styled-feature-list .feature-item i{color:#22c55e;width:1rem;flex-shrink:0}.styled-feature-list .feature-item.highlight{background-color:rgba(217, 70, 239, 0.1)!important;border-radius:4px;padding:0.375rem 0.5rem}.styled-feature-list .feature-item.highlight:hover{background-color:rgba(217, 70, 239, 0.1)!important}.styled-feature-list .feature-item.highlight i{color:var(--primary)}.styled-feature-list .badge{font-size:0.7rem;padding:0.125rem 0.375rem;border-radius:9999px;background-color:#6366f1;color:white;font-weight:500;margin-left:auto}table td{min-width:10px!important}"}],"page":{"pagePath":"why/foundations/13","slug":"/why/foundations/13","pageMetadata":{"title":"Handling the 5% That Doesn't Fit Policy","sidebarTitle":"Exception Management","description":"Some access never fits policy; treating exceptions as tracked objects with justification, approval, and expiration preserves governance without blocking work.","icon":"code-merge","mode":"wide","href":"/why/foundations/13"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Some access never fits policy; treating exceptions as tracked objects with justification, approval, and expiration preserves governance without blocking work.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={blockquote:`blockquote`,code:`code`,hr:`hr`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,..._provideComponents(),...props.components},{CodeBlock,Heading,Step,Steps,Tip}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Step)_missingMdxReference(`Step`,true);if(!Steps)_missingMdxReference(`Steps`,true);if(!Tip)_missingMdxReference(`Tip`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Policy-based access is working. Life is good. 95% of access provisions automatically based on role, department, and team.`}),`\n`,_jsx(_components.p,{children:`Then a ticket arrives:`}),`\n`,_jsxs(_components.blockquote,{children:[`\n`,_jsx(_components.p,{children:`“I need temporary access to the finance-reports group for a cross-functional project analyzing sales commission structure. I’ll need it for about 6 weeks.”`}),`\n`]}),`\n`,_jsx(_components.p,{children:`This doesn’t fit any existing policies. The requestor is a Sales Engineer. Sales Engineers don’t get finance access. But the business need is legitimate.`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Reject the request because it doesn’t fit policy?`}),` That turns IT into blockers, not enablers.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Manually grant access outside the policy system?`}),` That defeats the purpose of policy-based access.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Create a new Ruleset for “Sales Engineer with Finance Access”?`}),` Role explosion follows. 147 Rulesets within a year.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Handle it as an exception`}),`—a first-class object in the access management system with explicit justification, approval, and expiration.`]}),`\n`,_jsx(_components.p,{children:`This is exception management.`}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`why-exceptions-matter`,children:`Why Exceptions Matter`}),`\n`,_jsx(_components.p,{children:`Not all access fits into neat policy boxes.`}),`\n`,_jsxs(Steps,{children:[_jsx(Step,{title:`Temporary needs arise`,children:_jsx(_components.p,{children:`Cross-functional project access for a defined period. The project ends, the access ends.`})}),_jsx(Step,{title:`Unique situations occur`,children:_jsx(_components.p,{children:`A one-off requirement that won’t repeat. Creating permanent policy for a single instance wastes everyone’s time.`})}),_jsx(Step,{title:`Sensitive access requires explicit approval`,children:_jsx(_components.p,{children:`Even if policy could grant it, some access needs human sign-off.`})}),_jsx(Step,{title:`Transitions overlap`,children:_jsx(_components.p,{children:`Someone changing roles needs access from both roles during handoff.`})})]}),`\n`,_jsx(_components.p,{children:`If the policy-based system can’t handle exceptions gracefully, people work around it. They request manual access grants directly in systems, bypassing policy. They create shadow IT processes—spreadsheets tracking “temporary” access. They abuse existing Rulesets, adding people to groups they don’t belong in just to get one permission.`}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`A good exception system is the difference between policy-based access that people trust and policy-based access that people circumvent.`})}),`\n`,_jsx(Tip,{title:`Auditor's Lens`,children:_jsx(_components.p,{children:`Explicit exception rules with documented justification and expiration dates satisfy auditor requirements for access outside standard policy. This creates a defensible audit trail: who approved the exception, why, and when it expires—addressing SOC 2 CC6.1 and ISO 27001 A.9.2.6 (removal or adjustment of access rights).`})}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`exception-lifecycle`,children:`Exception Lifecycle`}),`\n`,_jsx(Heading,{level:`3`,id:`1-request-with-justification`,children:`1. Request with Justification`}),`\n`,_jsx(_components.p,{children:`Sarah (Sales Engineer) needs finance access for a project.`}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Exception request:`})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`7`,language:`yaml`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`yaml`,children:_jsxs(_components.code,{language:`yaml`,numberOfLines:`7`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`exception_request`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` requestor`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"[email protected]\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` access`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"google:group:[email protected]\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` justification`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Q4 sales commission analysis project. Working with Finance team to validate commission calculations against sales data.\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` duration`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"6 weeks\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` project`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Commission Transparency Initiative\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` approver`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"[email protected]\"`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Key elements:`}),` What access (specific group/role/permission). Why (clear business justification). How long (defined timeframe, not permanent). Who approves (appropriate authority—CFO for finance data).`]}),`\n`,_jsx(Heading,{level:`3`,id:`2-approval-workflow`,children:`2. Approval Workflow`}),`\n`,_jsx(_components.p,{children:`The CFO receives an approval request:`}),`\n`,_jsx(CodeBlock,{numberOfLines:`13`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`13`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Exception Request: Finance Reports Access`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Requestor: Sarah Chen (Sales Engineer)`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Access: [email protected]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Justification: Q4 sales commission analysis project`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Duration: 6 weeks (expires 2025-01-06)`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Project: Commission Transparency Initiative`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`This access is NOT in Sarah's role policy.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Exception requires explicit approval.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`[ Approve ] [ Deny ] [ Request More Info ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(_components.p,{children:`CFO approves. System logs:`}),`\n`,_jsx(CodeBlock,{numberOfLines:`5`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`5`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Exception approved:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`- Approved by: [email protected]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`- Approved at: 2024-11-24T14:30:00Z`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`- Approval note: \"Approved for commission analysis. Ensure data is handled per privacy policy.\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(Heading,{level:`3`,id:`3-provisioning`,children:`3. Provisioning`}),`\n`,_jsx(_components.p,{children:`The orchestration layer provisions access:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`21`,language:`python`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`21`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`def`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` provision_exception`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`exception`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`):`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` # Grant the access`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` adapter `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` get_adapter(exception.system)`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` adapter.grant_access(exception.user, exception.resource)`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` # Set expiration`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` schedule_removal(`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` user`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`exception.user,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` resource`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`exception.resource,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` removal_date`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`exception.expires_at`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` )`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` # Tag as exception`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` tag_access_as_exception(`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` user`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`exception.user,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` resource`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`exception.resource,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` exception_id`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`exception.id`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` )`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` # Log everything`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` log_exception_granted(exception)`})}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Critical:`}),` The system knows this is an exception. It’s tracked separately from policy-based access.`]}),`\n`,_jsx(Heading,{level:`3`,id:`4-monitoring`,children:`4. Monitoring`}),`\n`,_jsx(_components.p,{children:`While the exception is active:`}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`For the user:`})}),`\n`,_jsx(CodeBlock,{numberOfLines:`6`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`6`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`You have temporary access:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`- [email protected] (expires in 38 days)`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`This access is temporary for project: Commission Transparency Initiative`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Expiration: 2025-01-06`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`For IT:`})}),`\n`,_jsx(CodeBlock,{numberOfLines:`7`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`7`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Active exceptions (6):`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`1. [email protected] → finance-reports (38 days remaining)`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`2. [email protected] → aws:prod-readonly (12 days remaining)`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`3. ...`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`[ Review ] [ Extend ] [ Revoke ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`For auditors:`})}),`\n`,_jsx(CodeBlock,{numberOfLines:`9`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`9`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Exception log:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`- User: [email protected]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`- Access: [email protected]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`- Granted: 2024-11-24`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`- Justification: \"Q4 sales commission analysis\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`- Approved by: [email protected]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`- Expires: 2025-01-06`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`- Status: Active`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(Heading,{level:`3`,id:`5-expiration-and-renewal`,children:`5. Expiration and Renewal`}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Two weeks before expiration:`})}),`\n`,_jsx(CodeBlock,{numberOfLines:`13`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`13`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Email to [email protected]:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Your temporary access to [email protected] expires in 14 days (2025-01-06).`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`If you still need this access:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`[ Request Extension ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`If you no longer need it:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`No action required - access will be automatically removed.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Project: Commission Transparency Initiative`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Original justification: Q4 sales commission analysis`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Option A: User does nothing.`}),` Access auto-revokes on 2025-01-06.`]}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Option B: User requests extension:`})}),`\n`,_jsx(CodeBlock,{numberOfLines:`6`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`6`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Extension Request:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`- Original expiration: 2025-01-06`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`- Requested extension: +4 weeks (new expiration: 2025-02-03)`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`- New justification: \"Project extended. Need to analyze Q1 data as well.\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`- Approver: [email protected]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(_components.p,{children:`CFO approves or denies. If approved, expiration extends. If denied, access revokes on original date.`}),`\n`,_jsx(Heading,{level:`3`,id:`6-removal`,children:`6. Removal`}),`\n`,_jsx(_components.p,{children:`On expiration date (or when manually revoked):`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`15`,language:`python`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`15`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`def`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` revoke_exception`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`exception`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`):`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` # Remove access`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` adapter `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` get_adapter(exception.system)`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` adapter.revoke_access(exception.user, exception.resource)`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` # Update exception status`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` exception.status `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"revoked\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` exception.revoked_at `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` datetime.now()`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` exception.revocation_reason `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"expired\"`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` # Notify user`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` notify_user(exception.user, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Your temporary access to `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`{resource}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` has been removed as planned.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` # Log`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` log_exception_revoked(exception)`})}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`Sarah’s access is removed. The exception is closed.`}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Audit trail:`})}),`\n`,_jsx(CodeBlock,{numberOfLines:`8`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`8`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Exception lifecycle:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`- Requested: 2024-11-24 14:00:00`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`- Approved: 2024-11-24 14:30:00 (by [email protected])`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`- Granted: 2024-11-24 14:35:00`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`- Extended: 2024-12-20 10:00:00 (+4 weeks, approved by [email protected])`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`- Revoked: 2025-02-03 00:00:00 (expired)`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`- Duration: 71 days`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`exception-patterns`,children:`Exception Patterns`}),`\n`,_jsx(_components.p,{children:`Different situations need different exception patterns:`}),`\n`,_jsx(Heading,{level:`3`,id:`pattern-1-time-bound-project-access`,children:`Pattern 1: Time-Bound Project Access`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Use case:`}),` Cross-functional project needs access for defined period.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`9`,language:`yaml`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`yaml`,children:_jsxs(_components.code,{language:`yaml`,numberOfLines:`9`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`exception`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` type`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"project_access\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` user`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"[email protected]\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` access`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"gitlab:group:billing-system-rewrite\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` justification`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Sales Engineer supporting billing system rewrite to ensure sales workflow integration\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` project_id`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"proj-billing-rewrite-2025\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` start_date`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2024-12-01\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` end_date`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2025-03-31\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` approver`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"[email protected]\"`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Characteristics:`}),` Clear start and end dates. Tied to a project. Auto-revoke on end date. Review at project milestones.`]}),`\n`,_jsx(Heading,{level:`3`,id:`pattern-2-incremental-privilege-escalation`,children:`Pattern 2: Incremental Privilege Escalation`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Use case:`}),` User needs higher privilege temporarily—debugging production issue, emergency access.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`9`,language:`yaml`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`yaml`,children:_jsxs(_components.code,{language:`yaml`,numberOfLines:`9`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`exception`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` type`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"privilege_escalation\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` user`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"[email protected]\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` access`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"aws:role:production-admin\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` justification`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Critical production incident #1234 - database corruption requiring direct access\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` incident_id`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"INC-1234\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` duration`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"4 hours\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` approver`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"[email protected]\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` auto_revoke`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Characteristics:`}),` Very short duration (hours, not weeks). Tied to incident or emergency. Auto-revoke (no manual renewal). Elevated approval (on-call lead, not just manager).`]}),`\n`,_jsx(Heading,{level:`3`,id:`pattern-3-learning-and-training`,children:`Pattern 3: Learning and Training`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Use case:`}),` User learning a new skill needs access to practice.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`8`,language:`yaml`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`yaml`,children:_jsxs(_components.code,{language:`yaml`,numberOfLines:`8`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`exception`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` type`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"training\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` user`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"[email protected]\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` access`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"aws:sandbox-account\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` justification`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"AWS Solutions Architect certification training - needs sandbox for hands-on practice\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` training_program`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"AWS SA Certification\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` duration`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"12 weeks\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` approver`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"[email protected]\"`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Characteristics:`}),` Medium duration (weeks to months). Tied to training program. Lower-risk access (sandbox, not production). May convert to permanent if role changes.`]}),`\n`,_jsx(Heading,{level:`3`,id:`pattern-4-onboarding-overlap`,children:`Pattern 4: Onboarding Overlap`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Use case:`}),` New role needs old role access temporarily during transition.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`9`,language:`yaml`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`yaml`,children:_jsxs(_components.code,{language:`yaml`,numberOfLines:`9`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`exception`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` type`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"role_transition\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` user`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"[email protected]\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` access`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"salesforce:profile:sales-engineer\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` justification`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Recently promoted to Engineering Manager. Need Salesforce access for 30 days to hand off customer accounts.\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` old_role`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Sales Engineer\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` new_role`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Engineering Manager\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` transition_period`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"30 days\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` auto_approved`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` # Policy allows 30-day overlap`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Characteristics:`}),` Automatically granted during role transitions. Defined overlap period (policy-based). No manual approval needed (pre-approved pattern). Hard expiration (no extension).`]}),`\n`,_jsx(Heading,{level:`3`,id:`pattern-5-vendor/contractor-access`,children:`Pattern 5: Vendor/Contractor Access`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Use case:`}),` External person needs temporary access.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`13`,language:`yaml`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`yaml`,children:_jsxs(_components.code,{language:`yaml`,numberOfLines:`13`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`exception`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` type`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"vendor_access\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` user`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"[email protected]\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` access`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"aws:role:security-audit-readonly\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` justification`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Annual security audit by Acme Security Consulting\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` vendor`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Acme Security Consulting\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` contract_id`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"CTR-2024-089\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` duration`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2 weeks\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` approver`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"[email protected]\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` restrictions`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` - `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`ip_allowlist`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"203.0.113.0/24\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` - `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`mfa_required`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` - `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`session_duration`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"8 hours\"`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Characteristics:`}),` Tied to contract. Additional restrictions (IP allowlist, MFA, session limits). High-level approval (CISO). Strict monitoring.`]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`exception-anti-patterns`,children:`Exception Anti-Patterns`}),`\n`,_jsx(Heading,{level:`3`,id:`anti-pattern-1-exceptions-without-expiration`,children:`Anti-Pattern 1: Exceptions Without Expiration`}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Bad:`})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`yaml`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`yaml`,children:_jsxs(_components.code,{language:`yaml`,numberOfLines:`5`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`exception`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` user`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"[email protected]\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` access`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"finance-reports\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` justification`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Commission analysis project\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` expires_at`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` # No expiration!`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Problem:`}),` This isn’t an exception. It’s a permanent access grant disguised as an exception. It will never be reviewed. It will accumulate. This defeats the purpose.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Fix:`}),` All exceptions must have expiration dates. If access is permanent, update the policy.`]}),`\n`,_jsx(Heading,{level:`3`,id:`anti-pattern-2-creating-rulesets-for-exceptions`,children:`Anti-Pattern 2: Creating Rulesets for Exceptions`}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Bad:`})}),`\n`,_jsx(CodeBlock,{numberOfLines:`6`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`6`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`User needs finance access temporarily.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`→ IT creates \"Sales Engineer with Finance Access\" Ruleset`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`→ User added to new Ruleset`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`→ Project ends, user never removed from Ruleset`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`→ Ruleset persists forever`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Problem:`}),` Role explosion. 200 Rulesets within a year.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Fix:`}),` Use exceptions with expiration. Don’t create permanent Rulesets for temporary needs.`]}),`\n`,_jsx(Heading,{level:`3`,id:`anti-pattern-3-manual-tracking-in-spreadsheets`,children:`Anti-Pattern 3: Manual Tracking in Spreadsheets`}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Bad:`})}),`\n`,_jsx(CodeBlock,{numberOfLines:`4`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`4`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`IT maintains \"Temporary Access Tracker.xlsx\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`- User | Access | Granted | Expires | Notes`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`- Sarah | finance-reports | 11/24 | 1/6 | Commission project`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Problem:`}),` Spreadsheet isn’t enforced. Sarah’s access doesn’t auto-revoke on 1/6. IT has to remember to manually remove it. This is manual exception management—it doesn’t work.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Fix:`}),` Build exception management into the access system. Auto-revoke on expiration.`]}),`\n`,_jsx(Heading,{level:`3`,id:`anti-pattern-4-no-approval-required`,children:`Anti-Pattern 4: No Approval Required`}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Bad:`})}),`\n`,_jsx(CodeBlock,{numberOfLines:`3`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`3`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`User submits exception request.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`System auto-grants. No approval.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Problem:`}),` Exceptions bypass policy for a reason. They need explicit approval to ensure they’re justified.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Fix:`}),` Require approval. Even for low-risk access.`]}),`\n`,_jsx(Heading,{level:`3`,id:`anti-pattern-5-extending-exceptions-forever`,children:`Anti-Pattern 5: Extending Exceptions Forever`}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Bad:`})}),`\n`,_jsx(CodeBlock,{numberOfLines:`6`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`6`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Exception expires.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`User requests extension.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`IT auto-approves (don't want to block work).`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Exception extended.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Repeat every 30 days forever.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Problem:`}),` The exception has become permanent. If it’s permanent, update the policy or create a proper Ruleset.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Fix:`}),` Limit extensions (max 2) or require escalating approval for extensions beyond original duration.`]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`integrating-exceptions-with-policy-based-access`,children:`Integrating Exceptions with Policy-Based Access`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Policy-based access answers:`}),` “What should this person have based on their role?”`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Exception management answers:`}),` “What does this person have that’s outside their role, and why?”`]}),`\n`,_jsx(Heading,{level:`3`,id:`architecture`,children:`Architecture:`}),`\n`,_jsx(CodeBlock,{numberOfLines:`32`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`32`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`┌─────────────────────────────────────┐`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`│ User Attributes (from HRIS) │`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`│ - job_title: Sales Engineer │`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`│ - department: Sales │`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`└──────────────┬──────────────────────┘`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` │`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` ▼`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`┌─────────────────────────────────────┐`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`│ Policy Engine │`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`│ \"Sales Engineer\" → Required Access │`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`└──────────────┬──────────────────────┘`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` │`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` ▼`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`┌─────────────────────────────────────┐`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`│ Expected Access (from Policy) │`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`│ - salesforce:sales-engineer │`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`│ - gitlab:customer-solutions │`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`│ - slack:#sales-team │`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`└──────────────┬──────────────────────┘`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` │`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` ▼`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`┌─────────────────────────────────────┐`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`│ Active Exceptions │`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`│ + finance-reports (temp, expires 1/6)│`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`└──────────────┬──────────────────────┘`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` │`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` ▼`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`┌─────────────────────────────────────┐`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`│ Actual Provisioned Access │`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`│ = Policy Access + Exception Access │`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`└─────────────────────────────────────┘`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`When calculating what someone should have:`})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`11`,language:`python`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`11`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`def`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` calculate_total_access`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`user`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`):`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` # Policy-based access`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` policy_access `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` policy_engine.calculate_access(user)`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` # Exception-based access`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` exception_access `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` get_active_exceptions(user)`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` # Combine`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` total_access `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` policy_access `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`+`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` exception_access`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` return`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` total_access`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`When detecting drift:`})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`9`,language:`python`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`9`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`def`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` detect_drift`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`user`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`):`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` expected `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` calculate_total_access(user) `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Policy + Exceptions`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` actual `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` fetch_current_access(user)`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` drift `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` compare(expected, actual)`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` if`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` drift:`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` # User has access not in policy AND not in exceptions`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` report_drift(user, drift)`})}),`\n`]})})}),`\n`,_jsx(Tip,{title:`Auditor's Lens`,children:_jsx(_components.p,{children:`The separation between policy-based and exception-based access creates clear audit categories. Policy access demonstrates baseline controls; exception access demonstrates controlled deviation with documented justification. This structure satisfies SOC 2 CC6.3 (role-based access) while maintaining the flexibility auditors understand is necessary for business operations.`})}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`exception-metrics-and-reporting`,children:`Exception Metrics and Reporting`}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Track these metrics:`})}),`\n`,_jsxs(Steps,{children:[_jsx(Step,{title:`Exception Volume`,children:_jsxs(_components.p,{children:[`How many active exceptions? How many new exceptions per month? Trend: increasing or decreasing? `,_jsx(_components.strong,{children:`Target:`}),` Exceptions should be less than 5% of total access. If higher, policies are too narrow.`]})}),_jsx(Step,{title:`Exception Duration`,children:_jsxs(_components.p,{children:[`Average duration. Distribution (1 week vs. 12 weeks vs. 6 months). `,_jsx(_components.strong,{children:`Target:`}),` Most exceptions under 30 days. If many exceed 90 days, consider updating policies.`]})}),_jsx(Step,{title:`Exception Approval Time`,children:_jsxs(_components.p,{children:[`Time from request to approval. Approval rate (% approved vs. denied). `,_jsx(_components.strong,{children:`Target:`}),` Under 24 hours for approval. Over 90% approval rate (if lower, requests aren’t justified or approvers are too strict).`]})}),_jsx(Step,{title:`Exception Expiration Compliance`,children:_jsxs(_components.p,{children:[`Percentage of exceptions that expire on time. Percentage extended. Percentage manually revoked. `,_jsx(_components.strong,{children:`Target:`}),` Over 95% expire on time. Under 20% extended. Under 5% manually revoked.`]})}),_jsx(Step,{title:`Most Common Exceptions`,children:_jsxs(_components.p,{children:[`Which resources are requested most often? Which users request exceptions most often? `,_jsx(_components.strong,{children:`Insight:`}),` If the same exception is requested repeatedly, consider adding it to policy.`]})})]}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Example report:`})}),`\n`,_jsx(CodeBlock,{numberOfLines:`18`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`18`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Exception Report - November 2024`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Active Exceptions: 23`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`New This Month: 14`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Expired This Month: 18`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Most Requested Resources:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`1. finance-reports (5 requests)`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`2. aws:prod-readonly (4 requests)`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`3. gitlab:platform-engineering (3 requests)`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Recommendation:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`- finance-reports is frequently requested by Sales for commission analysis.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` Consider creating \"Sales with Finance Reporting\" policy.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`- aws:prod-readonly is requested by Engineers for debugging.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` Consider adding prod-readonly to Senior Engineer policy.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`exception-review-cadence`,children:`Exception Review Cadence`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Monthly:`}),` Review active exceptions expiring in next 30 days. Confirm they’re still needed.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Quarterly:`}),` Review all exceptions granted in past 90 days. Identify patterns. Update policies where appropriate.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Annually:`}),` Audit exception history. Calculate metrics. Identify trends. Present to leadership.`]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`the-bottom-line`,children:`The Bottom Line`}),`\n`,_jsx(_components.p,{children:`Policy-based access is powerful but rigid. Exceptions provide the flexibility organizations need without sacrificing governance.`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Good exception management:`}),` Explicit justification. Appropriate approval. Defined expiration. Auto-revocation. Clear audit trail. Trackable metrics.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Bad exception management:`}),` Manual tracking (spreadsheets). No expiration. Auto-approval. Creating Rulesets for temporary access. Extensions without review.`]}),`\n`,_jsx(_components.p,{children:`If 95% of access is policy-based and 5% is exceptions, the organization is in a good place. If 20%+ is exceptions, policies are too narrow or common patterns aren’t being converted to policy.`}),`\n`,_jsx(_components.p,{children:`Exceptions aren’t a failure of policy-based access. They’re a necessary component. Build them properly from day one.`})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Handling the 5% That Doesn't Fit Policy","sidebarTitle":"Exception Management","description":"Some access never fits policy; treating exceptions as tracked objects with justification, approval, and expiration preserves governance without blocking work.","icon":"code-merge","mode":"wide","href":"/why/foundations/13"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Why Exceptions Matter","slug":"why-exceptions-matter","depth":2,"children":[]},{"title":"Exception Lifecycle","slug":"exception-lifecycle","depth":2,"children":[{"title":"1. Request with Justification","slug":"1-request-with-justification","depth":3,"children":[]},{"title":"2. Approval Workflow","slug":"2-approval-workflow","depth":3,"children":[]},{"title":"3. Provisioning","slug":"3-provisioning","depth":3,"children":[]},{"title":"4. Monitoring","slug":"4-monitoring","depth":3,"children":[]},{"title":"5. Expiration and Renewal","slug":"5-expiration-and-renewal","depth":3,"children":[]},{"title":"6. Removal","slug":"6-removal","depth":3,"children":[]}]},{"title":"Exception Patterns","slug":"exception-patterns","depth":2,"children":[{"title":"Pattern 1: Time-Bound Project Access","slug":"pattern-1-time-bound-project-access","depth":3,"children":[]},{"title":"Pattern 2: Incremental Privilege Escalation","slug":"pattern-2-incremental-privilege-escalation","depth":3,"children":[]},{"title":"Pattern 3: Learning and Training","slug":"pattern-3-learning-and-training","depth":3,"children":[]},{"title":"Pattern 4: Onboarding Overlap","slug":"pattern-4-onboarding-overlap","depth":3,"children":[]},{"title":"Pattern 5: Vendor/Contractor Access","slug":"pattern-5-vendor/contractor-access","depth":3,"children":[]}]},{"title":"Exception Anti-Patterns","slug":"exception-anti-patterns","depth":2,"children":[{"title":"Anti-Pattern 1: Exceptions Without Expiration","slug":"anti-pattern-1-exceptions-without-expiration","depth":3,"children":[]},{"title":"Anti-Pattern 2: Creating Rulesets for Exceptions","slug":"anti-pattern-2-creating-rulesets-for-exceptions","depth":3,"children":[]},{"title":"Anti-Pattern 3: Manual Tracking in Spreadsheets","slug":"anti-pattern-3-manual-tracking-in-spreadsheets","depth":3,"children":[]},{"title":"Anti-Pattern 4: No Approval Required","slug":"anti-pattern-4-no-approval-required","depth":3,"children":[]},{"title":"Anti-Pattern 5: Extending Exceptions Forever","slug":"anti-pattern-5-extending-exceptions-forever","depth":3,"children":[]}]},{"title":"Integrating Exceptions with Policy-Based Access","slug":"integrating-exceptions-with-policy-based-access","depth":2,"children":[{"title":"Architecture:","slug":"architecture","depth":3,"children":[]}]},{"title":"Exception Metrics and Reporting","slug":"exception-metrics-and-reporting","depth":2,"children":[]},{"title":"Exception Review Cadence","slug":"exception-review-cadence","depth":2,"children":[]},{"title":"The Bottom Line","slug":"the-bottom-line","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/provisionr/68f8bc905a4b045e/scripts/lint-frontmatter.js"],"subdomain":"provisionr","siteName":"Provisionr","title":"Handling the 5% That Doesn't Fit Policy - Provisionr","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-08T22:19:04.154Z","originalFileLocation":"why/foundations/13.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Some access never fits policy; treating exceptions as tracked objects with justification, approval, and expiration preserves governance without blocking work.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Provisionr\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/provisionr/BrF5IHgBTE7iRl5b/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/provisionr/BrF5IHgBTE7iRl5b/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/provisionr/BrF5IHgBTE7iRl5b/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/provisionr/BrF5IHgBTE7iRl5b/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/provisionr/BrF5IHgBTE7iRl5b/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/provisionr/BrF5IHgBTE7iRl5b/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/provisionr/BrF5IHgBTE7iRl5b/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/provisionr/BrF5IHgBTE7iRl5b/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/provisionr/BrF5IHgBTE7iRl5b/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Handling the 5% That Doesn\u0026#x27;t Fit Policy - Provisionr\">\u003cmeta data-mint-head property=\"og:description\" content=\"Some access never fits policy; treating exceptions as tracked objects with justification, approval, and expiration preserves governance without blocking work.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Provisionr\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.provisionr.io/why/foundations/13\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://provisionr.mintlify.site/_mintlify/api/og/v2?division=Solution+Framework\u0026amp;title=Handling+the+5%25+That+Doesn%27t+Fit+Policy\u0026amp;description=Some+access+never+fits+policy%3B+treating+exceptions+as+tracked+objects+with+justification%2C+approval%2C+and+expiration+preserves+governance+without+blocking+work.\u0026amp;theme=f6bc4ae197310e5c36fffed9\u0026amp;signature=2380a94bd0ea41c2e9a71a03ed80c205b4e6370163aca8ca175673f35387d354\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Handling the 5% That Doesn\u0026#x27;t Fit Policy - Provisionr\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Some access never fits policy; treating exceptions as tracked objects with justification, approval, and expiration preserves governance without blocking work.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://provisionr.mintlify.site/_mintlify/api/og/v2?division=Solution+Framework\u0026amp;title=Handling+the+5%25+That+Doesn%27t+Fit+Policy\u0026amp;description=Some+access+never+fits+policy%3B+treating+exceptions+as+tracked+objects+with+justification%2C+approval%2C+and+expiration+preserves+governance+without+blocking+work.\u0026amp;theme=f6bc4ae197310e5c36fffed9\u0026amp;signature=2380a94bd0ea41c2e9a71a03ed80c205b4e6370163aca8ca175673f35387d354\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/provisionr/BrF5IHgBTE7iRl5b/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Provisionr\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#d946ef\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.provisionr.io/why/foundations/13\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/why/foundations/13.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.provisionr.io/#organization\",\"name\":\"Provisionr\",\"url\":\"https://docs.provisionr.io\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/provisionr/5ukSD9JI1H_kpmU4/logo/light.svg?fit=max\u0026auto=format\u0026n=5ukSD9JI1H_kpmU4\u0026q=85\u0026s=6dc390c4a465580ff27f8fe8d49a11fc\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.provisionr.io#website\",\"name\":\"Provisionr\",\"url\":\"https://docs.provisionr.io\",\"publisher\":{\"@id\":\"https://docs.provisionr.io/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.provisionr.io/why/foundations/13#webpage\",\"url\":\"https://docs.provisionr.io/why/foundations/13\",\"name\":\"Handling the 5% That Doesn't Fit Policy\",\"description\":\"Some access never fits policy; treating exceptions as tracked objects with justification, approval, and expiration preserves governance without blocking work.\",\"dateModified\":\"2026-11-08T22:19:04.154Z\",\"isPartOf\":{\"@id\":\"https://docs.provisionr.io#website\"},\"breadcrumb\":{\"@id\":\"https://docs.provisionr.io/why/foundations/13#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.provisionr.io/why/foundations/13#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Workforce Identity Foundations\",\"item\":\"https://docs.provisionr.io/why/foundations/intro\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Solution Framework\",\"item\":\"https://docs.provisionr.io/why/foundations/8\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Handling the 5% That Doesn't Fit Policy\",\"item\":\"https://docs.provisionr.io/why/foundations/13\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.provisionr.io/why/foundations/13#article\",\"headline\":\"Handling the 5% That Doesn't Fit Policy\",\"name\":\"Handling the 5% That Doesn't Fit Policy\",\"description\":\"Some access never fits policy; treating exceptions as tracked objects with justification, approval, and expiration preserves governance without blocking work.\",\"url\":\"https://docs.provisionr.io/why/foundations/13\",\"mainEntityOfPage\":{\"@id\":\"https://docs.provisionr.io/why/foundations/13#webpage\"},\"dateModified\":\"2026-11-08T22:19:04.154Z\",\"publisher\":{\"@id\":\"https://docs.provisionr.io/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.provisionr.io#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Provisionr\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Provisionr\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/why/foundations/13.md","siteName":"Provisionr","nav":{"global":{"anchors":[{"anchor":"Documentation","icon":"file-lines","href":"https://docs.provisionr.io"},{"anchor":"Workspace HQ","icon":"server","href":"https://hq.provisionr.io"},{"anchor":"Slack Community","icon":"slack","href":"https://community.provisionr.io"},{"anchor":"Support Ticket","icon":"comments","href":"https://docs.provisionr.io/support/help"}]},"tabs":[{"tab":"Why Provisionr","groups":[{"group":"Introduction","pages":[{"title":"Product Mission","icon":"rocket","href":"/why/intro/mission"},{"title":"Identity Governance Landscape","icon":"map","href":"/why/intro/landscape"},{"title":"Existing Automation Limitations","icon":"code-fork","href":"/why/intro/limitations"}]},{"group":"Workforce Identity Foundations","pages":[{"title":"Workforce Identity Foundations","sidebarTitle":"Overview","icon":"graduation-cap","mode":"wide","href":"/why/foundations/intro"},{"group":"Problem Definition","icon":"triangle-exclamation","expanded":true,"pages":[{"title":"Drowning in IT Access Requests? Most Organizations Are","sidebarTitle":"Drowning in Access Requests","icon":"clipboard-list","mode":"wide","href":"/why/foundations/1"},{"title":"Replace Manual Checklists for Baseline Entitlements","sidebarTitle":"Replace Manual Checklists","icon":"clipboard-list","mode":"wide","href":"/why/foundations/2"},{"title":"The Hidden Cost of Employee Role Changes","sidebarTitle":"Employee Role Changes","icon":"person-running","mode":"wide","href":"/why/foundations/3"},{"title":"Why Sales Teams Break Access Automation","sidebarTitle":"Sales Team Automation","icon":"users","mode":"wide","href":"/why/foundations/4"},{"title":"When IdP Group Rules Become Unmanageable","sidebarTitle":"IdP Group Rule Sprawl","icon":"filter","mode":"wide","href":"/why/foundations/5"},{"title":"Is Your HRIS Missing Team-Level Granularity for RBAC?","sidebarTitle":"HRIS Granularity Gap","icon":"sitemap","mode":"wide","href":"/why/foundations/6"},{"title":"Identity Governance Forgot About the IT Admin","sidebarTitle":"Identity Governance Gap","icon":"user-gear","mode":"wide","href":"/why/foundations/7"}]},{"group":"Solution Framework","icon":"lightbulb","expanded":true,"pages":[{"title":"Access Reviews Are Audit Theater (And Everyone Knows It)","sidebarTitle":"Access Reviews","icon":"clipboard-check","mode":"wide","href":"/why/foundations/8"},{"title":"RBAC Doesn't Mean What You Think It Does","sidebarTitle":"RBAC Reality Check","icon":"user-tag","mode":"wide","href":"/why/foundations/9"},{"title":"Cross-System Access Orchestration Challenges","sidebarTitle":"Cross-System Orchestration","icon":"diagram-project","mode":"wide","href":"/why/foundations/10"},{"title":"The Policy-First Approach to Access Management","sidebarTitle":"Policy-Based Access Control","icon":"book-open-cover","mode":"wide","href":"/why/foundations/11"},{"title":"The End-State Vision: Fully Automated Onboarding","sidebarTitle":"Automated Onboarding","description":"Policy-first access, cross-system orchestration, and device management combine so a new hire has a laptop and full access before day one, with no tickets.","icon":"rocket-launch","mode":"wide","href":"/why/foundations/12"},{"title":"Handling the 5% That Doesn't Fit Policy","sidebarTitle":"Exception Management","icon":"code-merge","mode":"wide","href":"/why/foundations/13"},{"title":"Graceful Deprecation When Access Changes","sidebarTitle":"Graceful Role Changes","description":"Immediate access revocation breaks role transitions; graceful deprecation phases out old entitlements via grace periods, downgrades, and conditional keeps.","icon":"arrow-right-arrow-left","mode":"wide","href":"/why/foundations/14"},{"title":"Making Auditors Appreciate Access Management","sidebarTitle":"Audit-Ready Compliance","icon":"shield-check","mode":"wide","href":"/why/foundations/15"}]}]}]},{"tab":"Concepts","pages":[{"title":"Concepts","href":"/concepts/control/users"}]},{"tab":"Runbooks","pages":[{"title":"Runbooks","href":"/runbooks/orientation/attributes"}]},{"tab":"Integrations","pages":[{"title":"Integrations","href":"/integrations/overview"}]},{"tab":"API Endpoints","pages":[{"title":"API Endpoints","href":"/api/workspace/v1/overview"}]},{"tab":"CLI Commands","pages":[{"title":"CLI Commands","href":"/cli/workspace/v1/intro/install"}]},{"tab":"Release Notes and Roadmap","pages":[{"title":"Release Notes and Roadmap","href":"/roadmap/features"}]},{"tab":"Support","pages":[{"title":"Support","href":"/support/help"}]},{"tab":"Billing","pages":[{"title":"Billing","href":"/plans/evaluator"}]}]},"basePath":"","title":"Handling the 5% That Doesn't Fit Policy - Provisionr","buildId":"dpl_GRSyrvXT6FFTpZZTGz5iZPp3D2zE","deploymentId":"dpl_GRSyrvXT6FFTpZZTGz5iZPp3D2zE","dynamics":[],"chunks":[]}