Private/AzStackHci.Defender.Helpers.ps1

function New-OsConfigAsrObservation {
    # ASR action meanings (read-only interpretation): https://learn.microsoft.com/en-us/defender-endpoint/attack-surface-reduction-rules-configure
    [CmdletBinding()]
    param($Value, [bool]$Collected = $false, $Present = $null, [string]$Message = '')
    $observation = [pscustomobject]@{ Collected = $Collected; Present = $Present; Value = $Value; Action = $null; Message = $Message }
    if (-not $Collected) { return $observation }
    if ($Present -eq $false) { $observation.Action = 'Not configured'; return $observation }
    $numericValue = 0
    if ($null -eq $Value -or $Value -is [bool] -or -not [int]::TryParse([string]$Value, [ref]$numericValue) -or $numericValue -notin @(0, 1, 2, 5, 6)) {
        $observation.Collected = $false
        $observation.Action = 'Unknown'
        $observation.Message = 'ASR action is missing or unsupported; no Disabled value inferred.'
        return $observation
    }
    $observation.Value = $numericValue
    $observation.Action = @{ 0 = 'Disabled'; 1 = 'Block'; 2 = 'Audit'; 5 = 'Not configured'; 6 = 'Warn' }[$numericValue]
    return $observation
}

function Test-OsConfigAsrEvidenceComplete {
    [CmdletBinding()]
    param([string]$Expected, $Sources)
    if ([string]::IsNullOrWhiteSpace($Expected) -or -not (Test-OsConfigBaselineRule -Rule $Expected -Observed 1 -Present $true).Supported) { return $false }
    foreach ($source in @('OSConfig', 'DefenderReported', 'PolicyRegistry', 'LocalRegistry')) {
        $observation = $Sources.$source
        if ($null -eq $observation -or $observation.Collected -ne $true -or $observation.Present -isnot [bool]) { return $false }
        if (-not $observation.Present -and $null -ne $observation.Value) { return $false }
        $validated = New-OsConfigAsrObservation -Collected $true -Present $observation.Present -Value $observation.Value
        if (-not $validated.Collected) { return $false }
    }
    return $true
}

function Invoke-OsConfigDefenderQuery {
    [CmdletBinding()]
    param(
        [ValidateSet('Preferences', 'RuntimeStatus', 'OSConfig', 'RSoPSettings', 'RSoPGpos', 'WDAC', 'WDACPolicyInfo')][string]$Kind,
        [switch]$LocalWDAC
    )
    switch ($Kind) {
        'Preferences' { Get-MpPreference -ErrorAction Stop }
        'RuntimeStatus' { Get-MpComputerStatus -ErrorAction Stop | Select-Object AMRunningMode, AMServiceEnabled, AntivirusEnabled, RealTimeProtectionEnabled, IsTamperProtected, AMProductVersion, AMEngineVersion, AntivirusSignatureVersion, AntivirusSignatureLastUpdated }
        'WDAC' {
            if (-not $LocalWDAC) {
                Get-AsWdacPolicyMode -ErrorAction Stop | Select-Object NodeName, PolicyMode
            } else {
                $wdacModule = (Get-Command Get-ASWDACPolicyMode -ErrorAction Stop).Module
                if ($null -eq $wdacModule) { throw 'Local WDAC dependency module unavailable.' }
                & $wdacModule {
                    $ErrorActionPreference = 'Stop'
                    $localModes = @(Get-ASLocalWDACPolicyMode -ErrorAction Stop)
                    $modeIndex = 0
                    if ($localModes.Count -ne 1 -or $localModes[0] -is [bool] -or
                        -not [int]::TryParse([string]$localModes[0], [ref]$modeIndex) -or $modeIndex -lt 0) {
                        throw 'Local WDAC getter returned no unique numeric mode.'
                    }
                    $modeMap = Get-Variable -Name WDACPolicyModeMap -Scope Script -ValueOnly -ErrorAction Stop
                    if ($modeMap -is [System.Collections.IDictionary]) {
                        if (-not $modeMap.Contains($modeIndex)) { throw 'Local WDAC mode has no dependency mapping.' }
                    } elseif ($modeMap -is [System.Collections.IList]) {
                        if ($modeIndex -ge $modeMap.Count) { throw 'Local WDAC mode has no dependency mapping.' }
                    } else { throw 'Local WDAC dependency mapping is invalid.' }
                    $policyMode = $modeMap[$modeIndex]
                    if ($policyMode -isnot [string] -or $policyMode -notin @('Not deployed', 'Audit', 'Enforced', 'ScriptEnforced')) {
                        throw 'Local WDAC dependency mapping returned an unsupported mode.'
                    }
                    [pscustomobject]@{ NodeName = $env:COMPUTERNAME; PolicyMode = $policyMode }
                }
            }
        }
        'WDACPolicyInfo' { Get-ASLocalWDACPolicyInfo -ErrorAction Stop | Select-Object NodeName, PolicyMode, PolicyGuid, PolicyName, PolicyVersion, Status, PolicyScope, MicrosoftProvided, IsSigned }
        'OSConfig' {
            if (-not (Get-Command 'Get-OSConfigDesiredConfiguratio[n]' -ErrorAction Stop)) {
                if (-not (Get-Command 'Import-ASOSConfigModul[e]' -ErrorAction Stop)) { throw 'Existing Azure Local OSConfig commands unavailable; no module installed.' }
                Import-ASOSConfigModule -ErrorAction Stop | Out-Null
            }
            Get-OSConfigDesiredConfiguration -Scenario Defender/Antivirus -ErrorAction Stop |
                Where-Object { $_.Name -like 'ASR*' } | Select-Object Name, Value, Default
        }
        'RSoPSettings' { Get-CimInstance -Namespace 'root\RSOP\Computer' -ClassName RSOP_RegistryPolicySetting -OperationTimeoutSec 30 -ErrorAction Stop | Select-Object @{Name='KeyName';Expression={$_.registryKey}}, ValueName, ValueType, Value, Deleted, GPOID, Precedence, SOMID }
        'RSoPGpos' { Get-CimInstance -Namespace 'root\RSOP\Computer' -ClassName RSOP_GPO -OperationTimeoutSec 30 -ErrorAction Stop | Select-Object Id, GuidName, Name }
    }
}

