Skip to content

Commit

Permalink
tighten up check
Browse files Browse the repository at this point in the history
Signed-off-by: Mark Bolwell <[email protected]>
  • Loading branch information
uk-bolly committed Jan 16, 2023
1 parent 47126b7 commit 1bfd0fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions section_5/cis_5.3/cis_5.3.7.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ file:
exists: true
contains:
{{ if eq .Vars.rhel8cis_sugroup "wheel" }}
- '/^auth.*required.*pam_wheel.so\suse_uid/'
- '/^auth\s+required\s+pam_wheel.so\suse_uid/'
{{ else }}
- '/^auth.*required.*pam_wheel.so\suse_uid$\sgroup={{ .Vars.rhel8cis_sugroup }}/'
- '/^auth\s+required\s+pam_wheel.so\suse_uid$\sgroup={{ .Vars.rhel8cis_sugroup }}/'
{{ end }}
meta:
server: 1
Expand Down

0 comments on commit 1bfd0fe

Please sign in to comment.