Skip to content

Commit 2568bef

Browse files
authored
Merge pull request #11177 from Mab879/add_timer_logrotate_enabled_stable
stabilization - Add timer_logrotate_enabled back to RHEL 7 and RHEL 8
2 parents afdd1e1 + be02534 commit 2568bef

File tree

5 files changed

+9
-1
lines changed

5 files changed

+9
-1
lines changed

linux_os/guide/system/logging/log_rotation/timer_logrotate_enabled/rule.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
documentation_complete: true
22

3-
prodtype: ol9,rhcos4,rhel9,sle12,sle15
3+
prodtype: ol9,rhcos4,rhel7,rhel8,rhel9,sle12,sle15
44

55
title: 'Enable logrotate Timer'
66

@@ -14,7 +14,11 @@ rationale: |-
1414
1515
severity: medium
1616

17+
{{% if 'rhel' in product %}}
18+
platform: package[logrotate] and os_linux[rhel]>=9
19+
{{% else %}}
1720
platform: package[logrotate]
21+
{{% endif %}}
1822

1923
identifiers:
2024
cce@rhel7: CCE-86156-7

products/rhel7/profiles/anssi_nt28_enhanced.profile

+1
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,4 @@ description: |-
1414
selections:
1515
- anssi:all:enhanced
1616
- '!selinux_state'
17+
- '!timer_logrotate_enabled'

products/rhel7/profiles/anssi_nt28_high.profile

+1
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,4 @@ description: |-
1313

1414
selections:
1515
- anssi:all:high
16+
- '!timer_logrotate_enabled'

products/rhel8/profiles/anssi_bp28_enhanced.profile

+1
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,4 @@ description: |-
1717

1818
selections:
1919
- anssi:all:enhanced
20+
- '!timer_logrotate_enabled'

products/rhel8/profiles/anssi_bp28_high.profile

+1
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,4 @@ selections:
1919
- anssi:all:high
2020
# the following rule renders UEFI systems unbootable
2121
- '!sebool_secure_mode_insmod'
22+
- '!timer_logrotate_enabled'

0 commit comments

Comments
 (0)