function Get-OsConfigDefenderEvidence {
    [CmdletBinding()]
    param([System.Collections.IDictionary]$DiagnosticContext, [string]$Node, $WDACSnapshot)
    $evidence = @{}
    foreach ($kind in @('Preferences', 'RuntimeStatus', 'OSConfig', 'RSoPSettings', 'RSoPGpos', 'WDAC', 'WDACPolicyInfo')) {
        if ($DiagnosticContext) { Set-OsConfigDiagnosticStage -Context $DiagnosticContext -Stage "Defender/$kind" }
        $source = [pscustomobject]@{ Collected = $false; Rows = @(); Message = ''; Diagnostics = @() }
        $lastError = if ($global:Error.Count) { $global:Error[0] } else { $null }
        try {
            if ($kind -eq 'WDAC' -and $PSBoundParameters.ContainsKey('WDACSnapshot')) {
                if ($null -eq $WDACSnapshot) { throw 'Coordinator WDAC evidence unavailable.' }
                $snapshot = [pscustomobject]$WDACSnapshot
                if ($snapshot.Collected -isnot [bool] -or $snapshot.Rows -isnot [System.Collections.IList] -or $snapshot.Message -isnot [string]) {
                    throw 'Invalid coordinator WDAC evidence.'
                }
                if (-not $snapshot.Collected) { throw "Coordinator WDAC query failed: $($snapshot.Message)" }
                $source.Rows = @($snapshot.Rows)
            } elseif ($kind -eq 'WDAC') {
                $source.Rows = @(Invoke-OsConfigDefenderQuery -Kind WDAC -LocalWDAC -ErrorAction Stop)
            } else {
                $source.Rows = @(Invoke-OsConfigDefenderQuery -Kind $kind -ErrorAction Stop)
            }
            if ($kind -eq 'WDAC') {
                # The command can return the whole cluster; never attribute another node's mode to this node.
                $source.Rows = @($source.Rows | Where-Object { ([string]$_.NodeName -split '\.')[0] -eq ($Node -split '\.')[0] })
                if ([string]::IsNullOrWhiteSpace($Node) -or $source.Rows.Count -ne 1 -or $source.Rows[0].PolicyMode -isnot [string] -or [string]::IsNullOrWhiteSpace($source.Rows[0].PolicyMode)) {
                    throw "WDAC returned no unique, valid PolicyMode for node '$Node'."
                }
                if ($source.Rows[0].PolicyMode.Trim() -eq 'Unable to determine') {
                    throw "WDAC policy mode unavailable for node '$Node': the query returned 'Unable to determine'."
                }
            }
            if ($kind -in @('Preferences', 'RuntimeStatus') -and ($source.Rows.Count -ne 1 -or $null -eq $source.Rows[0])) { throw "$kind returned no unique observation." }
            if ($kind -eq 'WDACPolicyInfo') {
                foreach ($policy in $source.Rows) {
                    if ([string]::IsNullOrWhiteSpace($Node) -or [string]::IsNullOrWhiteSpace([string]$policy.NodeName) -or ([string]$policy.NodeName -split '\.')[0] -ne ($Node -split '\.')[0]) {
                        throw "Local WDAC policy inventory contains an invalid node identity for '$Node'."
                    }
                }
            }
            $source.Collected = $true
        } catch {
            if ($DiagnosticContext) { Write-OsConfigDiagnosticEvent -Context $DiagnosticContext -Stage "Defender/$kind" -Event Error -ErrorRecord $_ }
            $source.Rows = @(); $source.Message = $_.Exception.Message
        }
        if ($source.Collected) {
            $source.Diagnostics = @(foreach ($record in @($global:Error)) {
                if ([object]::ReferenceEquals($record, $lastError)) { break }
                if ($record -is [Management.Automation.ErrorRecord]) {
                    [pscustomobject]@{
                        Source = $kind; Message = $record.Exception.Message
                        FullyQualifiedErrorId = $record.FullyQualifiedErrorId
                        ExceptionType = $record.Exception.GetType().FullName
                    }
                }
            })
        }
        $evidence[$kind] = $source
    }
    if ($DiagnosticContext) { Set-OsConfigDiagnosticStage -Context $DiagnosticContext -Stage 'Defender/Comparison' }
    return $evidence
}

function Get-OsConfigAsrGpoEvidence {
    [CmdletBinding()]
    param([string]$RuleId, [System.Collections.IDictionary]$Evidence)
    $result = Get-OsConfigRegistryPolicyEvidence -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows Defender\Windows Defender Exploit Guard\ASR\Rules' -Name $RuleId -Evidence $Evidence
    foreach ($assignment in $result.Assignments) {
        Add-Member -InputObject $assignment -NotePropertyName RuleId -NotePropertyValue $RuleId
    }
    return $result
}

