tests/Test-Assessment.21820.ps1
<# .SYNOPSIS #> function Test-Assessment-21820{ [ZtTest( Category = 'Privileged access', ImplementationCost = 'Medium', Pillar = 'Identity', RiskLevel = 'Low', SfiPillar = 'Protect identities and secrets', TenantType = ('Workforce'), TestId = 21820, Title = 'Activation alert for all privileged role assignments', UserImpact = 'Low' )] [CmdletBinding()] param() Write-PSFMessage '🟦 Start' -Tag Test -Level VeryVerbose $activity = "Checking Activation alert for all privileged role assignments" Write-ZtProgress -Activity $activity -Status "Getting policy" $result = $false $testResultMarkdown = "Planned for future release." $passed = $result Add-ZtTestResultDetail -TestId '21820' -Title "Activation alert for all privileged role assignments" ` -UserImpact Low -Risk Low -ImplementationCost Medium ` -AppliesTo Identity -Tag Identity ` -Status $passed -Result $testResultMarkdown -SkippedBecause UnderConstruction } |