Fix code logic in BitLocker check (issue #87)

This commit is contained in:
itm4n
2026-04-16 20:25:29 +02:00
parent 7c2a7eda49
commit c1e4443e75
2 changed files with 3 additions and 0 deletions
+1
View File
@@ -5,6 +5,7 @@
### Fixed
- Added TPM vendor IDs to fix improper TPM type resolution (issue #86).
- Properly set "Vulnerable" flag in BitLocker check (issue #87).
## 2026-04-10
+2
View File
@@ -521,6 +521,8 @@ function Invoke-BitLockerCheck {
$Config | Add-Member -MemberType "NoteProperty" -Name "Protectors" -Value ($Protectors -join ", ")
if ($TpmOnly) {
$Vulnerable = $true
$DescriptionElements += "A TPM protector is configured without a second factor of authentication (TPM only)."
if ($null -ne $TpmDeviceInformation) {