function Invoke-OsConfigDefenderAssessment {
    [CmdletBinding()]
    param([string]$Node, [string]$OutputPath, $BaselineAssessment, [System.Collections.IDictionary]$DiagnosticContext, $WDACSnapshot, [Nullable[bool]]$DriftControlEnabled)
    $path = Join-Path (Join-Path $OutputPath $Node) "$Node-Defender.json"
    if (Test-Path -LiteralPath $path -ErrorAction Stop) { Remove-Item -LiteralPath $path -Force -ErrorAction Stop }
    $evidenceParameters = @{ DiagnosticContext = $DiagnosticContext; Node = $Node }
    if ($PSBoundParameters.ContainsKey('WDACSnapshot')) { $evidenceParameters.WDACSnapshot = $WDACSnapshot }
    $evidence = Get-OsConfigDefenderEvidence @evidenceParameters
    $errors = New-Object 'System.Collections.Generic.List[object]'
    foreach ($source in @('Preferences', 'RuntimeStatus', 'OSConfig', 'RSoPSettings', 'RSoPGpos', 'WDAC', 'WDACPolicyInfo')) {
        if (-not $evidence[$source].Collected) { $errors.Add([pscustomobject]@{ Source = $source; Message = $evidence[$source].Message }) }
        foreach ($diagnostic in $evidence[$source].Diagnostics) { $errors.Add($diagnostic) }
    }
    $wdac = [pscustomobject]@{
        NodeName = $Node; PolicyMode = $null; Expected = 'Enforced'; Collected = $evidence.WDAC.Collected
        Result = 'WARNING'; Message = $evidence.WDAC.Message
    }
    if ($wdac.Collected) {
        $wdac.NodeName = $evidence.WDAC.Rows[0].NodeName
        $wdac.PolicyMode = $evidence.WDAC.Rows[0].PolicyMode
        $wdac.Result = if ($wdac.PolicyMode -eq 'Enforced') { 'PASS' } else { 'WARNING' }
        $wdac.Message = if ($wdac.Result -eq 'PASS') { 'App Control policy mode is Enforced.' } else { "App Control policy mode is '$($wdac.PolicyMode)'; expected Enforced." }
    } else { $wdac.Message = "App Control policy mode unavailable; enforcement could not be verified. $($wdac.Message)" }
    $preferences = @{}
    if ($evidence.Preferences.Collected) {
        try {
            $preference = [pscustomobject]$evidence.Preferences.Rows[0]
            if (-not $preference.PSObject.Properties['AttackSurfaceReductionRules_Ids'] -or -not $preference.PSObject.Properties['AttackSurfaceReductionRules_Actions']) { throw 'Defender ASR preference arrays unavailable.' }
            $identifiers = @()
            $actions = @()
            if ($null -ne $preference.AttackSurfaceReductionRules_Ids) { $identifiers = @($preference.AttackSurfaceReductionRules_Ids) }
            if ($null -ne $preference.AttackSurfaceReductionRules_Actions) { $actions = @($preference.AttackSurfaceReductionRules_Actions) }
            if ($identifiers.Count -ne $actions.Count) { throw 'Defender ASR identifier/action array lengths disagree.' }
            for ($index = 0; $index -lt $identifiers.Count; $index++) {
                $identifier = [string]$identifiers[$index]
                if ($identifier -notmatch '^[0-9a-fA-F]{8}(-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$' -or $preferences.ContainsKey($identifier)) { throw 'Invalid or duplicate Defender ASR identifier.' }
                $preferences[$identifier] = $actions[$index]
            }
        } catch {
            $preferences = @{}
            $evidence.Preferences.Collected = $false
            $evidence.Preferences.Message = $_.Exception.Message
            $errors.Add([pscustomobject]@{ Source = 'Preferences'; Message = $_.Exception.Message })
        }
    }
    $catalog = @{}
    if ($null -ne $BaselineAssessment) {
        foreach ($setting in $BaselineAssessment.Settings) {
            if ($setting.Name -like 'ASR*' -and $setting.RegistryValue -match '^[0-9a-fA-F]{8}(-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$') {
                if ($catalog.ContainsKey([string]$setting.RegistryValue)) { throw 'Duplicate baseline ASR identifier.' }
                $catalog[[string]$setting.RegistryValue] = $setting
            }
        }
    }
    $expectedAvailable = $catalog.Count -gt 0
    if (-not $expectedAvailable) { $errors.Add([pscustomobject]@{ Source = 'Baseline'; Message = 'Applicable baseline ASR expectations unavailable; reported values are evidence only.' }) }
    foreach ($identifier in $preferences.Keys) {
        if (-not $catalog.ContainsKey($identifier)) {
            $catalog[$identifier] = [pscustomobject]@{ Name = "UnmappedASR:$identifier"; RegistryValue = $identifier; Expected = $null; Severity = $null }
        }
    }
    $rows = New-Object 'System.Collections.Generic.List[object]'
    $counts = [ordered]@{ Total = 0; Pass = 0; Warning = 0; Skipped = 0 }
    foreach ($identifier in @($catalog.Keys | Sort-Object)) {
        $setting = $catalog[$identifier]
        $sources = [ordered]@{}
        $sources.DefenderReported = New-OsConfigAsrObservation -Collected $evidence.Preferences.Collected -Present ($evidence.Preferences.Collected -and $preferences.ContainsKey($identifier)) -Value $preferences[$identifier] -Message $evidence.Preferences.Message
        $osSettings = @($evidence.OSConfig.Rows | Where-Object { $_.Name -eq $setting.Name })
        $osValue = $null
        $osDefault = $null
        if ($osSettings.Count -eq 1) { $osValue = $osSettings[0].Value; $osDefault = $osSettings[0].Default }
        $sources.OSConfig = New-OsConfigAsrObservation -Collected ($evidence.OSConfig.Collected -and $osSettings.Count -le 1) -Present ($osSettings.Count -eq 1 -and $null -ne $osValue) -Value $osValue -Message $evidence.OSConfig.Message
        foreach ($registrySource in @('PolicyRegistry', 'LocalRegistry')) {
            $registryPath = if ($registrySource -eq 'PolicyRegistry') { 'HKLM:\SOFTWARE\Policies\Microsoft\Windows Defender\Windows Defender Exploit Guard\ASR\Rules' } else { 'HKLM:\SOFTWARE\Microsoft\Windows Defender\Windows Defender Exploit Guard\ASR\Rules' }
            $registry = Get-OsConfigBaselineRegistryValue -Path $registryPath -Name $identifier
            $sources[$registrySource] = New-OsConfigAsrObservation -Collected $registry.Collected -Present $registry.Present -Value $registry.Value -Message $registry.Error
            Add-Member -InputObject $sources[$registrySource] -NotePropertyName ValueType -NotePropertyValue $registry.Type
        }
        foreach ($source in @($sources.Keys)) {
            $observation = $sources[$source]
            $outcome = 'SKIPPED'
            if ([string]::IsNullOrWhiteSpace([string]$setting.Expected)) { $observation.Message = 'No validated baseline expectation for this ASR identifier.' }
            elseif (-not $observation.Collected) {
                if (-not $observation.Message) { $observation.Message = 'Source observation unavailable or ambiguous.' }
            }
            elseif (-not $observation.Present) { $observation.Message = 'ASR setting not reported by this source; no Disabled value or deviation inferred.' }
            elseif ($observation.Value -eq 5) { $observation.Message = 'Source explicitly reports NotConfigured (5); no Disabled value or deviation inferred.' }
            else {
                $evaluation = Test-OsConfigBaselineRule -Rule $setting.Expected -Observed $observation.Value -Present $observation.Present
                if (-not $evaluation.Supported) { $observation.Message = $evaluation.Reason }
                elseif ($source -in @('PolicyRegistry', 'LocalRegistry') -and $observation.Present -and $observation.ValueType -ne 'DWord') {
                    $outcome = 'WARNING'; $observation.Message = 'ASR registry value type differs from expected REG_DWORD.'
                } else {
                    $outcome = if ($evaluation.Matches) { 'PASS' } else { 'WARNING' }
                    $observation.Message = if ($evaluation.Matches) { 'Matches baseline expected value.' } else { 'Differs from baseline expected value; not an automatic deployment blocker.' }
                }
            }
            Add-Member -InputObject $observation -NotePropertyName Result -NotePropertyValue $outcome
            if (-not $observation.Collected) { $observation.Present = $null }
        }
        $absenceWarning = $DriftControlEnabled -eq $true -and
            -not [string]::IsNullOrWhiteSpace([string]$setting.Expected) -and
            @($sources.Values | Where-Object { -not $_.Collected -or $_.Present -ne $false }).Count -eq 0 -and
            (Test-OsConfigBaselineRule -Rule $setting.Expected -Observed 1 -Present $true).Supported
        if ($absenceWarning) {
            foreach ($observation in $sources.Values) {
                $observation.Result = 'WARNING'
                $observation.Message = 'Expected ASR configuration was not observed while Drift Control is enabled.'
            }
        }
        $outcomes = @($sources.Values | ForEach-Object { $_.Result })
        $complete = Test-OsConfigAsrEvidenceComplete -Expected $setting.Expected -Sources $sources
        $result = if ($outcomes -contains 'WARNING') { 'WARNING' } elseif ($outcomes -contains 'PASS') { 'PASS' } else { 'SKIPPED' }
        $values = @($sources.Values | Where-Object { $_.Collected -and $_.Present -and $_.Value -ne 5 } | Select-Object -ExpandProperty Value -Unique)
        $severity = switch ([string]$setting.Severity) { 'Critical' { 'High' }; 'Important' { 'High' }; 'Informational' { 'Low' }; default { 'Medium' } }
        $rows.Add([pscustomobject]@{
            CheckId = [string]$setting.Name; RuleId = $identifier; Severity = $severity; BaselineSeverity = $setting.Severity
            Expected = $setting.Expected; OSConfigDefault = $osDefault; Result = $result; EvidenceComplete = $complete
            Sources = [pscustomobject]$sources; SourceDisagreement = $values.Count -gt 1
            GpoEvidence = Get-OsConfigAsrGpoEvidence -RuleId $identifier -Evidence $evidence
        })
        switch ($result) {
            'PASS' { $counts.Pass++ }
            'WARNING' { $counts.Warning++ }
            'SKIPPED' { $counts.Skipped++ }
        }
    }
    $counts.Total = $rows.Count
    $complete = $expectedAvailable -and $rows.Count -gt 0 -and @($rows.ToArray() | Where-Object { -not $_.EvidenceComplete }).Count -eq 0 -and $wdac.Collected
    $report = [ordered]@{
        SchemaVersion = '1.1'; Node = $Node; CapturedAtUtc = [datetime]::UtcNow.ToString('o')
        CheckId = 'DefenderAsr'; Severity = 'High'
        Result = $(if ($counts.Warning -or $wdac.Result -eq 'WARNING') { 'WARNING' } elseif ($counts.Total -gt 0 -and $counts.Skipped -eq 0) { 'PASS' } else { 'SKIPPED' })
        EvidenceComplete = $complete; Counts = $counts; Profile = $null; Source = $null; Snapshot = $null; Sha256 = $null
        EvidenceCompletenessBasis = 'CollectedSources'
        DriftControlEnabled = $DriftControlEnabled
        Message = "ASR configured-source comparisons and reported WDAC policy mode. Defender-reported preferences and RSoP assignments do not prove ASR runtime enforcement or policy authorship. Recorded collection/dependency diagnostics: $($errors.Count); diagnostics do not replace configuration comparisons."
        RuntimeStatus = $(if ($evidence.RuntimeStatus.Collected) { $evidence.RuntimeStatus.Rows[0] } else { $null })
        WDAC = $wdac
        WDACPolicyInfo = [pscustomobject]@{
            Collected = $evidence.WDACPolicyInfo.Collected
            Result = $(if ($evidence.WDACPolicyInfo.Collected) { 'INFO' } else { 'SKIPPED' })
            Message = $(if (-not $evidence.WDACPolicyInfo.Collected) { "Local WDAC policy inventory unavailable: $($evidence.WDACPolicyInfo.Message)" } elseif ($evidence.WDACPolicyInfo.Rows.Count -eq 0) { 'No local WDAC policies were returned. Inventory only; no health assessment inferred.' } else { 'Local WDAC policy inventory only; policy attributes do not affect the WDAC mode assessment.' })
            Policies = @($evidence.WDACPolicyInfo.Rows)
        }
        CollectionErrors = $errors.ToArray(); Settings = $rows.ToArray()
    }
    if ($null -ne $BaselineAssessment) {
        foreach ($field in @('Profile', 'Source', 'Snapshot', 'Sha256')) { $report[$field] = $BaselineAssessment.$field }
    }
    $report | ConvertTo-Json -Depth 14 | Out-File -LiteralPath $path -Encoding utf8 -Force -ErrorAction Stop
    return [pscustomobject]$report
}

