Skip to content

Commit 3afab1f

Browse files
committed
Parametrize rule grub2_audit_backlog_limit_argument
For the purpose of aligning our profiles to RHEL 10 CIS Benchmark version v1.0.1 we need to make the rule grub2_audit_backlog_limit_argument paramatrizable by a variable because they benchmark says it should be set to an appropriate size for your organization. They still recommend 8192 or larger so we will set this a default value. Resolves: https://issues.redhat.com/browse/OPENSCAP-6111
1 parent ffbe113 commit 3afab1f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+73
-5
lines changed

controls/bsi_sys_1_1_rhel9.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,7 @@ controls:
196196
# Section 2 (start / reboot)
197197
- grub2_audit_argument
198198
- grub2_audit_backlog_limit_argument
199+
- var_audit_backlog_limit=8192
199200
# Section 3 (login)
200201
- audit_rules_session_events
201202
- audit_rules_login_events_faillock

controls/cis_al2023.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1622,6 +1622,7 @@ controls:
16221622
status: automated
16231623
rules:
16241624
- grub2_audit_backlog_limit_argument
1625+
- var_audit_backlog_limit=8192
16251626

16261627
- id: 5.2.1.4
16271628
title: Ensure auditd service is enabled (Automated)

controls/cis_almalinux9.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2458,6 +2458,7 @@ controls:
24582458
status: automated
24592459
rules:
24602460
- grub2_audit_backlog_limit_argument
2461+
- var_audit_backlog_limit=8192
24612462

24622463
- id: 6.3.1.4
24632464
title: Ensure auditd service is enabled and active (Automated)

controls/cis_debian12.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2515,6 +2515,7 @@ controls:
25152515
- l2_workstation
25162516
rules:
25172517
- grub2_audit_backlog_limit_argument
2518+
- var_audit_backlog_limit=8192
25182519
- zipl_audit_backlog_limit_argument
25192520
status: automated
25202521

controls/cis_fedora.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2624,6 +2624,7 @@ controls:
26242624
status: automated
26252625
rules:
26262626
- grub2_audit_backlog_limit_argument
2627+
- var_audit_backlog_limit=8192
26272628

26282629
- id: 6.3.1.4
26292630
title: Ensure auditd service is enabled and active (Automated)

controls/cis_rhel10.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2560,6 +2560,7 @@ controls:
25602560
status: automated
25612561
rules:
25622562
- grub2_audit_backlog_limit_argument
2563+
- var_audit_backlog_limit=8192
25632564

25642565
- id: 6.3.1.4
25652566
title: Ensure auditd service is enabled and active (Automated)

controls/cis_rhel8.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2356,6 +2356,7 @@ controls:
23562356
status: automated
23572357
rules:
23582358
- grub2_audit_backlog_limit_argument
2359+
- var_audit_backlog_limit=8192
23592360

23602361
- id: 5.2.1.4
23612362
title: Ensure auditd service is enabled (Automated)

controls/cis_rhel9.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2508,6 +2508,7 @@ controls:
25082508
status: automated
25092509
rules:
25102510
- grub2_audit_backlog_limit_argument
2511+
- var_audit_backlog_limit=8192
25112512

25122513
- id: 6.3.1.4
25132514
title: Ensure auditd service is enabled and active (Automated)

controls/cis_sle12.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1143,6 +1143,7 @@ controls:
11431143
Note that currently the value is hardcoded to 8192
11441144
rules:
11451145
- grub2_audit_backlog_limit_argument
1146+
- var_audit_backlog_limit=8192
11461147

11471148
- id: 4.1.3
11481149
title: Ensure events that modify date and time information are collected (Automated)

controls/cis_sle15.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1325,6 +1325,7 @@ controls:
13251325
Note, that currently the value is hardcoded to 8192
13261326
rules:
13271327
- grub2_audit_backlog_limit_argument
1328+
- var_audit_backlog_limit=8192
13281329

13291330
- id: 4.1.3
13301331
title: Ensure events that modify date and time information are collected (Automated)

0 commit comments

Comments
 (0)