-
Notifications
You must be signed in to change notification settings - Fork 684
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
4.2.3 Ensure permissions on all logfiles are configured (Scored) #5523
Comments
I've been taking a look at how to implement this logically, but this is a difficult control to implement cleanly. The suggested remediation logic by CIS involves running:
The logic behind which is that it will set restrictive permissions on all logfiles and all subdirectories of The problem with that approach is that the logic provided also matches The validation logic inside CIS CAT Assessor also matches I'm not entirely sure what is the right approach to implementation here, but I wanted to raise that issue while I'm thinking about it. |
@alexhaydock Very interesting point, would
From what I tested, this seemed to match the same set of files and dirs, except for |
I think this is a great solution to implement this control and match the wording of the benchmark. Thanks! It seems from the logic implemented in the CIS CAT Assessor tool that CIS might intend |
No description provided.
The text was updated successfully, but these errors were encountered: