AsymmetricKeySize - Test is not failing for keys shorter than 2048
jpomfret opened this issue · 0 comments
jpomfret commented
Bug Report
General Troubleshooting steps
- Verified running the latest release of dbachecks?
Does (Find-Module dbachecks).Version match (Get-Module dbachecks).Version.ToString()
Yep
- Verified errors are not related to permissions?
- Can duplicate in new/clean PowerShell session (clean =
powershell -NoProfile
)?
Version Information
- Operating System (Name|Version): Windows 11
- PowerShell Version: 7.2
- SQL Server (Edition|Version): 2019
Description of Bug
The AsymmetricKeySize test doesn't fail if there is a key with length less than 2048:
Invoke-DbcCheck -SqlInstance 'localhost,7401' -SqlCredential $cred -Check AsymmetricKeySize