docs: archive A01 static size evidence
This commit is contained in:
@@ -45,4 +45,23 @@ if (-not (Test-Path -LiteralPath $effect)) {
|
||||
throw "Missing archived A01 effect: $effect"
|
||||
}
|
||||
|
||||
$screenDirectory = Split-Path -Parent $effect
|
||||
$staticEffects = @(
|
||||
(ConvertFrom-Utf8Base64 'QTAxLeWQr+WKqOeZu+W9leW8leWvvC3moIXmoLzpqozmlLYtMzIweDU2OC5wbmc='),
|
||||
(ConvertFrom-Utf8Base64 'QTAxLeWQr+WKqOeZu+W9leW8leWvvC3moIXmoLzpqozmlLYtMzYweDY0MC5wbmc='),
|
||||
(ConvertFrom-Utf8Base64 'QTAxLeWQr+WKqOeZu+W9leW8leWvvC3moIXmoLzpqozmlLYtMzYweDgwMC5wbmc='),
|
||||
(ConvertFrom-Utf8Base64 'QTAxLeWQr+WKqOeZu+W9leW8leWvvC3moIXmoLzpqozmlLYtNDEyeDkxNS5wbmc=')
|
||||
)
|
||||
|
||||
foreach ($staticEffect in $staticEffects) {
|
||||
if (-not (Test-Path -LiteralPath (Join-Path $screenDirectory $staticEffect))) {
|
||||
throw "Missing static A01 evidence: $staticEffect"
|
||||
}
|
||||
}
|
||||
|
||||
$staticEvidenceRule = ConvertFrom-Utf8Base64 '6Z2Z5oCB6K6+6K6h6aqM5pS25bey6KaG55uW'
|
||||
if ($record -notmatch [regex]::Escape($staticEvidenceRule)) {
|
||||
throw "Missing static A01 evidence rule: $staticEvidenceRule"
|
||||
}
|
||||
|
||||
Write-Output 'A01-DESIGN-RECORD-AUDIT PASS'
|
||||
|
||||
Reference in New Issue
Block a user