Skip to content

Commit

Permalink
Add /etc/shells rules to CIS control 6.1.9
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-cerny committed Jan 24, 2024
1 parent d1bae2b commit a2c8a2c
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 8 deletions.
7 changes: 5 additions & 2 deletions controls/cis_rhel7.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2383,8 +2383,11 @@ controls:
levels:
- l1_server
- l1_workstation
status: pending
# TODO: new rule needed
status: automated
rules:
- file_owner_etc_shells
- file_groupowner_etc_shells
- file_permissions_etc_shells

- id: 6.1.10
title: Ensure permissions on /etc/security/opasswd are configured (Automated)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
documentation_complete: true

prodtype: rhel8
prodtype: rhel7,rhel8

title: 'Verify Group Who Owns /etc/shells File'

Expand All @@ -14,9 +14,11 @@ rationale: |-
severity: medium

identifiers:
cce@rhel7: CCE-86624-4
cce@rhel8: CCE-87030-3

references:
cis@rhel7: 6.1.9
cis@rhel8: 6.1.10
nist: AC-3,MP-2

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
documentation_complete: true

prodtype: rhel8
prodtype: rhel7,rhel8

title: 'Verify Who Owns /etc/shells File'

Expand All @@ -14,9 +14,11 @@ rationale: |-
severity: medium

identifiers:
cce@rhel7: CCE-86622-8
cce@rhel8: CCE-87055-0

references:
cis@rhel7: 6.1.9
cis@rhel8: 6.1.10
nist: AC-3,MP-2

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
documentation_complete: true

prodtype: rhel8
prodtype: rhel7,rhel8

title: 'Verify Permissions on /etc/shells File'

Expand All @@ -14,9 +14,11 @@ rationale: |-
severity: medium

identifiers:
cce@rhel7: CCE-86626-9
cce@rhel8: CCE-86634-3

references:
cis@rhel7: 6.1.9
cis@rhel8: 6.1.10
nist: AC-3,MP-2

Expand Down
3 changes: 0 additions & 3 deletions shared/references/cce-redhat-avail.txt
Original file line number Diff line number Diff line change
Expand Up @@ -294,9 +294,6 @@ CCE-86610-3
CCE-86613-7
CCE-86619-4
CCE-86620-2
CCE-86622-8
CCE-86624-4
CCE-86626-9
CCE-86627-7
CCE-86628-5
CCE-86629-3
Expand Down

0 comments on commit a2c8a2c

Please sign in to comment.