mirror of
https://github.com/usnistgov/macos_security.git
synced 2026-02-03 14:03:24 +00:00
(dev_monterey) os_install_log_retention_policy and audit_flags_configure not remediating #256
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @jordanburnette on GitHub.
Summary
Running
os_install_log_retention_policyandaudit_flags_configurerules from compliance script not remediating properlySteps to reproduce
The checks seem to be working properly. For
audit_flags_configure, it returns0and foros_install_log_retention_policy, the check returnsNoOperating System version
macOS Monterey 12.1 (updating to 12.2.1 today)
What is the current bug behavior?
The problem is that since the fixes are not properly remediating the audit-point, the machine gets flagged as not meeting compliance and is tasked with continually running the fixes on each run.
What is the expected correct behavior?
The command to perform the fixes should complete properly so that the next scan returns the expected result values
Relevant logs and/or screenshots
audit_flags_configureos_install_log_retention_policyOutput of checks
audit_flags_configurereturns0os_install_log_retention_policyNoThis is likely due to the fixes not properly completing.
Possible fixes
Honestly not too sure. Not familiar with the commands that are being used for the fixes. Happy to test anything out as always!
@brodjieski commented on GitHub:
@jordanburnette I pushed some changes that should resolve the issues described here. When you get a chance, can you test to see if it fixes it for you?
Thanks!
@jordanburnette commented on GitHub:
Can confirm the pushed fixes are verified as working. Thanks, Dan!