[Bug]: Detect-SecureBootCertUpdateStatus.ps1 fails on valid OutputPath
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 48/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- powershell
- 領域
- security
調査の方向性
まず C:\Windows\SecureBoot\ExampleRolloutScripts にある Detect-SecureBootCertUpdateStatus.ps1 を探し、issue にはまだこの repository に存在しないと記載されていることを確認します。OutputPath の検証を読み、report にある両方のコマンドを Windows で再現します。C:\Temp\SecureBootTest のようなドライブレター付きのパスが受け入れられ、期待される JSON ファイルが書き込まれれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Is there an existing issue for this?
- I have searched existing issues
Current Behavior
I hope issues regarding C:\Windows\SecureBoot\ExampleRolloutScripts belong here.
If not, could you point me to the right team?
Local Testing (Sample Secure Boot E2E Automation Guide) instructs to test the script locally using following command:
& .\Detect-SecureBootCertUpdateStatus.ps1 -OutputPath "C:\Temp\SecureBootTest"`
Result: Invalid OutputPath specified, outputting to stdout
Cause: Detect-SecureBootCertUpdateStatus.ps1 does not accept filepaths that include :, like C:\
# Validate OutputPath - skip if it looks like a help request or has invalid chars
if ($OutputPath -match '^[/\-]' -or $OutputPath -match '[<>:"|?*]') {
Write-Host "Invalid OutputPath specified, outputting to stdout" -ForegroundColor Yellow
Replacing the path C:\ with \\localhost\c$\ is accepted and generates the correct JSON file.
Expected Behavior
A valid OutputPath should be accepted and generate the JSON output.
& .\Detect-SecureBootCertUpdateStatus.ps1 -OutputPath "C:\Temp\SecureBootTest"`
Should Result: JSON saved to: C:\Temp\SecureBootTest\{Redacted}_latest.json
Steps To Reproduce
Current Workaround
cd C:\Windows\SecureBoot\ExampleRolloutScripts\
& .\Detect-SecureBootCertUpdateStatus.ps1 -OutputPath "C:\Temp\SecureBootTest"
& .\Detect-SecureBootCertUpdateStatus.ps1 -OutputPath "\\localhost\c$\Temp\SecureBootTest"
Result 1: Invalid OutputPath specified, outputting to stdout
Result 2: JSON saved to: \\localhost\c$\Temp\SecureBootTest\{Redacted}_latest.json
Build Environment
- OS(s): Windows 11 25H2 (Build 26200.8457) - May 12, 2026
Version Information
'C:\Windows\SecureBoot\ExampleRolloutScripts' not part of this repository yet.
Urgency
Low
Are you going to fix this?
Someone else needs to fix it
Do you need maintainer feedback?
No maintainer feedback needed
Anything else?
No response
- 主要言語
- Python
- スター
- 289
- フォーク
- 89
- 平均マージ
- 3日 10時間
- マージ済み PR(30日)
- 7
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
microsoft/secureboot_objects のほかの issue
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
microsoft/secureboot_objects#471 ·
-
state:needs-owner state:needs-triage type:bug urgency:high
難易度 4/5 3〜5日 初心者へのやさしさ 55/100
microsoft/secureboot_objects#467 · コメント 3 件 ·
-
state:needs-triage type:feature-request urgency:low
難易度 3/5 1〜2日 初心者へのやさしさ 55/100
microsoft/secureboot_objects#466 ·
-
state:needs-triage type:feature-request urgency:low
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
microsoft/secureboot_objects#462 · コメント 3 件 ·
-
state:needs-owner state:needs-triage type:bug urgency:low
難易度 3/5 1〜2日 初心者へのやさしさ 68/100
microsoft/secureboot_objects#424 · コメント 6 件 ·
microsoft/secureboot_objects の issue をすべて見る
似ている issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
use-agent-os/agent-os#3314 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
BasedHardware/omi#15662 · コメント 1 件 ·
-
documentation help wanted
難易度 2/5 1〜3時間 初心者へのやさしさ 90/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
AiursoftWeb/AnduinOS-2#19 ·