-
-
Notifications
You must be signed in to change notification settings - Fork 146
Open
Description
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
- Verified errors are not related to permissions? YES
- Can duplicate in new/clean PowerShell session (clean =
powershell -NoProfile)? 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.
Metadata
Metadata
Assignees
Labels
No labels