Bug Report
General Troubleshooting steps
- [] Verified running the latest release of dbachecks? YES
Does (Find-Module dbachecks).Version match (Get-Module dbachecks).Version.ToString() YES
Version Information
- Operating System (Name|Version): Winodws 10 Enterprise | 19045.3570
- PowerShell Version: 5.1.19041.3570
Steps to Reproduce
Invoke-DbcCheck -SqlInstance DBC02 -Check LoginAuditSuccessful

Description of Bug
Instance.Assertion : LoginAuditSuccessful does not return data specified by CIS Benchmark documentation.
Test 5.4 Ensure 'SQL Server Audit' is set to capture both 'failed' and 'successful logins' is supposed to check if a SQL Audit has been created to capture both Successful and Failed Logins.

Currently LoginAuditSuccessful executes the exact same command as LoginAuditFailed.

This check should execute the Audit Query that is outlined in the CIS Benchmark or any DbaTools equivalent.
Bug Report
General Troubleshooting steps
Does
(Find-Module dbachecks).Version match (Get-Module dbachecks).Version.ToString()YESpowershell -NoProfile)? YESVersion Information
Steps to Reproduce
Invoke-DbcCheck -SqlInstance DBC02 -Check LoginAuditSuccessful

Description of Bug
Instance.Assertion : LoginAuditSuccessful does not return data specified by CIS Benchmark documentation.
Test 5.4 Ensure 'SQL Server Audit' is set to capture both 'failed' and 'successful logins' is supposed to check if a SQL Audit has been created to capture both Successful and Failed Logins.

Currently LoginAuditSuccessful executes the exact same command as LoginAuditFailed.

This check should execute the Audit Query that is outlined in the CIS Benchmark or any DbaTools equivalent.