Skip to content

Fix WN22-AU-000330: correct when condition to check for failure auditing - #17

Open
andriy-bulynko wants to merge 1 commit into
ansible-lockdown:develfrom
andriy-bulynko:fix-V-254326
Open

Fix WN22-AU-000330: correct when condition to check for failure auditing#17
andriy-bulynko wants to merge 1 commit into
ansible-lockdown:develfrom
andriy-bulynko:fix-V-254326

Conversation

@andriy-bulynko

Copy link
Copy Markdown

Please ensure that you have understood contributing guide
Ensure all commits are signed-by and gpg signed

Overall Review of Changes:
Fix MEDIUM | WN22-AU-000330 | PATCH | Windows Server 2022 must be configured to audit System | IPsec Driver failures.

The when condition was checking for 'Success' not in the audit output, but the task configures /failure:enable. This caused failure auditing to be skipped incorrectly. The condition should check for 'Failure' not in to match the audit type being configured.

Issue Fixes:
Closes #16

Enhancements:
N/A

How has this been tested?:
Tested against Windows Server 2022 using the Microsoft Windows Server 2022 STIG SCAP Benchmark. After applying the fix, the corresponding rule passes audit.

Signed-off-by: Andriy Bulynko <andriy.bulynko@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug in: MEDIUM | WN22-AU-000330 | PATCH | Windows Server 2022 must be configured to audit System | IPsec Driver failures.

1 participant