Add new rule file_permissions_var_log_audit_stig#11966
Conversation
A new rule was created from the existing rule `file_permissions_var_log_audit` to comply with STIG for Ubuntu 22.04 which requires stricter permissions (0600) on audit logs compared to CIS (0640). The new rule was adapted to not only check and remediate the single log file (log_file in config or default if not present), but all the log files in the parent directory of the main log file.
|
Hi @mpurg. Thanks for your PR. I'm waiting for a ComplianceAsCode member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
|
This datastream diff is auto generated by the check Click here to see the full diffNew content has different text for rule 'xccdf_org.ssgproject.content_rule_file_permissions_var_log_audit'.
--- xccdf_org.ssgproject.content_rule_file_permissions_var_log_audit
+++ xccdf_org.ssgproject.content_rule_file_permissions_var_log_audit
@@ -340,9 +340,6 @@
SRG-APP-000118-CTR-000240
[reference]:
-UBTU-22-653045
-
-[reference]:
4.1.4.1
[reference]: |
|
🤖 A k8s content image for this PR is available at: Click here to see how to deploy itIf you alread have Compliance Operator deployed: Otherwise deploy the content and operator together by checking out ComplianceAsCode/compliance-operator and: |
|
Code Climate has analyzed commit 52e4559 and detected 0 issues on this pull request. The test coverage on the diff in this pull request is 100.0% (50% is the threshold). This pull request will bring the total coverage in the repository to 59.4% (0.0% change). View more on Code Climate. |
Description:
_stigwas created from the existing rulefile_permissions_var_log_auditto comply with STIG for Ubuntu 22.04 which requires stricter permissions (0600) on audit logs compared to CIS (0640).