tests/Test-Assessment.21800.ps1
<# .SYNOPSIS #> function Test-Assessment-21800{ [ZtTest( Category = 'Monitoring', ImplementationCost = 'Medium', Pillar = 'Identity', RiskLevel = 'Medium', SfiPillar = 'Monitor and detect cyberthreats', TenantType = ('Workforce','External'), TestId = 21800, Title = 'All user sign-in activity uses strong authentication methods', UserImpact = 'Medium' )] [CmdletBinding()] param() Write-PSFMessage '🟦 Start' -Tag Test -Level VeryVerbose $activity = "Checking All user sign-in activity uses strong authentication methods" Write-ZtProgress -Activity $activity -Status "Getting policy" $result = $false $testResultMarkdown = "Planned for future release." $passed = $result Add-ZtTestResultDetail -TestId '21800' -Title "All user sign-in activity uses strong authentication methods" ` -UserImpact Medium -Risk Medium -ImplementationCost Medium ` -AppliesTo Identity -Tag Identity ` -Status $passed -Result $testResultMarkdown -SkippedBecause UnderConstruction } |