function Get-OsConfigDefenderHealthSummary {
    [CmdletBinding()]
    param([string]$ExportPath, [string[]]$Nodes)
    $details = New-Object 'System.Collections.Generic.List[object]'
    $evaluated = New-Object 'System.Collections.Generic.List[string]'
    $missing = New-Object 'System.Collections.Generic.List[string]'
    $counts = [ordered]@{ Total = 0; Pass = 0; Warning = 0; Skipped = 0 }
    foreach ($node in $Nodes) {
        try {
            $detail = Get-Content -LiteralPath (Join-Path (Join-Path $ExportPath $node) "$node-Defender.json") -Raw -ErrorAction Stop | ConvertFrom-Json -ErrorAction Stop
            if ($detail.SchemaVersion -notin @('1.0', '1.1') -or $detail.Node -ne $node -or $detail.CheckId -ne 'DefenderAsr' -or $detail.Settings -isnot [array] -or $detail.CollectionErrors -isnot [array] -or $detail.EvidenceComplete -isnot [bool]) { throw 'Invalid or unsupported Defender assessment schema, identity or shape.' }
            if ($detail.SchemaVersion -eq '1.1' -and -not $detail.PSObject.Properties['WDAC']) { throw 'Defender schema 1.1 requires WDAC assessment evidence.' }
            $collectedSourcesBasis = $null -ne $detail.PSObject.Properties['EvidenceCompletenessBasis']
            if ($collectedSourcesBasis -and ($detail.EvidenceCompletenessBasis -isnot [string] -or $detail.EvidenceCompletenessBasis -cne 'CollectedSources')) { throw 'Unsupported Defender evidence completeness basis.' }
            if ($detail.PSObject.Properties['DriftControlEnabled'] -and $null -ne $detail.DriftControlEnabled -and $detail.DriftControlEnabled -isnot [bool]) { throw 'Invalid Defender Drift Control observation.' }
            $rowCounts = @{ Total = $detail.Settings.Count; Pass = 0; Warning = 0; Skipped = 0 }
            $identifiers = @{}
            foreach ($setting in $detail.Settings) {
                if ($setting.Result -notin @('PASS', 'WARNING', 'SKIPPED') -or [string]::IsNullOrWhiteSpace([string]$setting.CheckId) -or $setting.RuleId -notmatch '^[0-9a-fA-F]{8}(-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$' -or $identifiers.ContainsKey([string]$setting.RuleId)) { throw 'Invalid or duplicate Defender rule.' }
                $identifiers[[string]$setting.RuleId] = $true
                $outcomes = @()
                foreach ($source in @('OSConfig', 'DefenderReported', 'PolicyRegistry', 'LocalRegistry')) {
                    if (-not $setting.Sources.PSObject.Properties[$source] -or $setting.Sources.$source.Result -notin @('PASS', 'WARNING', 'SKIPPED')) { throw 'Invalid Defender source comparison.' }
                    $observation = $setting.Sources.$source
                    if ($observation.Collected -isnot [bool] -or ($null -ne $observation.Present -and $observation.Present -isnot [bool]) -or -not $observation.PSObject.Properties['Value']) { throw 'Invalid Defender source observation.' }
                    if ($observation.Result -ne 'SKIPPED' -and (-not $observation.Collected -or $null -eq $observation.Present -or [string]::IsNullOrWhiteSpace([string]$setting.Expected))) { throw 'Defender comparison lacks collected evidence or an expectation.' }
                    $outcomes += $setting.Sources.$source.Result
                }
                $absenceWarning = $detail.PSObject.Properties['DriftControlEnabled'] -and $detail.DriftControlEnabled -eq $true -and
                    -not [string]::IsNullOrWhiteSpace([string]$setting.Expected) -and
                    @(@('OSConfig', 'DefenderReported', 'PolicyRegistry', 'LocalRegistry') | Where-Object { -not $setting.Sources.$_.Collected -or $setting.Sources.$_.Present -ne $false }).Count -eq 0 -and
                    (Test-OsConfigBaselineRule -Rule $setting.Expected -Observed 1 -Present $true).Supported
                foreach ($source in @('OSConfig', 'DefenderReported', 'PolicyRegistry', 'LocalRegistry')) {
                    $observation = $setting.Sources.$source
                    if ($observation.Present -eq $false -and $observation.Result -ne 'SKIPPED' -and (-not $absenceWarning -or $observation.Result -ne 'WARNING')) { throw 'Defender absence warning lacks enabled node-local Drift Control or complete absence evidence.' }
                }
                if ($setting.GpoEvidence.Collected -isnot [bool] -or $setting.GpoEvidence.Assignments -isnot [array]) { throw 'Invalid Defender RSoP evidence shape.' }
                $expectedResult = if ($outcomes -contains 'WARNING') { 'WARNING' } elseif ($outcomes -contains 'PASS') { 'PASS' } else { 'SKIPPED' }
                $expectedComplete = $outcomes -notcontains 'SKIPPED' -and -not ($absenceWarning -and $outcomes -contains 'WARNING')
                if ($collectedSourcesBasis) { $expectedComplete = Test-OsConfigAsrEvidenceComplete -Expected $setting.Expected -Sources $setting.Sources }
                if ($setting.Result -ne $expectedResult -or $setting.EvidenceComplete -isnot [bool] -or $setting.EvidenceComplete -ne $expectedComplete) { throw 'Defender rule result disagrees with source comparisons.' }
                $rowCounts[[string]$setting.Result]++
            }
            foreach ($field in @('Total', 'Pass', 'Warning', 'Skipped')) {
                if (-not $detail.Counts.PSObject.Properties[$field] -or $null -eq $detail.Counts.$field -or [string]$detail.Counts.$field -cne [string]$rowCounts[$field]) { throw 'Invalid Defender assessment counts.' }
            }
            $complete = $detail.Settings.Count -gt 0 -and @($detail.Settings | Where-Object { -not $_.EvidenceComplete }).Count -eq 0
            $expectedResult = if ($rowCounts.Warning) { 'WARNING' } elseif ($rowCounts.Total -gt 0 -and $rowCounts.Skipped -eq 0) { 'PASS' } else { 'SKIPPED' }
            if ($detail.PSObject.Properties['WDAC']) {
                $wdac = $detail.WDAC
                if ($null -eq $wdac -or $wdac.Collected -isnot [bool] -or $wdac.Expected -ne 'Enforced' -or -not $wdac.PSObject.Properties['PolicyMode'] -or [string]::IsNullOrWhiteSpace([string]$wdac.Message)) { throw 'Invalid WDAC assessment shape.' }
                if (([string]$wdac.NodeName -split '\.')[0] -ne ($node -split '\.')[0]) { throw 'WDAC node identity does not match the assessment.' }
                if ($wdac.Collected -and ($wdac.PolicyMode -isnot [string] -or [string]::IsNullOrWhiteSpace($wdac.PolicyMode))) { throw 'WDAC comparison lacks a reported policy mode.' }
                if (-not $wdac.Collected -and $null -ne $wdac.PolicyMode) { throw 'Uncollected WDAC assessment contains a policy mode.' }
                $wdacResult = if ($wdac.Collected -and $wdac.PolicyMode -eq 'Enforced') { 'PASS' } else { 'WARNING' }
                if ($wdac.Result -ne $wdacResult) { throw 'WDAC result disagrees with reported policy mode.' }
                if ($wdacResult -eq 'WARNING') { $expectedResult = 'WARNING' }
                $complete = $complete -and $wdac.Collected
            }
            if ($detail.Result -ne $expectedResult -or $detail.EvidenceComplete -ne $complete) { throw 'Defender assessment outcome disagrees with evidence.' }
        } catch {
            $detail = [pscustomobject]@{
                Node = $node; CheckId = 'DefenderAsr'; Severity = 'High'; Result = 'SKIPPED'; EvidenceComplete = $false
                Message = 'Defender evidence unavailable or invalid.'; CapturedAtUtc = $null
                Profile = $null; Source = $null; Snapshot = $null; Sha256 = $null
                Counts = [pscustomobject]@{ Total = 0; Pass = 0; Warning = 0; Skipped = 0 }
                RuntimeStatus = $null; Settings = @(); CollectionErrors = @([pscustomobject]@{ Source = 'Assessment'; Message = $_.Exception.Message })
            }
        }
        if ($detail.SchemaVersion -eq '1.1' -or $detail.PSObject.Properties['WDACPolicyInfo']) {
            try {
                if (-not $detail.PSObject.Properties['WDACPolicyInfo']) { throw 'Defender schema 1.1 local WDAC policy inventory is missing.' }
                $info = $detail.WDACPolicyInfo
                if ($null -eq $info -or $info.Collected -isnot [bool] -or $info.Policies -isnot [array] -or [string]::IsNullOrWhiteSpace([string]$info.Message)) { throw 'Invalid local WDAC policy inventory shape.' }
                $infoResult = if ($info.Collected) { 'INFO' } else { 'SKIPPED' }
                if ($info.Result -ne $infoResult -or (-not $info.Collected -and $info.Policies.Count -gt 0)) { throw 'Local WDAC policy inventory outcome disagrees with collection state.' }
                foreach ($policy in $info.Policies) {
                    if ([string]::IsNullOrWhiteSpace([string]$policy.NodeName) -or ([string]$policy.NodeName -split '\.')[0] -ne ($node -split '\.')[0]) { throw 'Local WDAC policy inventory node identity does not match the assessment.' }
                }
            } catch {
                $detail | Add-Member -NotePropertyName WDACPolicyInfo -NotePropertyValue ([pscustomobject]@{ Collected = $false; Result = 'SKIPPED'; Message = "Local WDAC policy inventory unavailable: $($_.Exception.Message)"; Policies = @() }) -Force
                $detail.CollectionErrors = @($detail.CollectionErrors) + @([pscustomobject]@{ Source = 'WDACPolicyInfo'; Message = $_.Exception.Message })
            }
        }
        foreach ($field in @($counts.Keys)) { $counts[$field] += $detail.Counts.$field }
        if (($detail.Counts.Pass + $detail.Counts.Warning) -gt 0 -or ($detail.PSObject.Properties['WDAC'] -and $detail.WDAC.Collected)) { $evaluated.Add($node) }
        if (-not $detail.EvidenceComplete) { $missing.Add($node) }
        $details.Add($detail)
    }
    $complete = $Nodes.Count -gt 0 -and $missing.Count -eq 0
    $wdacWarningCount = @($details.ToArray() | Where-Object { $_.PSObject.Properties['WDAC'] -and $_.WDAC.Result -eq 'WARNING' }).Count
    return [ordered]@{
        CheckId = 'DefenderAsr'; Severity = 'High'; Result = $(if ($counts.Warning -or $wdacWarningCount) { 'WARNING' } elseif ($Nodes.Count -gt 0 -and @($details.ToArray() | Where-Object { $_.Result -ne 'PASS' }).Count -eq 0) { 'PASS' } else { 'SKIPPED' })
        EvidenceComplete = $complete; Counts = $counts; EvaluatedNodes = $evaluated.ToArray(); MissingNodes = $missing.ToArray()
        Message = "$($counts.Warning) ASR rule(s) with configuration warnings; $wdacWarningCount node(s) with WDAC warnings; $($missing.Count) node(s) with incomplete assessment evidence. ASR configuration is not proof of runtime enforcement."
        Details = $details.ToArray()
    }
}

