mirror of
https://github.com/ansible-lockdown/RHEL9-CIS.git
synced 2026-05-10 07:33:54 +00:00
Apply container guards and skips for CIS hardening
Signed-off-by: DayneD89 <dayned89@gmail.com>
This commit is contained in:
parent
c7ed4de9a8
commit
5ab951145c
10 changed files with 113 additions and 10 deletions
|
|
@ -1,7 +1,9 @@
|
|||
---
|
||||
|
||||
- name: "6.2.1.1 | PATCH | Ensure journald service is enabled and active"
|
||||
when: rhel9cis_rule_6_2_1_1
|
||||
when:
|
||||
- rhel9cis_rule_6_2_1_1
|
||||
- not system_is_container
|
||||
tags:
|
||||
- level1-server
|
||||
- level1-workstation
|
||||
|
|
@ -86,7 +88,9 @@
|
|||
- '^(\s*MaxFileSec\s*=.*)'
|
||||
|
||||
- name: "6.2.1.4 | PATCH | Ensure only one logging system is in use"
|
||||
when: rhel9cis_rule_6_2_1_4
|
||||
when:
|
||||
- rhel9cis_rule_6_2_1_4
|
||||
- not system_is_container
|
||||
tags:
|
||||
- level1-server
|
||||
- level1-workstation
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue