Skip to content

Commit

Permalink
Merge pull request #12384 from Mab879/fix_directory_permissions_etc_i…
Browse files Browse the repository at this point in the history
…ptables

Change directory_permissions_etc_iptables to 700
  • Loading branch information
marcusburghardt authored Sep 18, 2024
2 parents 0529505 + 14177a6 commit 79137b3
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ documentation_complete: true

title: Verify Permissions On /etc/iptables Directory

description: '{{{ describe_file_permissions(file="/etc/iptables", perms="0600") }}}'
description: '{{{ describe_file_permissions(file="/etc/iptables", perms="0700") }}}'

rationale: |-
Setting correct permissions on the /etc/iptables directory is important
Expand All @@ -17,19 +17,19 @@ identifiers:
cce@rhel9: CCE-86436-3
cce@rhel10: CCE-86577-4

ocil_clause: '{{{ ocil_clause_file_permissions(file="/etc/iptables", perms="0600") }}}'
ocil_clause: '{{{ ocil_clause_file_permissions(file="/etc/iptables", perms="0700") }}}'

ocil: |-
{{{ ocil_file_permissions(file="/etc/iptables", perms="0600") }}}
{{{ ocil_file_permissions(file="/etc/iptables", perms="0700") }}}
platform: package[iptables]

fixtext: '{{{ fixtext_file_permissions(file="/etc/iptables", mode="0600") }}}'
fixtext: '{{{ fixtext_file_permissions(file="/etc/iptables", mode="0700") }}}'

srg_requirement: '{{{ srg_requirement_file_permission(file="/etc/iptables", mode="0600") }}}'
srg_requirement: '{{{ srg_requirement_file_permission(file="/etc/iptables", mode="0700") }}}'

template:
name: file_permissions
vars:
filepath: /etc/iptables/
filemode: '0600'
filemode: '0700'

0 comments on commit 79137b3

Please sign in to comment.