Skip to content
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

[stabilization] Update auditd_data_retention_max_log_file_action_stig OVAL to accept expected values from RHEL9 STIG profile #9568

Conversation

Both rotate and single should be accepted.
@ggbecker ggbecker added bugfix Fixes to reported bugs. RHEL9 Red Hat Enterprise Linux 9 product related. STIG STIG Benchmark related. labels Sep 26, 2022
@ggbecker ggbecker added this to the 0.1.64 milestone Sep 26, 2022
@github-actions
Copy link

Start a new ephemeral environment with changes proposed in this pull request:

rhel8 (from CTF) Environment (using Fedora as testing environment)
Open in Gitpod

Fedora Testing Environment
Open in Gitpod

Oracle Linux 8 Environment
Open in Gitpod

@github-actions
Copy link

This datastream diff is auto generated by the check Compare DS/Generate Diff

Click here to see the full diff
OVAL for rule 'xccdf_org.ssgproject.content_rule_auditd_data_retention_max_log_file_action_stig' differs.
--- oval:ssg-auditd_data_retention_max_log_file_action_stig:def:1
+++ oval:ssg-auditd_data_retention_max_log_file_action_stig:def:1
@@ -1,3 +1,3 @@
 criteria OR
-criterion oval:ssg-test_auditd_data_retention_max_log_file_action_stig_syslog:tst:1
-criterion oval:ssg-test_auditd_data_retention_max_log_file_action_stig_keep_logs:tst:1
+criterion oval:ssg-test_auditd_data_retention_max_log_file_action_stig_rotate:tst:1
+criterion oval:ssg-test_auditd_data_retention_max_log_file_action_stig_single:tst:1

OCIL for rule 'xccdf_org.ssgproject.content_rule_auditd_data_retention_max_log_file_action_stig' differs.
--- ocil:ssg-auditd_data_retention_max_log_file_action_stig_ocil:questionnaire:1
+++ ocil:ssg-auditd_data_retention_max_log_file_action_stig_ocil:questionnaire:1
@@ -1,8 +1,9 @@
-Verify that the SA and ISSO (at a minimum) are notified when the audit storage volume is full.
+Verify Red Hat Enterprise Linux 8 takes the appropriate action when the audit files have reached maximum size.
 
-Check which action Red Hat Enterprise Linux 8 takes when the audit storage volume is full with the following command:
+Check that Red Hat Enterprise Linux 8 takes the appropriate action when the audit files have reached maximum size with the following command:
 
 $ sudo grep max_log_file_action /etc/audit/auditd.conf
+
 max_log_file_action = 
- Is it the case that the value of the "max_log_file_action" option is set to "ignore", "rotate", or "suspend", or the line is commented out?
+ Is it the case that the value of the "disk_full_action" option is not "ROTATE", "SINGLE", or the line is commented out, ask the system administrator to indicate how the system takes appropriate action when an audit storage volume is full. If there is no evidence of appropriate action?

@vojtapolasek vojtapolasek self-assigned this Sep 26, 2022
@Mab879 Mab879 added the OCIL OCIL update. Related to the systems assessments. label Sep 28, 2022
@Mab879 Mab879 assigned Mab879 and unassigned vojtapolasek Sep 28, 2022
@Mab879 Mab879 merged commit 0f72ad4 into ComplianceAsCode:stabilization-v0.1.64 Sep 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix Fixes to reported bugs. OCIL OCIL update. Related to the systems assessments. RHEL9 Red Hat Enterprise Linux 9 product related. STIG STIG Benchmark related.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants