Framework/Models/SVT/SVTConfig.ps1
Set-StrictMode -Version Latest class SVTConfig { [string] $FeatureName = "" [string] $Reference = "" [bool] $IsManintenanceMode [ControlItem[]] $Controls = @(); hidden static [SVTConfig] LoadJsonFile([string] $fileName, [bool] $useOnlinePolicyStore, [string] $onlineStoreUri, [bool] $enableAADAuthForOnlinePolicyStore) { return [SVTConfig]([ConfigurationHelper]::LoadJsonFile($fileName, $useOnlinePolicyStore, $onlineStoreUri, $enableAADAuthForOnlinePolicyStore)); } } class ControlItem { #Fields from JSON [string] $ControlID = "" [string] $Id = "" [string] $ControlSeverity = "" [string] $Description = "" [string] $Automated = "" [string[]] $Tags = @() [bool] $Enabled [string] $MethodName = "" [string] $Recommendation = "" } |