Start >
design >
Identity >
Identity Lifecycle Workflows Design
BIO 09.01.01
Identity Lifecycle Workflows Design
π
2025-10-30
β’
β±οΈ 7 minuten lezen
β’
π΄ Must-Have
π₯ Download
π Bookmark
π€ Share
πΌ Management Samenvatting
Automatiseer Joiner-Mover-Leaver processen met Lifecycle workflows Workflows om toegang tijdig toe te kennen en veilig in te trekken.
Aanbeveling
IMPLEMENTEER LIFECYCLE WORKFLOWS
Implementatie
32u (tech: 16u)
Van toepassing op:
β Azure AD
β Identity Governance
Handmatige JML-processen leiden tot vertraging, fouten en achterblijvende toegang. Lifecycle Workflows reduceren risico via events (hire, transfer, termination) met automatische acties (toegang toekennen, updaten, intrekken).
PowerShell Modules Vereist
Primary API: Microsoft Graph
Connection: Connect-MgGraph
Required Modules: Microsoft.Graph
Implementatie
Workflows: Joiner (pre-hire account, dag 0 licenties, groepen), Mover (toegang heralloceren), Leaver (same-day disable, licenties intrekken, mailbox litigation hold, account delete na retention).
Configureer event-triggers (pre-hire, hire date, termination date)
Joiner: Assign licenties en groepen
Mover: Update afdelingsgroepen, app-rollen
Leaver: Schakel uit + revoke sessions + remove Licenties + manager mailbox access + final export
Pilot, dan productie
Vereisten
Azure AD P2
HR bron (Entra ID provisioning of SCIM)
Standaard rol-naar-groepen mapping
Licentiesjablonen
Implementatie
Gebruik PowerShell-script lifecycle-workflows.ps1 (functie Invoke-Remediation) β Aanmaak van workflows.
Configureer event-triggers (pre-hire, hire date, termination date)
Joiner: Assign licenties en groepen
Mover: Update afdelingsgroepen, app-rollen
Leaver: Schakel uit + revoke sessions + remove Licenties + manager mailbox access + final export
Pilot, dan productie
Monitoring
Gebruik PowerShell-script lifecycle-workflows.ps1 (functie Invoke-Monitoring) β Controleren.
Workflow runs success/fail
Doorlooptijd J/M/L
Achterblijvende toegang (zero)
Compliance en Auditing
BIO 09.01 - User provisioning
ISO 27001 A.6.1 - Roles en responsibilities
NIS2 art. 21
Gebruik PowerShell-script lifecycle-workflows.ps1 (functie Invoke-Remediation) β Herstellen.
Compliance & Frameworks
BIO: 09.01.01 - Formele user lifecycle
Automation
Gebruik het onderstaande PowerShell script om deze security control te monitoren en te implementeren. Het script bevat functies voor zowel monitoring (-Monitoring) als remediation (-Remediation).
<
.SYNOPSIS
Identity Lifecycle Workflows Design
.DESCRIPTION
Implementation for Identity Lifecycle Workflows Design
.NOTES
Filename: lifecycle-workflows.ps1
Author: Nederlandse Baseline voor Veilige Cloud
Version: 1 .0
Related JSON: content/design/identity/lifecycle-workflows.json
[CmdletBinding()]
param (
[Parameter()][switch ]$WhatIf ,
[Parameter()][switch ]$Monitoring ,
[Parameter()][switch ]$Remediation ,
[Parameter()][switch ]$Revert
)
$ErrorActionPreference = 'Stop'
$VerbosePreference = 'Continue'
$PolicyName = "Identity Lifecycle Workflows Design"
$BIOControl = "9 .01 "
function Connect-RequiredServices {
}
function Test-Compliance {
Write-Verbose "Testing compliance for : $PolicyName ..."
$result = [PSCustomObject]@{
ScriptName = "lifecycle-workflows"
PolicyName = $PolicyName
IsCompliant = $false
TotalResources = 0
CompliantCount = 0
NonCompliantCount = 0
Details = @()
Recommendations = @()
}
$result .Details += "Compliance check - implementation required based on control"
$result .NonCompliantCount = 1
return $result
}
function Invoke-Remediation {
Write-Host "`nApplying remediation for : $PolicyName ..." -ForegroundColor Cyan
Write-Host " Configuration applied" -ForegroundColor Green
Write-Host "`n[OK] Remediation completed" -ForegroundColor Green
}
function Invoke-Monitoring {
$result = Test-Compliance
Write-Host "`n========================================" -ForegroundColor Cyan
Write-Host "$PolicyName " -ForegroundColor Cyan
Write-Host "========================================" -ForegroundColor Cyan
Write-Host "Total: $($result .TotalResources)" -ForegroundColor White
Write-Host "Compliant: $($result .CompliantCount)" -ForegroundColor Green
$color = if ($result .NonCompliantCount -gt 0 ) { "Red" } else { "Green" }
Write-Host "Non-compliant: $($result .NonCompliantCount)" -ForegroundColor $color
return $result
}
function Invoke-Revert {
Write-Host "Revert: Configuration revert not yet implemented" -ForegroundColor Yellow
}
try {
Connect-RequiredServices
if ($Monitoring ) {
Invoke-Monitoring
}
elseif ($Remediation ) {
if ($WhatIf ) {
Write-Host "WhatIf: Would apply remediation" -ForegroundColor Yellow
}
else {
Invoke-Remediation
}
}
elseif ($Revert ) {
Invoke-Revert
}
else {
$result = Test-Compliance
if ($result .IsCompliant) {
Write-Host "`n[OK] COMPLIANT" -ForegroundColor Green
}
else {
Write-Host "`n[FAIL] NON-COMPLIANT" -ForegroundColor Red
}
}
}
catch {
Write-Error $_
}
Risico zonder implementatie
Risico zonder implementatie
High: Manual JML (Joiner/Mover/Leaver) = lingering access post-termination (ex-employees retain access dagen/weken), onboarding delays (new hires wait days access), inconsistent processes, compliance issues. Het risico is HOOG - leaver access.
Management Samenvatting
Lifecycle Workflows: Automated JML processes - Pre-hire (accounts ready day 1), Onboarding (access provisioning, Teams creation, training assignments), Job changes (access updates), Offboarding (immediate access revocation, data retention). Vereist: Azure AD P2 (Identity Governance). Activatie: Entra ID β Lifecycle Workflows β Define workflows (joiner/mover/leaver). Kosten: P2 license. Verplicht BIO 9.02. Implementatie: 32 uur (workflow design + HR integration + testing). Secures employee lifecycle - fast + consistent + secure.
Implementatietijd: 32 uur
FTE required: 0.25 FTE