function Test-OsConfigSuppressedDefenderHtmlError {
    [CmdletBinding()]
    param([string]$Source, [string]$Message)
    return $Source -ceq 'OSConfig' -and $Message -ceq 'Cannot find an overload for "TryParse" and the argument count: "2".'
}

function ConvertTo-OsConfigDefenderHtml {
    [CmdletBinding()]
    param($Detail, [string]$RelativePrefix = '')
    $html = New-Object Text.StringBuilder
    $displayErrors = @($Detail.CollectionErrors | Where-Object { -not (Test-OsConfigSuppressedDefenderHtmlError -Source $_.Source -Message $_.Message) })
    $displayMessage = [string]$Detail.Message
    if ($displayErrors.Count -lt $Detail.CollectionErrors.Count) {
        $diagnosticSummary = " Recorded collection/dependency diagnostics: $($Detail.CollectionErrors.Count); diagnostics do not replace configuration comparisons."
        $displaySummary = if ($displayErrors.Count) { " Displayed collection/dependency diagnostics: $($displayErrors.Count); diagnostics do not replace configuration comparisons." } else { '' }
        $displayMessage = $displayMessage.Replace($diagnosticSummary, $displaySummary)
    }
    $badge = switch ($Detail.Result) { 'WARNING' { 'badge-warn' }; 'PASS' { 'badge-ok' }; default { 'badge-na' } }
    [void]$html.Append("<h3>Defender / Attack Surface Reduction (ASR)</h3><p>Attack Surface Reduction (ASR) configured-source comparison only; reported settings do not prove runtime enforcement or policy authorship. Windows Defender Application Control (WDAC) mode and local policy inventory are shown separately below.</p><p><span class=`"badge $badge`">$([Net.WebUtility]::HtmlEncode([string]$Detail.Result))</span> $([Net.WebUtility]::HtmlEncode($displayMessage))</p>")
    [void]$html.Append("<p>Profile: $([Net.WebUtility]::HtmlEncode([string]$Detail.Profile)) | Captured UTC: $([Net.WebUtility]::HtmlEncode([string]$Detail.CapturedAtUtc)) | ASR Rules: $($Detail.Counts.Total) | Passed: $($Detail.Counts.Pass) | Warnings: $($Detail.Counts.Warning) | Skipped: $($Detail.Counts.Skipped)</p>")
    $notConfiguredCount = 0
    $unavailableCount = 0
    $otherSkippedCount = 0
    foreach ($setting in $Detail.Settings) {
        foreach ($source in @('OSConfig', 'DefenderReported', 'PolicyRegistry', 'LocalRegistry')) {
            $observation = $setting.Sources.$source
            if ($observation.Result -ne 'SKIPPED' -and -not ($observation.Result -eq 'WARNING' -and $observation.Collected -and $observation.Present -eq $false)) { continue }
            if (-not $observation.Collected) { $unavailableCount++ }
            elseif ($observation.Present -eq $false -or $observation.Value -eq 5) { $notConfiguredCount++ }
            else { $otherSkippedCount++ }
        }
    }
    $asrComplete = $Detail.Settings.Count -gt 0 -and ($notConfiguredCount + $unavailableCount + $otherSkippedCount) -eq 0
    $coverageText = if ($asrComplete) { 'Complete' } else { "Not all sources compared. Not configured: $notConfiguredCount; unavailable: $unavailableCount; other skipped comparisons: $otherSkippedCount." }
    if ($Detail.PSObject.Properties['EvidenceCompletenessBasis'] -and $Detail.EvidenceCompletenessBasis -ceq 'CollectedSources') {
        $collectionText = if ($Detail.EvidenceComplete) { 'Complete' } else { 'Incomplete' }
        [void]$html.Append("<p>Assessment evidence collection: $collectionText. Requires supported ASR expectations, all four source observations per rule and collected WDAC mode; successfully observed absence or NotConfigured (5) is collected evidence, not a passing comparison.</p>")
    }
    [void]$html.Append("<p>Source coverage: $coverageText</p>")
    [void]$html.Append('<p>Coverage counts are per-setting source comparisons, not failed rules. An unconfigured source is not a failed read or evidence of missing Local Group Policy settings. Assessment results remain separate from source coverage.</p>')
    [void]$html.Append("<p style=`"overflow-wrap:anywhere`">Baseline source: $([Net.WebUtility]::HtmlEncode([string]$Detail.Source))<br>Snapshot: $([Net.WebUtility]::HtmlEncode([string]$Detail.Snapshot))<br>SHA-256: $([Net.WebUtility]::HtmlEncode([string]$Detail.Sha256))</p>")
    if ($null -ne $Detail.CapturedAtUtc) {
        $artifactLink = $RelativePrefix + [uri]::EscapeDataString([string]$Detail.Node) + '/' + [uri]::EscapeDataString("$($Detail.Node)-Defender.json")
        [void]$html.Append("<p><a href=`"$([Net.WebUtility]::HtmlEncode($artifactLink))`">Defender JSON evidence</a></p>")
    }
    [void]$html.Append('<h4>ASR Source Comparison</h4><p style="overflow-wrap:anywhere">Policy registry: HKLM:\SOFTWARE\Policies\Microsoft\Windows Defender\Windows Defender Exploit Guard\ASR\Rules<br>Non-policy registry: HKLM:\SOFTWARE\Microsoft\Windows Defender\Windows Defender Exploit Guard\ASR\Rules<br>These locations do not establish whether local Group Policy, domain Group Policy or another management mechanism supplied a setting.</p><div class="table-wrapper"><table><tr><th>Setting / Rule ID</th><th>Result</th><th>Baseline Expected</th><th>OSConfig Reported</th><th>Defender Reported</th><th>Policy Registry</th><th>Non-policy Registry</th></tr>')
    foreach ($setting in $Detail.Settings) {
        $rowClass = if ($setting.Result -eq 'WARNING') { 'asr-warning' } else { 'asr-policy' }
        $resultBadge = switch ($setting.Result) { 'WARNING' { 'badge-warn' }; 'PASS' { 'badge-ok' }; default { 'badge-na' } }
        [void]$html.Append("<tr class=`"$rowClass`"><td style=`"overflow-wrap:anywhere`">$([Net.WebUtility]::HtmlEncode([string]$setting.CheckId))<br>$([Net.WebUtility]::HtmlEncode([string]$setting.RuleId))</td><td><span class=`"badge $resultBadge`">$([Net.WebUtility]::HtmlEncode([string]$setting.Result))</span></td><td>$([Net.WebUtility]::HtmlEncode([string]$setting.Expected))</td>")
        foreach ($source in @('OSConfig', 'DefenderReported', 'PolicyRegistry', 'LocalRegistry')) {
            $observation = $setting.Sources.$source
            $label = if (-not $observation.Collected) { 'Unavailable' } elseif ($null -ne $observation.Value) { "$($observation.Action) ($($observation.Value))" } else { $observation.Action }
            $cellClass = switch ($observation.Result) { 'WARNING' { 'cell-warn' }; default { '' } }
            $observationMessage = if (Test-OsConfigSuppressedDefenderHtmlError -Source $source -Message $observation.Message) { '' } else { [string]$observation.Message }
            [void]$html.Append("<td class=`"$cellClass`">$([Net.WebUtility]::HtmlEncode([string]$label))<br><small>$([Net.WebUtility]::HtmlEncode($observationMessage))</small></td>")
        }
        [void]$html.Append('</tr>')
    }
    [void]$html.Append('</table></div><h4>Defender Operating Status</h4>')
    if ($null -ne $Detail.RuntimeStatus) {
        [void]$html.Append('<div class="table-wrapper"><table><tr><th>Property</th><th>Reported Value</th></tr>')
        foreach ($property in $Detail.RuntimeStatus.PSObject.Properties) {
            $reportedValue = if ($null -eq $property.Value) { 'Not reported' } else { [string]$property.Value }
            [void]$html.Append("<tr><td>$([Net.WebUtility]::HtmlEncode($property.Name))</td><td>$([Net.WebUtility]::HtmlEncode($reportedValue))</td></tr>")
        }
        [void]$html.Append('</table></div>')
    } else { [void]$html.Append('<p>Defender operating status unavailable.</p>') }
    [void]$html.Append('<h4>WDAC / App Control Policy Mode</h4>')
    if ($Detail.PSObject.Properties['WDAC'] -and $null -ne $Detail.WDAC) {
        $wdac = $Detail.WDAC
        $wdacBadge = if ($wdac.Result -eq 'PASS') { 'badge-ok' } else { 'badge-warn' }
        $mode = if ($wdac.Collected) { $wdac.PolicyMode } else { 'Unavailable' }
        [void]$html.Append("<div class=`"table-wrapper`"><table><tr><th>Node</th><th>PolicyMode</th><th>Expected</th><th>Result</th><th>Evidence</th></tr><tr><td>$([Net.WebUtility]::HtmlEncode([string]$wdac.NodeName))</td><td>$([Net.WebUtility]::HtmlEncode([string]$mode))</td><td>Enforced</td><td><span class=`"badge $wdacBadge`">$([Net.WebUtility]::HtmlEncode([string]$wdac.Result))</span></td><td>$([Net.WebUtility]::HtmlEncode([string]$wdac.Message))</td></tr></table></div>")
    } else { [void]$html.Append('<p><span class="badge badge-na">Not collected</span> WDAC policy mode was not collected in this assessment.</p>') }
    [void]$html.Append('<h4>Local WDAC Policy Inventory</h4>')
    if ($Detail.PSObject.Properties['WDACPolicyInfo'] -and $null -ne $Detail.WDACPolicyInfo) {
        $info = $Detail.WDACPolicyInfo
        $infoBadge = if ($info.Collected) { 'badge-info' } else { 'badge-na' }
        [void]$html.Append("<p><span class=`"badge $infoBadge`">$([Net.WebUtility]::HtmlEncode([string]$info.Result))</span> $([Net.WebUtility]::HtmlEncode([string]$info.Message))</p>")
        if ($info.Policies.Count -gt 0) {
            $fields = @('NodeName', 'PolicyMode', 'PolicyGuid', 'PolicyName', 'PolicyVersion', 'Status', 'PolicyScope', 'MicrosoftProvided', 'IsSigned')
            [void]$html.Append('<div class="table-wrapper"><table><tr>')
            foreach ($field in $fields) { [void]$html.Append("<th>$field</th>") }
            [void]$html.Append('</tr>')
            foreach ($policy in $info.Policies) {
                [void]$html.Append('<tr>')
                foreach ($field in $fields) {
                    $value = if ($null -eq $policy.$field) { 'Not reported' } else { [string]$policy.$field }
                    [void]$html.Append("<td style=`"overflow-wrap:anywhere`">$([Net.WebUtility]::HtmlEncode($value))</td>")
                }
                [void]$html.Append('</tr>')
            }
            [void]$html.Append('</table></div>')
        }
    } else { [void]$html.Append('<p><span class="badge badge-na">Not collected</span> Local WDAC policy inventory was not collected in this assessment.</p>') }
    [void]$html.Append('<h4>RSoP Assignment Evidence</h4><p>Assignments do not prove which management channel supplied Defender-reported values.</p><div class="table-wrapper"><table><tr><th>Setting</th><th>GPO / ID</th><th>Assigned Value</th><th>Precedence</th><th>Scope / Evidence</th></tr>')
    foreach ($setting in ($Detail.Settings | Sort-Object @{ Expression = { $_.GpoEvidence.Assignments.Count -eq 0 } }, CheckId)) {
        if ($setting.GpoEvidence.Assignments.Count -eq 0) {
            $label = if ($setting.GpoEvidence.Collected) { 'No validated assignment' } else { 'Unavailable' }
            [void]$html.Append("<tr><td>$([Net.WebUtility]::HtmlEncode([string]$setting.CheckId))</td><td>$label</td><td></td><td></td><td>$([Net.WebUtility]::HtmlEncode([string]$setting.GpoEvidence.Message))</td></tr>")
        } else {
            foreach ($assignment in $setting.GpoEvidence.Assignments) {
                $assignedValue = if ($assignment.PSObject.Properties['Value'] -and $null -ne $assignment.Value) { $assignment.Value -join ', ' } else { 'Unavailable or deleted' }
                [void]$html.Append("<tr><td>$([Net.WebUtility]::HtmlEncode([string]$setting.CheckId))</td><td class=`"cell-warn`">$([Net.WebUtility]::HtmlEncode("$($assignment.GPOName) [$($assignment.GPOId)]"))</td><td>$([Net.WebUtility]::HtmlEncode($assignedValue))</td><td>$([Net.WebUtility]::HtmlEncode([string]$assignment.Precedence))</td><td>$([Net.WebUtility]::HtmlEncode([string]$assignment.Scope))</td></tr>")
            }
        }
    }
    [void]$html.Append('</table></div>')
    if ($displayErrors.Count -or -not $Detail.CollectionErrors.Count) { [void]$html.Append('<h4>Collection Errors</h4>') }
    foreach ($errorItem in $displayErrors) { [void]$html.Append("<p>$([Net.WebUtility]::HtmlEncode([string]$errorItem.Source)): $([Net.WebUtility]::HtmlEncode([string]$errorItem.Message))</p>") }
    if (-not $Detail.CollectionErrors.Count) { [void]$html.Append('<p>No source-query errors recorded. Skipped setting comparisons remain visible above.</p>') }
    return $html.ToString().Replace('<table>', '<table class="policy-sortable">')
}
# SIG # Begin signature block
# MIInUAYJKoZIhvcNAQcCoIInQTCCJz0CAQExDzANBglghkgBZQMEAgEFADB5Bgor
# BgEEAYI3AgEEoGswaTA0BgorBgEEAYI3AgEeMCYCAwEAAAQQH8w7YFlLCE63JNLG
# KX7zUQIBAAIBAAIBAAIBAAIBADAxMA0GCWCGSAFlAwQCAQUABCDXqUOkU7g0lIr2
# lFQohJLWJL6BmNcRahX4pODok196c6CCDMkwggYEMIID7KADAgECAhMzAAACHPrN
# xZvoL37EAAAAAAIcMA0GCSqGSIb3DQEBCwUAMFcxCzAJBgNVBAYTAlVTMR4wHAYD
# VQQKExVNaWNyb3NvZnQgQ29ycG9yYXRpb24xKDAmBgNVBAMTH01pY3Jvc29mdCBD
# b2RlIFNpZ25pbmcgUENBIDIwMjQwHhcNMjYwNDE2MTg1OTQxWhcNMjcwNDE1MTg1
# OTQxWjB0MQswCQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UE
# BxMHUmVkbW9uZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMR4wHAYD
# VQQDExVNaWNyb3NvZnQgQ29ycG9yYXRpb24wggEiMA0GCSqGSIb3DQEBAQUAA4IB
# DwAwggEKA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