maester icon indicating copy to clipboard operation
maester copied to clipboard

EIDSCA.AP01/AP14/AG01 ValidationMetadataException in v1.1

Open kentbjoh opened this issue 7 months ago • 0 comments

EIDSCA.AP01/AP14/AG01 tests throws ValidationMetadataException in v1.1 release. It gets 'Informational' as argument when only 'Info' is allowed.

Debug Output

Debug Output [-] EIDSCA.EIDSCA.AP01: Default Authorization Settings - Enabled Self service password reset for administrators. See https://maester.dev/docs/tests/EIDSCA.AP01 5ms (5ms|0ms) ValidationMetadataException: The argument "Informational" does not belong to the set "Critical,High,Medium,Low,Info," specified by the ValidateSet attribute. Supply an argument that is in the set and then try the command again. ParameterBindingValidationException: Cannot validate argument on parameter 'Severity'. The argument "Informational" does not belong to the set "Critical,High,Medium,Low,Info," specified by the ValidateSet attribute. Supply an argument that is in the set and then try the command again. at Test-MtEidscaAP01, C:\Users\defaultuser\Documents\PowerShell\Modules\Maester\1.1.0\internal\eidsca\Test-MtEidscaAP01.ps1:41 at Test-MtEidscaControl, C:\Users\defaultuser\Documents\PowerShell\Modules\Maester\1.1.0\public\eidsca\Test-MtEidscaControl.ps1:28 at , C:\Users\defaultuser\Documents\maester-tests\EIDSCA\Test-EIDSCA.Generated.Tests.ps1:14

[-] EIDSCA.EIDSCA.AP14: Default Authorization Settings - Default User Role Permissions - Allowed to read other users. See https://maester.dev/docs/tests/EIDSCA.AP14 9ms (8ms|1ms) ValidationMetadataException: The argument "Informational" does not belong to the set "Critical,High,Medium,Low,Info," specified by the ValidateSet attribute. Supply an argument that is in the set and then try the command again. ParameterBindingValidationException: Cannot validate argument on parameter 'Severity'. The argument "Informational" does not belong to the set "Critical,High,Medium,Low,Info," specified by the ValidateSet attribute. Supply an argument that is in the set and then try the command again. at Test-MtEidscaAP14, C:\Users\defaultuser\Documents\PowerShell\Modules\Maester\1.1.0\internal\eidsca\Test-MtEidscaAP14.ps1:38 at Test-MtEidscaControl, C:\Users\defaultuser\Documents\PowerShell\Modules\Maester\1.1.0\public\eidsca\Test-MtEidscaControl.ps1:28 at <ScriptBlock>, C:\Users\defaultuser\Documents\maester-tests\EIDSCA\Test-EIDSCA.Generated.Tests.ps1:86

[-] EIDSCA.EIDSCA.AG01: Authentication Method - General Settings - Manage migration. See https://maester.dev/docs/tests/EIDSCA.AG01 4ms (4ms|1ms) ValidationMetadataException: The argument "Informational" does not belong to the set "Critical,High,Medium,Low,Info," specified by the ValidateSet attribute. Supply an argument that is in the set and then try the command again. ParameterBindingValidationException: Cannot validate argument on parameter 'Severity'. The argument "Informational" does not belong to the set "Critical,High,Medium,Low,Info," specified by the ValidateSet attribute. Supply an argument that is in the set and then try the command again. at Test-MtEidscaAG01, C:\Users\defaultuser\Documents\PowerShell\Modules\Maester\1.1.0\internal\eidsca\Test-MtEidscaAG01.ps1:38 at Test-MtEidscaControl, C:\Users\defaultuser\Documents\PowerShell\Modules\Maester\1.1.0\public\eidsca\Test-MtEidscaControl.ps1:28 at <ScriptBlock>, C:\Users\defaultuser\Documents\maester-tests\EIDSCA\Test-EIDSCA.Generated.Tests.ps1:189

kentbjoh avatar May 16 '25 21:05 kentbjoh