Framework/Core/SVT/SubscriptionSecurityStatus.ps1
Set-StrictMode -Version Latest class SubscriptionSecurityStatus: SVTCommandBase { SubscriptionSecurityStatus([string] $subscriptionId, [InvocationInfo] $invocationContext): Base($subscriptionId, $invocationContext) { } hidden [SVTEventContext[]] RunAllControls() { [SVTEventContext[]] $result = @(); $svtClassName = [SVTMapping]::SubscriptionMapping.ClassName $svtObject = New-Object -TypeName $svtClassName -ArgumentList $this.SubscriptionContext.SubscriptionId $this.SetSVTBaseProperties($svtObject); $result += $svtObject.EvaluateAllControls(); [ListenerHelper]::RegisterListeners(); return $result; } } |